| /freebsd/sys/netinet/ |
| H A D | tcp_lro.c | 83 static void tcp_lro_rx_done(struct lro_ctrl *lc); 84 static int tcp_lro_rx_common(struct lro_ctrl *lc, struct mbuf *m, 86 static void tcp_lro_flush(struct lro_ctrl *lc, struct lro_entry *le); 92 int (*tcp_lro_flush_tcphpts)(struct lro_ctrl *lc, struct lro_entry *le); 151 tcp_lro_active_insert(struct lro_ctrl *lc, struct lro_head *bucket, in tcp_lro_active_insert() argument 155 LIST_INSERT_HEAD(&lc->lro_active, le, next); in tcp_lro_active_insert() 168 tcp_lro_init(struct lro_ctrl *lc) in tcp_lro_init() argument 170 return (tcp_lro_init_args(lc, NULL, tcp_lro_entries, 0)); in tcp_lro_init() 174 tcp_lro_init_args(struct lro_ctrl *lc, struct ifnet *ifp, in tcp_lro_init_args() argument 181 lc->lro_bad_csum = 0; in tcp_lro_init_args() [all …]
|
| H A D | tcp_lro_hpts.c | 158 tcp_lro_log(struct tcpcb *tp, const struct lro_ctrl *lc, in tcp_lro_log() argument 193 bintime2timeval(&lc->lro_last_queue_time, &btv); in tcp_lro_log() 209 tcp_lro_get_last_if_ackcmp(struct lro_ctrl *lc, struct lro_entry *le, in tcp_lro_get_last_if_ackcmp() argument 220 tcp_lro_log(tp, lc, le, NULL, 23, 0, 0, 0, 0); in tcp_lro_get_last_if_ackcmp() 233 tcp_lro_log(tp, lc, le, NULL, 21, 0, 0, 0, 0); in tcp_lro_get_last_if_ackcmp() 245 m->m_pkthdr.rcvif = lc->ifp; in tcp_lro_get_last_if_ackcmp() 256 do_bpf_strip_and_compress(struct tcpcb *tp, struct lro_ctrl *lc, in do_bpf_strip_and_compress() argument 283 ETHER_BPF_MTAP(lc->ifp, m); in do_bpf_strip_and_compress() 297 IP_PROBE(receive, NULL, NULL, le->outer.ip4, lc->ifp, in do_bpf_strip_and_compress() 303 IP_PROBE(receive, NULL, NULL, le->outer.ip6, lc->ifp, in do_bpf_strip_and_compress() [all …]
|
| /freebsd/crypto/openssl/providers/implementations/include/prov/ |
| H A D | ciphercommon_aead.h | 18 # define IMPLEMENT_aead_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument 19 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lc##_get_params; \ 20 static int alg##_##kbits##_##lc##_get_params(OSSL_PARAM params[]) \ 25 static OSSL_FUNC_cipher_newctx_fn alg##kbits##lc##_newctx; \ 26 static void * alg##kbits##lc##_newctx(void *provctx) \ 28 return alg##_##lc##_newctx(provctx, kbits); \ 30 static void * alg##kbits##lc##_dupctx(void *src) \ 32 return alg##_##lc##_dupctx(src); \ 34 const OSSL_DISPATCH ossl_##alg##kbits##lc##_functions[] = { \ 35 { OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))alg##kbits##lc##_newctx }, \ [all …]
|
| /freebsd/sys/kern/ |
| H A D | kern_loginclass.c | 72 loginclass_hold(struct loginclass *lc) in loginclass_hold() argument 75 refcount_acquire(&lc->lc_refcount); in loginclass_hold() 79 loginclass_free(struct loginclass *lc) in loginclass_free() argument 82 if (refcount_release_if_not_last(&lc->lc_refcount)) in loginclass_free() 86 if (!refcount_release(&lc->lc_refcount)) { in loginclass_free() 91 racct_destroy(&lc->lc_racct); in loginclass_free() 92 LIST_REMOVE(lc, lc_next); in loginclass_free() 95 free(lc, M_LOGINCLASS); in loginclass_free() 106 struct loginclass *lc; in loginclass_lookup() local 109 LIST_FOREACH(lc, &loginclasses, lc_next) in loginclass_lookup() [all …]
|
| H A D | kern_ctf.c | 44 link_elf_ctf_get(linker_file_t lf, linker_ctf_t *lc) in link_elf_ctf_get() argument 63 if (lf == NULL || lc == NULL) in link_elf_ctf_get() 67 bzero(lc, sizeof(*lc)); in link_elf_ctf_get() 81 lc->ctftab = ef->ctftab; in link_elf_ctf_get() 82 lc->ctfcnt = ef->ctfcnt; in link_elf_ctf_get() 83 lc->symtab = ef->ddbsymtab; in link_elf_ctf_get() 84 lc->strtab = ef->ddbstrtab; in link_elf_ctf_get() 85 lc->strcnt = ef->ddbstrcnt; in link_elf_ctf_get() 86 lc->nsym = ef->ddbsymcnt; in link_elf_ctf_get() 87 lc->ctfoffp = (uint32_t **) &ef->ctfoff; in link_elf_ctf_get() [all …]
|
| /freebsd/lib/libutil/ |
| H A D | login_class.c | 74 setclassresources(login_cap_t *lc) in setclassresources() argument 78 if (lc == NULL) in setclassresources() 107 rcur = (*lr->who)(lc, lr->what, rcur, rcur); in setclassresources() 108 rmax = (*lr->who)(lc, lr->what, rmax, rmax); in setclassresources() 109 rlim.rlim_cur = (*lr->who)(lc, name_cur, rcur, rcur); in setclassresources() 110 rlim.rlim_max = (*lr->who)(lc, name_max, rmax, rmax); in setclassresources() 113 syslog(LOG_WARNING, "set class '%s' resource limit %s: %m", lc->lc_class, lr->what); in setclassresources() 197 setclassenvironment(login_cap_t *lc, const struct passwd * pwd, int paths) in setclassenvironment() argument 208 const char * var = paths ? login_getpath(lc, vars->tag, NULL) in setclassenvironment() 209 : login_getcapstr(lc, vars->tag, NULL, NULL); in setclassenvironment() [all …]
|
| H A D | login_cap.c | 255 login_close(login_cap_t * lc) in login_close() argument 257 if (lc) { in login_close() 258 free(lc->lc_style); in login_close() 259 free(lc->lc_class); in login_close() 260 free(lc->lc_cap); in login_close() 261 free(lc); in login_close() 293 login_cap_t *lc; in login_getclassbyname() local 295 if ((lc = calloc(1, sizeof(login_cap_t))) != NULL) { in login_getclassbyname() 335 switch (cgetent(&lc->lc_cap, login_dbarray, name)) { in login_getclassbyname() 353 if (cgetent(&lc->lc_cap, login_dbarray, name) != 0 && r >= 0) in login_getclassbyname() [all …]
|
| H A D | login_ok.c | 88 login_timelist(login_cap_t *lc, char const *cap, int *ltno, in login_timelist() argument 95 if ((tl = login_getcaplist(lc, cap, NULL)) != NULL) { in login_timelist() 125 login_ttyok(login_cap_t *lc, const char *tty, const char *allowcap, in login_ttyok() argument 130 if (lc != NULL && tty != NULL && *tty != '\0') { in login_ttyok() 137 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok() 143 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok() 160 auth_ttyok(login_cap_t *lc, const char * tty) in auth_ttyok() argument 162 return login_ttyok(lc, tty, "ttys.allow", "ttys.deny"); in auth_ttyok() 174 login_hostok(login_cap_t *lc, const char *host, const char *ip, in login_hostok() argument 179 if (lc != NULL && in login_hostok() [all …]
|
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_siv.c | 244 #define IMPLEMENT_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument 245 static OSSL_FUNC_cipher_newctx_fn alg##kbits##lc##_newctx; \ 246 static OSSL_FUNC_cipher_freectx_fn alg##_##lc##_freectx; \ 247 static OSSL_FUNC_cipher_dupctx_fn lc##_dupctx; \ 248 static OSSL_FUNC_cipher_encrypt_init_fn lc##_einit; \ 249 static OSSL_FUNC_cipher_decrypt_init_fn lc##_dinit; \ 250 static OSSL_FUNC_cipher_update_fn lc##_stream_update; \ 251 static OSSL_FUNC_cipher_final_fn lc##_stream_final; \ 252 static OSSL_FUNC_cipher_cipher_fn lc##_cipher; \ 253 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lc##_get_params; \ [all …]
|
| H A D | cipher_aes_gcm_siv.c | 273 #define IMPLEMENT_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) … argument 274 static OSSL_FUNC_cipher_newctx_fn ossl_##alg##kbits##_##lc##_newctx; … 275 static OSSL_FUNC_cipher_freectx_fn ossl_##alg##_##lc##_freectx; … 276 static OSSL_FUNC_cipher_dupctx_fn ossl_##alg##_##lc##_dupctx; … 277 static OSSL_FUNC_cipher_encrypt_init_fn ossl_##alg##_##lc##_einit; … 278 static OSSL_FUNC_cipher_decrypt_init_fn ossl_##alg##_##lc##_dinit; … 279 static OSSL_FUNC_cipher_update_fn ossl_##alg##_##lc##_stream_update; … 280 static OSSL_FUNC_cipher_final_fn ossl_##alg##_##lc##_stream_final; … 281 static OSSL_FUNC_cipher_cipher_fn ossl_##alg##_##lc##_cipher; … 282 static OSSL_FUNC_cipher_get_params_fn ossl_##alg##_##kbits##_##lc##_get_params; … [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 33 using LoadCommandPred = std::function<bool(const LoadCommand &LC)>; 36 static bool isLoadCommandWithPayloadString(const LoadCommand &LC) { in isLoadCommandWithPayloadString() argument 39 return LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_RPATH || in isLoadCommandWithPayloadString() 40 LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_ID_DYLIB || in isLoadCommandWithPayloadString() 41 LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_LOAD_DYLIB || in isLoadCommandWithPayloadString() 42 LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_LOAD_WEAK_DYLIB; in isLoadCommandWithPayloadString() 46 static StringRef getPayloadString(const LoadCommand &LC) { in getPayloadString() argument 47 assert(isLoadCommandWithPayloadString(LC) && in getPayloadString() 50 return StringRef(reinterpret_cast<const char *>(LC.Payload.data()), in getPayloadString() 51 LC in getPayloadString() 129 updateLoadCommandPayloadString(LoadCommand & LC,StringRef S) updateLoadCommandPayloadString() argument 141 LoadCommand LC; buildRPathLoadCommand() local 158 __anonb641b5aa0602(const LoadCommand &LC) processLoadCommands() argument 266 __anonb641b5aa0702(const LoadCommand &LC) processLoadCommands() argument 337 __anonb641b5aa0802(const LoadCommand &LC) findSection() argument [all...] |
| H A D | MachOObject.cpp | 45 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes() 46 switch (LC.MachOLoadCommand.load_command_data.cmd) { in updateLoadCommandIndexes() 51 if (StringRef(LC.MachOLoadCommand.segment_command_data.segname) == in updateLoadCommandIndexes() 56 if (StringRef(LC.MachOLoadCommand.segment_command_64_data.segname) == in updateLoadCommandIndexes() 96 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() 107 for (LoadCommand &LC : LoadCommands) { in removeSections() 109 std::begin(LC.Sections), std::end(LC.Sections), in removeSections() 111 for (auto I = LC in removeSections() 44 LoadCommand &LC = LoadCommands[Index]; updateLoadCommandIndexes() local 95 __anonf7f9acab0102(const LoadCommand &LC) removeLoadCommands() argument 127 for (const LoadCommand &LC : LoadCommands) removeSections() local 149 for (const LoadCommand &LC : LoadCommands) { nextAvailableSegmentAddress() local 185 LoadCommand LC; addSegment() local [all...] |
| H A D | MachOReader.cpp | 123 LoadCommand LC; in readLoadCommands() 140 LC.Sections = std::move(*Sections); in readLoadCommands() 156 LC.Sections = std::move(*Sections); in readLoadCommands() 191 memcpy((void *)&(LC.MachOLoadCommand.LCStruct##_data), LoadCmd.Ptr, \ in readLoadCommands() 194 MachO::swapStruct(LC.MachOLoadCommand.LCStruct##_data); \ in readLoadCommands() 196 LC.Payload = ArrayRef<uint8_t>( \ in readLoadCommands() 204 memcpy((void *)&(LC.MachOLoadCommand.load_command_data), LoadCmd.Ptr, in readLoadCommands() 207 MachO::swapStruct(LC.MachOLoadCommand.load_command_data); in readLoadCommands() 209 LC.Payload = ArrayRef<uint8_t>( in readLoadCommands() 216 O.LoadCommands.push_back(std::move(LC)); in readLoadCommands() 121 LoadCommand LC; readLoadCommands() local 248 for (auto &LC : O.LoadCommands) setSymbolInRelocationInfo() local 298 const MachO::linkedit_data_command &LC = readLinkData() local 349 for (const LoadCommand &LC : O.LoadCommands) readSwiftVersion() local [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOEmitter.cpp | 126 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, in writeLoadCommandData() 132 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 136 for (const auto &Sec : LC.Sections) { in writeLoadCommandData() 149 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() 151 for (const auto &Sec : LC.Sections) { in writeLoadCommandData() 163 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString() 165 if (!LC.Content.empty()) { in writePayloadString() 166 OS.write(LC.Content.c_str(), LC.Content.length()); in writePayloadString() 167 BytesWritten = LC in writePayloadString() 125 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 131 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 148 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 162 writePayloadString(MachOYAML::LoadCommand & LC,raw_ostream & OS) writePayloadString() argument 172 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 179 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 186 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 194 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 200 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 206 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 212 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 218 writeLoadCommandData(MachOYAML::LoadCommand & LC,raw_ostream & OS,bool IsLittleEndian) writeLoadCommandData() argument 248 for (auto &LC : Obj.LoadCommands) { writeLoadCommands() local 298 for (auto &LC : Obj.LoadCommands) { writeSectionData() local 404 for (const MachOYAML::LoadCommand &LC : Obj.LoadCommands) { writeRelocations() local 501 for (auto &LC : Obj.LoadCommands) { writeLinkEditData() local 703 writeFatArch(MachOYAML::FatArch & LC,raw_ostream & OS) writeFatArch() argument [all...] |
| /freebsd/lib/libc/stdlib/ |
| H A D | strfmon.c | 110 struct lconv *lc; /* pointer to lconv structure */ in vstrfmon_l() local 133 lc = localeconv_l(loc); in vstrfmon_l() 243 currency_symbol = strdup(lc->int_curr_symbol); in vstrfmon_l() 250 currency_symbol = strdup(lc->currency_symbol); in vstrfmon_l() 267 currency_symbol, lc) - in vstrfmon_l() 268 __calc_left_pad(flags, currency_symbol, lc); in vstrfmon_l() 276 right_prec, pad_char, lc, loc); in vstrfmon_l() 285 &signstr, lc); in vstrfmon_l() 426 char **signstr, struct lconv *lc) in __setup_vars() argument 429 *cs_precedes = lc->int_n_cs_precedes; in __setup_vars() [all …]
|
| /freebsd/sys/contrib/ck/include/ |
| H A D | ck_rwcohort.h | 45 #define CK_RWCOHORT_WP_READ_LOCK(N, RW, C, GC, LC) \ argument 46 ck_rwcohort_wp_##N##_read_lock(RW, C, GC, LC) 47 #define CK_RWCOHORT_WP_READ_UNLOCK(N, RW, C, GC, LC) \ argument 49 #define CK_RWCOHORT_WP_WRITE_LOCK(N, RW, C, GC, LC) \ argument 50 ck_rwcohort_wp_##N##_write_lock(RW, C, GC, LC) 51 #define CK_RWCOHORT_WP_WRITE_UNLOCK(N, RW, C, GC, LC) \ argument 52 ck_rwcohort_wp_##N##_write_unlock(RW, C, GC, LC) 149 #define CK_RWCOHORT_RP_READ_LOCK(N, RW, C, GC, LC) \ argument 150 ck_rwcohort_rp_##N##_read_lock(RW, C, GC, LC) 151 #define CK_RWCOHORT_RP_READ_UNLOCK(N, RW, C, GC, LC) \ argument [all …]
|
| /freebsd/sys/cddl/dev/fbt/ |
| H A D | fbt.c | 364 fbt_ctfoff_init(modctl_t *lf, linker_ctf_t *lc) in fbt_ctfoff_init() argument 366 const Elf_Sym *symp = lc->symtab; in fbt_ctfoff_init() 367 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; in fbt_ctfoff_init() 368 const uint8_t *ctfdata = lc->ctftab + sizeof(ctf_header_t); in fbt_ctfoff_init() 382 if (lc->symtab == NULL) { in fbt_ctfoff_init() 387 ctfoff = malloc(sizeof(uint32_t) * lc->nsym, M_LINKER, M_WAITOK); in fbt_ctfoff_init() 388 *lc->ctfoffp = ctfoff; in fbt_ctfoff_init() 392 for (i = 0; i < lc->nsym; i++, ctfoff++, symp++) { in fbt_ctfoff_init() 543 fbt_typoff_init(linker_ctf_t *lc) in fbt_typoff_init() argument 545 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; in fbt_typoff_init() [all …]
|
| /freebsd/sys/ddb/ |
| H A D | db_ctf.c | 41 db_ctf_fetch_cth(linker_ctf_t *lc) in db_ctf_fetch_cth() argument 43 return (const ctf_header_t *)lc->ctftab; in db_ctf_fetch_cth() 51 sym_to_objtoff(linker_ctf_t *lc, const Elf_Sym *sym, const Elf_Sym *symtab, in sym_to_objtoff() argument 54 const ctf_header_t *hp = db_ctf_fetch_cth(lc); in sym_to_objtoff() 153 db_ctf_typename_to_type(linker_ctf_t *lc, const char *name) in db_ctf_typename_to_type() argument 155 const ctf_header_t *hp = db_ctf_fetch_cth(lc); in db_ctf_typename_to_type() 205 db_ctf_lookup_typename(linker_ctf_t *lc, const char *typename) in db_ctf_lookup_typename() argument 207 return (db_ctf_typename_to_type(lc, typename) != NULL); in db_ctf_lookup_typename() 217 const ctf_header_t *hp = db_ctf_fetch_cth(&sd->lc); in db_ctf_typeid_to_type() 252 const ctf_header_t *hp = db_ctf_fetch_cth(&sd->lc); in db_ctf_stroff_to_str() [all …]
|
| /freebsd/usr.bin/env/ |
| H A D | env.c | 66 login_cap_t *lc; in main() local 77 lc = NULL; in main() 154 lc = login_getclass(login_class); in main() 155 if (lc == NULL) in main() 159 lc = login_getpwclass(pw); in main() 160 if (lc == NULL) in main() 168 setclassenvironment(lc, pw, 1); in main() 169 setclassenvironment(lc, pw, 0); in main() 171 login_close(lc); in main() 172 if ((lc = login_getuserclass(pw)) != NULL) { in main() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 45 auto *LC = dyn_cast<Constant>(LHS); in FoldBinOp() local 47 if (LC && RC) { in FoldBinOp() 49 return ConstantExpr::get(Opc, LC, RC); in FoldBinOp() 50 return ConstantFoldBinaryInstruction(Opc, LC, RC); in FoldBinOp() 57 auto *LC = dyn_cast<Constant>(LHS); in FoldExactBinOp() local 59 if (LC && RC) { in FoldExactBinOp() 61 return ConstantExpr::get(Opc, LC, RC, in FoldExactBinOp() 63 return ConstantFoldBinaryInstruction(Opc, LC, RC); in FoldExactBinOp() 70 auto *LC = dyn_cast<Constant>(LHS); in FoldNoWrapBinOp() local 72 if (LC && RC) { in FoldNoWrapBinOp() [all …]
|
| /freebsd/lib/libpam/modules/pam_unix/ |
| H A D | pam_unix.c | 90 login_cap_t *lc; in pam_sm_authenticate() local 126 lc = login_getpwclass(pwd); in pam_sm_authenticate() 130 lc = login_getclass(NULL); in pam_sm_authenticate() 132 prompt = login_getcapstr(lc, "passwd_prompt", NULL, NULL); in pam_sm_authenticate() 134 login_close(lc); in pam_sm_authenticate() 167 login_cap_t *lc; in pam_sm_acct_mgmt() local 198 lc = login_getpwclass(pwd); in pam_sm_acct_mgmt() 199 if (lc == NULL) { in pam_sm_acct_mgmt() 215 warntime = login_getcaptime(lc, "warnexpire", in pam_sm_acct_mgmt() 218 login_close(lc); in pam_sm_acct_mgmt() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 56 auto *LC = dyn_cast<Constant>(LHS); in FoldBinOp() local 58 if (LC && RC) { in FoldBinOp() 60 return Fold(ConstantExpr::get(Opc, LC, RC)); in FoldBinOp() 61 return ConstantFoldBinaryOpOperands(Opc, LC, RC, DL); in FoldBinOp() 68 auto *LC = dyn_cast<Constant>(LHS); in FoldExactBinOp() local 70 if (LC && RC) { in FoldExactBinOp() 73 Opc, LC, RC, IsExact ? PossiblyExactOperator::IsExact : 0)); in FoldExactBinOp() 74 return ConstantFoldBinaryOpOperands(Opc, LC, RC, DL); in FoldExactBinOp() 81 auto *LC = dyn_cast<Constant>(LHS); in FoldNoWrapBinOp() local 83 if (LC && RC) { in FoldNoWrapBinOp() [all …]
|
| /freebsd/lib/libc/tests/stdlib/ |
| H A D | strfmon_test.c | 39 struct lconv *lc; in ATF_TC_BODY() local 45 lc = localeconv(); in ATF_TC_BODY() 47 ts = lc->mon_thousands_sep; in ATF_TC_BODY() 49 ts = lc->thousands_sep; in ATF_TC_BODY() 119 struct lconv *lc; in ATF_TC_BODY() local 125 lc = localeconv(); in ATF_TC_BODY() 126 lc->n_cs_precedes = 0; in ATF_TC_BODY() 130 lc->n_sep_by_space = i; in ATF_TC_BODY() 133 lc->n_sign_posn = j; in ATF_TC_BODY() 162 struct lconv *lc; in ATF_TC_BODY() local [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 252 const char *lc = layout_data->current_load_cmd_addr; in NextSegmentLoad() local 254 layout_data->current_load_cmd_addr += ((const load_command *)lc)->cmdsize; in NextSegmentLoad() 256 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad() 257 const SegmentCommand* sc = (const SegmentCommand *)lc; in NextSegmentLoad() 281 (const char *)lc + sizeof(SegmentCommand); in NextSegmentLoad() 333 static const load_command *NextCommand(const load_command *lc) { in NextCommand() argument 334 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand() 338 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID() local 339 if (lc->cmd != LC_UUID) continue; in FindUUID() 341 const uuid_command *uuid_lc = (const uuid_command *)lc; in FindUUID() [all …]
|
| /freebsd/cddl/contrib/opensolaris/lib/libgen/common/ |
| H A D | gmatch.c | 92 wchar_t lc = 0; in gmatch() local 103 if (c == '-' && lc && *p != ']') { in gmatch() 110 valid_range(lc, c)) { in gmatch() 111 if (scc < lc || scc > c) in gmatch() 118 valid_range(lc, c)) in gmatch() 119 if (lc <= scc && in gmatch() 127 lc = c; in gmatch() 129 if (scc != lc) in gmatch() 136 if (scc == lc) in gmatch()
|