| /freebsd/contrib/libfido2/src/ |
| H A D | info.c | 285 fido_cbor_info_t *ci = arg; in parse_reply_element() local 296 return (decode_string_array(val, &ci->versions)); in parse_reply_element() 298 return (decode_string_array(val, &ci->extensions)); in parse_reply_element() 300 return (decode_aaguid(val, ci->aaguid, sizeof(ci->aaguid))); in parse_reply_element() 302 return (decode_options(val, &ci->options)); in parse_reply_element() 304 return (cbor_decode_uint64(val, &ci->maxmsgsiz)); in parse_reply_element() 306 return (decode_protocols(val, &ci->protocols)); in parse_reply_element() 308 return (cbor_decode_uint64(val, &ci->maxcredcntlst)); in parse_reply_element() 310 return (cbor_decode_uint64(val, &ci->maxcredidlen)); in parse_reply_element() 312 return (decode_string_array(val, &ci->transports)); in parse_reply_element() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SimplifyLibCalls.h | 54 Value *optimizeCall(CallInst *CI, IRBuilderBase &B); 57 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B); 58 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B); 59 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B); 62 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 63 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 64 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B); 65 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B); 66 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B); 67 Value *optimizeSNPrintfChk(CallInst *CI, IRBuilderBase &B); [all …]
|
| /freebsd/contrib/libfido2/man/ |
| H A D | fido_cbor_info_new.3 | 74 .Fn fido_dev_get_cbor_info "fido_dev_t *dev" "fido_cbor_info_t *ci" 76 .Fn fido_cbor_info_aaguid_ptr "const fido_cbor_info_t *ci" 78 .Fn fido_cbor_info_extensions_ptr "const fido_cbor_info_t *ci" 80 .Fn fido_cbor_info_protocols_ptr "const fido_cbor_info_t *ci" 82 .Fn fido_cbor_info_transports_ptr "const fido_cbor_info_t *ci" 84 .Fn fido_cbor_info_versions_ptr "const fido_cbor_info_t *ci" 86 .Fn fido_cbor_info_options_name_ptr "const fido_cbor_info_t *ci" 88 .Fn fido_cbor_info_options_value_ptr "const fido_cbor_info_t *ci" 90 .Fn fido_cbor_info_algorithm_type "const fido_cbor_info_t *ci" "size_t idx" 92 .Fn fido_cbor_info_algorithm_cose "const fido_cbor_info_t *ci" "size_t idx" [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 121 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() argument 122 return any_of(CI->operands(), [](const Use &OI) { in callHasFloatingPointArgument() 127 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() argument 128 return any_of(CI->operands(), [](const Use &OI) { in callHasFP128Argument() 140 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr, in convertStrToInt() argument 173 Type *RetTy = CI->getType(); in convertStrToInt() 230 Value *StrBeg = CI->getArgOperand(0); in convertStrToInt() 254 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp() argument 256 if (!isOnlyUsedInComparisonWithZero(CI)) in canTransformToMemCmp() 262 if (CI->getFunction()->hasFnAttribute(Attribute::SanitizeMemory)) in canTransformToMemCmp() [all …]
|
| H A D | LibCallsShrinkWrap.cpp | 57 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() argument 60 for (auto &CI : WorkList) { in perform() local 61 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform() 63 if (perform(CI)) { in perform() 72 bool perform(CallInst *CI); 73 void checkCandidate(CallInst &CI); 74 void shrinkWrapCI(CallInst *CI, Value *Cond); 75 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func); 76 bool performCallErrors(CallInst *CI, const LibFunc &Func); 77 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func); [all …]
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | chip.c | 241 static void brcmf_chip_sb_corerev(struct brcmf_chip_priv *ci, in brcmf_chip_sb_corerev() argument 246 regdata = ci->ops->read32(ci->ctx, CORE_SB(core->base, sbidhigh)); in brcmf_chip_sb_corerev() 252 struct brcmf_chip_priv *ci; in brcmf_chip_sb_iscoreup() local 256 ci = core->chip; in brcmf_chip_sb_iscoreup() 258 regdata = ci->ops->read32(ci->ctx, address); in brcmf_chip_sb_iscoreup() 266 struct brcmf_chip_priv *ci; in brcmf_chip_ai_iscoreup() local 270 ci = core->chip; in brcmf_chip_ai_iscoreup() 271 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_iscoreup() 274 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_RESET_CTL); in brcmf_chip_ai_iscoreup() 283 struct brcmf_chip_priv *ci; in brcmf_chip_sb_coredisable() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 292 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule() local 293 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 294 CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule() 298 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer() argument 300 std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile); in CreateWrappedASTConsumer() 306 CI.getFrontendOpts().DumpMinimizationHintsPath; in CreateWrappedASTConsumer() 314 CI.getSourceManager(), std::move(FileStream))); in CreateWrappedASTConsumer() 325 for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) { in CreateWrappedASTConsumer() 333 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) << Arg; in CreateWrappedASTConsumer() 341 if (CI.hasCodeCompletionConsumer()) in CreateWrappedASTConsumer() [all …]
|
| H A D | FrontendActions.cpp | 42 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer() argument 43 return CI.hasCodeCompletionConsumer() ? &CI.getCodeCompletionConsumer() in GetCodeCompletionConsumer() 47 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated() argument 49 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in EnsureSemaIsCreated() 50 CI.createCodeCompletionConsumer(); in EnsureSemaIsCreated() 52 if (!CI.hasSema()) in EnsureSemaIsCreated() 53 CI.createSema(Action.getTranslationUnitKind(), in EnsureSemaIsCreated() 54 GetCodeCompletionConsumer(CI)); in EnsureSemaIsCreated() 63 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 86 ReadPCHAndPreprocessAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() argument [all …]
|
| H A D | ASTMerge.cpp | 20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 21 return AdaptedAction->CreateASTConsumer(CI, InFile); in CreateASTConsumer() 24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction() argument 29 AdaptedAction->setCompilerInstance(&CI); in BeginSourceFileAction() 30 return AdaptedAction->BeginSourceFileAction(CI); in BeginSourceFileAction() 34 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local 35 CI.getDiagnostics().getClient()->BeginSourceFile( in ExecuteAction() 36 CI.getASTContext().getLangOpts()); in ExecuteAction() 37 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument, in ExecuteAction() 38 &CI.getASTContext()); in ExecuteAction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 30 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() argument 35 Module *M = CI->getModule(); in ReplaceCallWith() 43 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); in ReplaceCallWith() 46 NewCI->setName(CI->getName()); in ReplaceCallWith() 47 if (!CI->use_empty()) in ReplaceCallWith() 48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith() 202 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, in ReplaceFPIntrinsicWithCall() argument 205 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall() 208 ReplaceCallWith(Fname, CI, CI->arg_begin(), CI->arg_end(), in ReplaceFPIntrinsicWithCall() 209 Type::getFloatTy(CI->getContext())); in ReplaceFPIntrinsicWithCall() [all …]
|
| /freebsd/lib/libc/iconv/ |
| H A D | citrus_iconv.c | 93 close_shared(struct _citrus_iconv_shared *ci) in close_shared() argument 96 if (ci) { in close_shared() 97 if (ci->ci_module) { in close_shared() 98 if (ci->ci_ops) { in close_shared() 99 if (ci->ci_closure) in close_shared() 100 (*ci->ci_ops->io_uninit_shared)(ci); in close_shared() 101 free(ci->ci_ops); in close_shared() 103 _citrus_unload_module(ci->ci_module); in close_shared() 105 free(ci); in close_shared() 114 struct _citrus_iconv_shared *ci; in open_shared() local [all …]
|
| /freebsd/contrib/lua/src/ |
| H A D | ldo.c | 163 CallInfo *ci; in relstack() local 169 for (ci = L->ci; ci != NULL; ci = ci->previous) { in relstack() 170 ci->top.offset = savestack(L, ci->top.p); in relstack() 171 ci->func.offset = savestack(L, ci->func.p); in relstack() 180 CallInfo *ci; in correctstack() local 186 for (ci = L->ci; ci != NULL; ci = ci->previous) { in correctstack() 187 ci->top.p = restorestack(L, ci->top.offset); in correctstack() 188 ci->func.p = restorestack(L, ci->func.offset); in correctstack() 189 if (isLua(ci)) in correctstack() 190 ci->u.l.trap = 1; /* signal to update 'trap' in 'luaV_execute' */ in correctstack() [all …]
|
| H A D | ldebug.c | 37 static const char *funcnamefromcall (lua_State *L, CallInfo *ci, 44 static int currentpc (CallInfo *ci) { in currentpc() argument 45 lua_assert(isLua(ci)); in currentpc() 46 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc() 101 static int getcurrentline (CallInfo *ci) { in getcurrentline() argument 102 return luaG_getfuncline(ci_func(ci)->p, currentpc(ci)); in getcurrentline() 109 ** assumptions. A new 'ci' is completely linked in the list before it 117 static void settraps (CallInfo *ci) { in settraps() argument 118 for (; ci != NULL; ci = ci->previous) in settraps() 119 if (isLua(ci)) in settraps() [all …]
|
| H A D | lstate.c | 106 CallInfo *ci; in luaE_extendCI() local 107 lua_assert(L->ci->next == NULL); in luaE_extendCI() 108 ci = luaM_new(L, CallInfo); in luaE_extendCI() 109 lua_assert(L->ci->next == NULL); in luaE_extendCI() 110 L->ci->next = ci; in luaE_extendCI() 111 ci->previous = L->ci; in luaE_extendCI() 112 ci->next = NULL; in luaE_extendCI() 113 ci->u.l.trap = 0; in luaE_extendCI() 115 return ci; in luaE_extendCI() 123 CallInfo *ci = L->ci; in freeCI() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SILoadStoreOptimizer.cpp | 126 bool hasSameBaseAddress(const CombineInfo &CI) { in hasSameBaseAddress() 127 if (NumAddresses != CI.NumAddresses) in hasSameBaseAddress() 130 const MachineInstr &MI = *CI.I; in hasSameBaseAddress() 213 static bool dmasksCanBeCombined(const CombineInfo &CI, 216 static bool offsetsCanBeCombined(CombineInfo &CI, const GCNSubtarget &STI, 218 static bool widthsFit(const GCNSubtarget &STI, const CombineInfo &CI, 220 unsigned getNewOpcode(const CombineInfo &CI, const CombineInfo &Paired); 221 static std::pair<unsigned, unsigned> getSubRegIdxs(const CombineInfo &CI, 224 getTargetRegisterClass(const CombineInfo &CI, 228 CombineInfo *checkAndPrepareMerge(CombineInfo &CI, CombineInfo &Paired); [all …]
|
| /freebsd/sys/contrib/openzfs/module/lua/ |
| H A D | ldo.c | 227 CallInfo *ci; in correctstack() local 232 for (ci = L->ci; ci != NULL; ci = ci->previous) { in correctstack() 233 ci->top = (ci->top - oldstack) + L->stack; in correctstack() 234 ci->func = (ci->func - oldstack) + L->stack; in correctstack() 235 if (isLua(ci)) in correctstack() 236 ci->u.l.base = (ci->u.l.base - oldstack) + L->stack; in correctstack() 279 CallInfo *ci; in stackinuse() local 281 for (ci = L->ci; ci != NULL; ci = ci->previous) { in stackinuse() 282 lua_assert(ci->top <= L->stack_last); in stackinuse() 283 if (lim < ci->top) lim = ci->top; in stackinuse() [all …]
|
| H A D | ldebug.c | 32 static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); 35 static int currentpc (CallInfo *ci) { in currentpc() argument 36 lua_assert(isLua(ci)); in currentpc() 37 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc() 41 static int currentline (CallInfo *ci) { in currentline() argument 42 return getfuncline(ci_func(ci)->p, currentpc(ci)); in currentline() 48 CallInfo *ci = L->ci; /* get function that yielded */ in swapextra() local 49 StkId temp = ci->func; /* exchange its 'func' and 'extra' values */ in swapextra() 50 ci->func = restorestack(L, ci->extra); in swapextra() 51 ci->extra = savestack(L, temp); in swapextra() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 40 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 42 CI.createDefaultOutputFile(false, InFile)) in CreateASTConsumer() 43 return CreateHTMLPrinter(std::move(OS), CI.getPreprocessor()); in CreateASTConsumer() 51 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 95 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction() argument 104 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction() 105 CI.getLangOpts(), FixItOpts.get())); in BeginSourceFileAction() 114 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument 119 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation() 121 if (FixAction->BeginSourceFile(CI, FEOpts.Inputs[0])) { in BeginInvocation() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 1840 static Value *upgradeX86VPERMT2Intrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86VPERMT2Intrinsics() argument 1842 Type *Ty = CI.getType(); in upgradeX86VPERMT2Intrinsics() 1886 Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1), in upgradeX86VPERMT2Intrinsics() 1887 CI.getArgOperand(2) }; in upgradeX86VPERMT2Intrinsics() 1895 : Builder.CreateBitCast(CI.getArgOperand(1), in upgradeX86VPERMT2Intrinsics() 1897 return emitX86Select(Builder, CI.getArgOperand(3), V, PassThru); in upgradeX86VPERMT2Intrinsics() 1900 static Value *upgradeX86BinaryIntrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86BinaryIntrinsics() argument 1902 Type *Ty = CI.getType(); in upgradeX86BinaryIntrinsics() 1903 Value *Op0 = CI.getOperand(0); in upgradeX86BinaryIntrinsics() 1904 Value *Op1 = CI.getOperand(1); in upgradeX86BinaryIntrinsics() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 59 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() argument 62 assert(CI.hasFileManager() && in getRelativeIncludeName() 66 const auto &FS = CI.getVirtualFileSystem(); in getRelativeIncludeName() 124 for (const auto &Entry : CI.getHeaderSearchOpts().UserEntries) { in getRelativeIncludeName() 129 if (auto EntryFile = CI.getFileManager().getOptionalFileRef(Entry.Path)) { in getRelativeIncludeName() 130 if (auto HMap = HeaderMap::Create(*EntryFile, CI.getFileManager())) { in getRelativeIncludeName() 171 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() argument 174 return getRelativeIncludeName(CI, FE.getNameAsRequested(), IsQuoted); in getRelativeIncludeName() 181 auto &SM = CI.getSourceManager(); in operator ()() 199 if (auto IncludeName = getRelativeIncludeName(CI, *File, &IsQuoted)) in operator ()() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 73 static bool optimizeCallInst(CallInst *CI, bool &ModifiedDT, 146 CallInst *CI, DomTreeUpdater *DTU, in scalarizeMaskedLoad() argument 148 Value *Ptr = CI->getArgOperand(0); in scalarizeMaskedLoad() 149 Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedLoad() 150 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad() 151 Value *Src0 = CI->getArgOperand(3); in scalarizeMaskedLoad() 154 VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad() 158 IRBuilder<> Builder(CI->getContext()); in scalarizeMaskedLoad() 159 Instruction *InsertPt = CI; in scalarizeMaskedLoad() 160 BasicBlock *IfBlock = CI->getParent(); in scalarizeMaskedLoad() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILOpLowering.cpp | 54 llvm::function_ref<Error(CallInst *CI)> ReplaceCall) { in replaceFunction() 56 CallInst *CI = dyn_cast<CallInst>(U); in replaceFunction() local 57 if (!CI) in replaceFunction() 60 if (Error E = ReplaceCall(CI)) { in replaceFunction() 63 *CI->getFunction(), Message, CI->getDebugLoc())); in replaceFunction() 109 return replaceFunction(F, [&](CallInst *CI) -> Error { in replaceFunctionWithOp() argument 110 OpBuilder.getIRB().SetInsertPoint(CI); in replaceFunctionWithOp() 116 Args.push_back(CI->getArgOperand(A.Value)); in replaceFunctionWithOp() 127 Args.append(CI->arg_begin(), CI->arg_end()); in replaceFunctionWithOp() 131 OpBuilder.tryCreateOp(DXILOp, Args, CI->getName(), F.getReturnType()); in replaceFunctionWithOp() [all …]
|
| /freebsd/contrib/libfido2/examples/ |
| H A D | info.c | 130 print_algorithms(const fido_cbor_info_t *ci) in print_algorithms() argument 135 if ((len = fido_cbor_info_algorithm_count(ci)) == 0) in print_algorithms() 142 switch (fido_cbor_info_algorithm_cose(ci, i)) { in print_algorithms() 156 if (fido_cbor_info_algorithm_type(ci, i) != NULL) in print_algorithms() 157 type = fido_cbor_info_algorithm_type(ci, i); in print_algorithms() 283 fido_cbor_info_t *ci; in getinfo() local 297 if ((ci = fido_cbor_info_new()) == NULL) in getinfo() 299 if ((r = fido_dev_get_cbor_info(dev, ci)) != FIDO_OK) in getinfo() 303 print_str_array("version", fido_cbor_info_versions_ptr(ci), in getinfo() 304 fido_cbor_info_versions_len(ci)); in getinfo() [all …]
|
| /freebsd/tests/ci/ |
| H A D | Makefile | 8 # Makefile for CI testing. 11 # ci: Run CI tests 12 # ci-smoke: Run smoke tests which is simply booting the image 13 # ci-full: Run full tests 71 .if exists(${.CURDIR}/tools/ci.conf) && !defined(CICONF) 72 CICONF?= ${.CURDIR}/tools/ci.conf 77 CIIMAGE= ci-${OSRELEASE}-${GITREV}-${KERNCONF}.${FORMAT} 85 ENV_FILE= ${META_DIR}/ci-${OSRELEASE}-${GITREV}-${KERNCONF}.env 96 TEST_VM_NAME= ci-${OSRELEASE}-${GITREV}-${KERNCONF} 143 CLEANFILES+= ${.OBJDIR}/${CIIMAGE} ${.OBJDIR}/ci.img ${META_TAR} [all …]
|
| /freebsd/contrib/llvm-project/lldb/bindings/interface/ |
| H A D | SBCommandInterpreterDocstrings.i | 17 ci = self.dbg.GetCommandInterpreter() 18 self.assertTrue(ci, VALID_COMMAND_INTERPRETER) 22 self.assertTrue(ci.HasCommands()) 23 self.assertTrue(ci.HasAliases()) 24 self.assertTrue(ci.HasAliasOptions()) 25 self.assertTrue(ci.CommandExists('breakpoint')) 26 self.assertTrue(ci.CommandExists('target')) 27 self.assertTrue(ci.CommandExists('platform')) 28 self.assertTrue(ci.AliasExists('file')) 29 self.assertTrue(ci.AliasExists('run')) [all …]
|