Home
last modified time | relevance | path

Searched full:sl (Results 1 – 25 of 1354) sorted by relevance

12345678910>>...55

/freebsd/usr.bin/sort/
H A Dradixsort.c50 #define TINY_NODE(sl) ((sl)->tosort_num < 65) argument
51 #define SMALL_NODE(sl) ((sl)->tosort_num < 5) argument
79 struct sort_level *sl; member
142 push_ls(struct sort_level *sl) in push_ls() argument
147 new_ls->sl = sl; in push_ls()
166 struct sort_level *sl; in pop_ls_st() local
171 sl = g_ls->sl; in pop_ls_st()
176 sl = NULL; in pop_ls_st()
178 return (sl); in pop_ls_st()
190 struct sort_level *sl; in pop_ls_mt() local
[all …]
H A Dfile.c1237 sub_list_swap(struct sort_list **sl, size_t i1, size_t i2) in sub_list_swap() argument
1241 tmp = sl[i1]; in sub_list_swap()
1242 sl[i1] = sl[i2]; in sub_list_swap()
1243 sl[i2] = tmp; in sub_list_swap()
1253 sub_list_swim(struct sort_list **sl, size_t indx) in sub_list_swim() argument
1261 if (sub_list_cmp(sl[indx], sl[parent_index]) < 0) { in sub_list_swim()
1263 sub_list_swap(sl, indx, parent_index); in sub_list_swim()
1264 sub_list_swim(sl, parent_index); in sub_list_swim()
1273 sub_list_sink(struct sort_list **sl, size_t indx, size_t size) in sub_list_sink() argument
1287 (sub_list_cmp(sl[left_child_index], in sub_list_sink()
[all …]
/freebsd/contrib/unbound/util/storage/
H A Dslabhash.c54 struct slabhash* sl = (struct slabhash*)calloc(1, in slabhash_create() local
56 if(!sl) return NULL; in slabhash_create()
57 sl->size = numtables; in slabhash_create()
58 log_assert(sl->size > 0); in slabhash_create()
59 sl->array = (struct lruhash**)calloc(sl->size, sizeof(struct lruhash*)); in slabhash_create()
60 if(!sl->array) { in slabhash_create()
61 free(sl); in slabhash_create()
64 sl->mask = (uint32_t)(sl->size - 1); in slabhash_create()
65 if(sl->mask == 0) { in slabhash_create()
66 sl->shift = 0; in slabhash_create()
[all …]
/freebsd/contrib/mandoc/
H A Dcompat_stringlist.c46 StringList *sl; in sl_init() local
48 sl = malloc(sizeof(StringList)); in sl_init()
49 if (sl == NULL) in sl_init()
52 sl->sl_cur = 0; in sl_init()
53 sl->sl_max = _SL_CHUNKSIZE; in sl_init()
54 sl->sl_str = reallocarray(NULL, sl->sl_max, sizeof(char *)); in sl_init()
55 if (sl->sl_str == NULL) { in sl_init()
56 free(sl); in sl_init()
57 sl = NULL; in sl_init()
59 return sl; in sl_init()
[all …]
H A Dtest-stringlist.c24 StringList *sl; in main() local
27 if ((sl = sl_init()) == NULL) in main()
29 if (sl_add(sl, teststr)) in main()
31 if (sl->sl_cur != 1) in main()
33 if (sl->sl_str[0] != teststr) in main()
36 sl_free(sl, 0); in main()
/freebsd/lib/libc/gen/
H A Dstringlist.c47 StringList *sl; in sl_init() local
49 sl = malloc(sizeof(StringList)); in sl_init()
50 if (sl == NULL) in sl_init()
53 sl->sl_cur = 0; in sl_init()
54 sl->sl_max = _SL_CHUNKSIZE; in sl_init()
55 sl->sl_str = malloc(sl->sl_max * sizeof(char *)); in sl_init()
56 if (sl->sl_str == NULL) in sl_init()
58 return sl; in sl_init()
66 sl_add(StringList *sl, char *name) in sl_add() argument
68 if (sl->sl_cur == sl->sl_max - 1) { in sl_add()
[all …]
H A Dgetusershell.c60 static StringList *sl; variable
84 if (sl) { in endusershell()
85 sl_free(sl, 1); in endusershell()
86 sl = NULL; in endusershell()
109 if (sl) in _local_initshells()
110 sl_free(sl, 1); in _local_initshells()
111 sl = sl_init(); in _local_initshells()
126 sl_add(sl, strdup(sp)); in _local_initshells()
144 if (sl) in _dns_initshells()
145 sl_free(sl, 1); in _dns_initshells()
[all …]
H A Dstringlist.346 .Fn sl_add "StringList *sl" "char *item"
48 .Fn sl_free "StringList *sl" "int freeall"
50 .Fn sl_find "StringList *sl" "const char *item"
90 .Fa sl
92 .Fa sl->sl_str
97 .Fa sl->sl_str
103 .Fa sl->sl_str
105 .Fa sl->sl_cur ,
107 .Fa sl->sl_str .
113 .Fa sl ,
/freebsd/contrib/unbound/sldns/
H A Dwire2str.c487 static int sldns_rr_tcttl_scan(uint8_t** d, size_t* dl, char** s, size_t* sl) in sldns_rr_tcttl_scan() argument
495 d, dl, s, sl); in sldns_rr_tcttl_scan()
501 w += sldns_wire2str_class_print(s, sl, c); in sldns_rr_tcttl_scan()
502 w += sldns_str_print(s, sl, "\t"); in sldns_rr_tcttl_scan()
503 w += sldns_wire2str_type_print(s, sl, t); in sldns_rr_tcttl_scan()
505 return w + sldns_str_print(s, sl, "; Error no ttl"); in sldns_rr_tcttl_scan()
507 "; Error malformed ttl 0x", d, dl, s, sl); in sldns_rr_tcttl_scan()
514 w += sldns_str_print(s, sl, "%lu\t", (unsigned long)ttl); in sldns_rr_tcttl_scan()
515 w += sldns_wire2str_class_print(s, sl, c); in sldns_rr_tcttl_scan()
516 w += sldns_str_print(s, sl, "\t"); in sldns_rr_tcttl_scan()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp923 SDLoc SL(Op); in getNegatedExpression() local
928 return DAG.getNode(AMDGPUISD::RCP, SL, VT, NegSrc, Op->getFlags()); in getNegatedExpression()
1510 SDLoc SL(Op); in LowerCONCAT_VECTORS() local
1522 SDValue NewIn = DAG.getNode(ISD::BITCAST, SL, NewEltVT, In); in LowerCONCAT_VECTORS()
1531 SDValue BV = DAG.getBuildVector(NewVT, SL, Args); in LowerCONCAT_VECTORS()
1532 return DAG.getNode(ISD::BITCAST, SL, VT, BV); in LowerCONCAT_VECTORS()
1539 return DAG.getBuildVector(Op.getValueType(), SL, Args); in LowerCONCAT_VECTORS()
1544 SDLoc SL(Op); in LowerEXTRACT_SUBVECTOR() local
1560 SDValue Tmp = DAG.getNode(ISD::BITCAST, SL, NewSrcVT, Op.getOperand(0)); in LowerEXTRACT_SUBVECTOR()
1566 Tmp = DAG.getBuildVector(NewVT, SL, Args); in LowerEXTRACT_SUBVECTOR()
[all …]
H A DSIISelLowering.cpp1964 const SDLoc &SL, in lowerKernArgParameterPtr() argument
1982 return DAG.getConstant(Offset, SL, PtrVT); in lowerKernArgParameterPtr()
1985 SDValue BasePtr = DAG.getCopyFromReg(Chain, SL, in lowerKernArgParameterPtr()
1988 return DAG.getObjectPtrOffset(SL, BasePtr, TypeSize::getFixed(Offset)); in lowerKernArgParameterPtr()
1992 const SDLoc &SL) const { in getImplicitArgPtr()
1995 return lowerKernArgParameterPtr(DAG, SL, DAG.getEntryNode(), Offset); in getImplicitArgPtr()
1999 const SDLoc &SL) const { in getLDSKernelId()
2005 return DAG.getConstant(*KnownSize, SL, MVT::i32); in getLDSKernelId()
2010 const SDLoc &SL, SDValue Val, in convertArgType() argument
2019 Val = DAG.getNode(ISD::EXTRACT_SUBVECTOR, SL, NarrowedVT, Val, in convertArgType()
[all …]
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_sync.c559 synclogent_t *sl; in ipf_sync_read() local
594 (uio->uio_resid > sizeof(*sl))) { in ipf_sync_read()
595 sl = softs->synclog + softs->sl_tail++; in ipf_sync_read()
597 err = UIOMOVE(sl, sizeof(*sl), UIO_READ, uio); in ipf_sync_read()
643 synclist_t *sl; in ipf_sync_state() local
662 KMALLOC(sl, synclist_t *); in ipf_sync_state()
663 if (sl == NULL) { in ipf_sync_state()
693 is->is_sync = sl; in ipf_sync_state()
695 sl->sl_idx = -1; in ipf_sync_state()
696 sl->sl_ips = is; in ipf_sync_state()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLookupResult.cpp38 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const SourceLocation &SL) { in operator <<() argument
39 OS << SL.Name; in operator <<()
40 if (SL.Offset > 0) in operator <<()
41 OS << " + " << SL.Offset; in operator <<()
42 if (SL.Dir.size() || SL.Base.size()) { in operator <<()
44 if (!SL.Dir.empty()) { in operator <<()
45 OS << SL.Dir; in operator <<()
46 if (SL.Dir.contains('\\') && !SL.Dir.contains('/')) in operator <<()
51 if (SL.Base.empty()) in operator <<()
54 OS << SL.Base; in operator <<()
[all …]
/freebsd/crypto/openssl/crypto/ripemd/asm/
H A Drmd-586.pl55 @sl=( 11,14,15,12, 5, 8, 7, 9,11,13,14,15, 6, 7, 9, 8,
359 &RIP1($A,$B,$C,$D,$E,$wl[ 0],$sl[ 0],-1);
360 &RIP1($E,$A,$B,$C,$D,$wl[ 1],$sl[ 1],0);
361 &RIP1($D,$E,$A,$B,$C,$wl[ 2],$sl[ 2],0);
362 &RIP1($C,$D,$E,$A,$B,$wl[ 3],$sl[ 3],0);
363 &RIP1($B,$C,$D,$E,$A,$wl[ 4],$sl[ 4],0);
364 &RIP1($A,$B,$C,$D,$E,$wl[ 5],$sl[ 5],0);
365 &RIP1($E,$A,$B,$C,$D,$wl[ 6],$sl[ 6],0);
366 &RIP1($D,$E,$A,$B,$C,$wl[ 7],$sl[ 7],0);
367 &RIP1($C,$D,$E,$A,$B,$wl[ 8],$sl[ 8],0);
[all …]
/freebsd/crypto/heimdal/lib/sl/
H A DChangeLog17 * sl.c: make compile.
19 * sl.c: Pass in pointer to strlen().
21 * sl.c (sl_make_argv): use memmove since we are dealing with
52 * sl.c (sl_make_argv): Add quoting support (both "" and \ style).
56 * sl.c: Use strcspn to remove \n from fgets result. Prompted by
65 * sl.c (sl_slc_help): remove return
69 * sl.h: Add sl_slc_help.
71 * sl.c: Add sl_slc_help.
91 * sl.c: use rk_UNCONST to un-constify
99 * sl.c (sl_command_loop): new return code -2 for EOF
[all …]
/freebsd/usr.sbin/services_mkdb/
H A Dservices_mkdb.c91 StringList *sl, ***svc; in main() local
136 svc = parseservices(fname, sl = sl_init()); in main()
156 add(db, s, port, getprotostr(sl, proto), &cnt, warndup); in main()
163 sl_free(sl, 1); in main()
189 add(DB *db, StringList *sl, size_t port, const char *proto, size_t *cnt, in add() argument
199 (void)printf("add %s %zu %s [ ", sl->sl_str[0], port, proto); in add()
200 for (i = 1; i < sl->sl_cur; i++) in add()
201 (void)printf("%s ", sl->sl_str[i]); in add()
208 sl->sl_str[0], port, proto, mkaliases(sl, abuf, sizeof(abuf))) + 1; in add()
221 for (i = 0; i < sl->sl_cur; i++) { in add()
[all …]
/freebsd/sys/riscv/riscv/
H A Dbusdma_bounce.c563 struct sync_list *sl; in _bus_dmamap_addseg()
580 sl = map->slist + map->sync_count - 1; in _bus_dmamap_addseg()
594 sl_end = sl->paddr + sl->datacount;
599 sl++; in bounce_bus_dmamap_load_phys()
600 sl->vaddr = 0; in bounce_bus_dmamap_load_phys() local
601 sl->paddr = curaddr; in bounce_bus_dmamap_load_phys()
602 sl->datacount = sgsize; in bounce_bus_dmamap_load_phys()
603 sl->pages = PHYS_TO_VM_PAGE(curaddr); in bounce_bus_dmamap_load_phys()
604 KASSERT(sl in bounce_bus_dmamap_load_phys()
670 struct sync_list *sl; bounce_bus_dmamap_load_buffer() local
811 dma_dcache_sync(struct sync_list * sl,bus_dmasync_op_t op) dma_dcache_sync() argument
875 struct sync_list *sl, *end; bounce_bus_dmamap_sync() local
[all...]
/freebsd/contrib/tcsh/
H A Dtw.init.c105 tw_str_add(stringlist_t *sl, size_t len) in tw_str_add() argument
109 if (sl->tlist <= sl->nlist) { in tw_str_add()
111 sl->tlist += TW_INCR; in tw_str_add()
112 sl->list = xrealloc(sl->list, sl->tlist * sizeof(Char *)); in tw_str_add()
115 if (sl->tbuff <= sl->nbuff + len) { in tw_str_add()
118 ptr = sl->buff; in tw_str_add()
120 sl->tbuff += TW_INCR + len; in tw_str_add()
121 sl->buff = xrealloc(sl->buff, sl->tbuff * sizeof(Char)); in tw_str_add()
123 if (ptr != NULL && ptr != sl->buff) { in tw_str_add()
124 for (i = 0; i < sl->nlist; i++) in tw_str_add()
[all …]
H A Dtw.help.c180 nextslist(const Char *sl, Char *np) in nextslist() argument
182 if (!*sl) in nextslist()
184 else if (*sl == ':') { in nextslist()
189 while (*sl && *sl != ':') in nextslist()
190 *np++ = *sl++; in nextslist()
200 skipslist(Char *sl) in skipslist() argument
202 while (*sl && *sl++ != ':') in skipslist()
204 return (sl); in skipslist()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DUnwindTable.cpp55 SectionList *sl = m_module.GetSectionList(); in Initialize() local
56 if (!sl) in Initialize()
59 SectionSP sect = sl->FindSectionByType(eSectionTypeEHFrame, true); in Initialize()
65 sect = sl->FindSectionByType(eSectionTypeDWARFDebugFrame, true); in Initialize()
71 sect = sl->FindSectionByType(eSectionTypeCompactUnwind, true); in Initialize()
77 sect = sl->FindSectionByType(eSectionTypeARMexidx, true); in Initialize()
79 SectionSP sect_extab = sl->FindSectionByType(eSectionTypeARMextab, true); in Initialize()
100 SectionList *sl = m_module.GetSectionList(); in Update() local
101 if (!sl) in Update()
104 SectionSP sect = sl->FindSectionByType(eSectionTypeEHFrame, true); in Update()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dsegregs.sh60 u_int sl;
65 sl = s;
67 if (sl != 0)
68 i386_set_ldt(sl, NULL, 1);
78 u_int sel, sl;
88 sl = i386_set_ldt(LDT_AUTO_ALLOC, &desc, 1);
89 if ((int)sl == -1)
91 sel = LSEL(sl, SEL_UPL);
92 s = sl;
/freebsd/sys/arm64/arm64/
H A Dbusdma_bounce.c727 struct sync_list *sl; in bounce_bus_dmamap_load_phys() local
744 sl = map->slist + map->sync_count - 1; in bounce_bus_dmamap_load_phys()
767 sl_end = sl->paddr + sl->datacount; in bounce_bus_dmamap_load_phys()
772 sl++; in bounce_bus_dmamap_load_phys()
773 sl->vaddr = 0; in bounce_bus_dmamap_load_phys()
774 sl->paddr = curaddr; in bounce_bus_dmamap_load_phys()
775 sl->pages = PHYS_TO_VM_PAGE(curaddr); in bounce_bus_dmamap_load_phys()
776 KASSERT(sl->pages != NULL, in bounce_bus_dmamap_load_phys()
779 sl->datacount = sgsize; in bounce_bus_dmamap_load_phys()
781 sl->datacount += sgsize; in bounce_bus_dmamap_load_phys()
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_sa_path_record.c171 uint8_t sl; in pr_rcv_get_path_parms() local
465 sl = p_qos_level->sl; in pr_rcv_get_path_parms()
466 if (!(valid_sl_mask & (1 << sl))) { in pr_rcv_get_path_parms()
728 * Set PathRecord SL in pr_rcv_get_path_parms()
733 * Specific SL was requested in pr_rcv_get_path_parms()
735 sl = ib_path_rec_sl(p_pr); in pr_rcv_get_path_parms()
738 && (p_qos_level->sl != sl)) { in pr_rcv_get_path_parms()
740 "QoS constraints: required PathRecord SL (%u) " in pr_rcv_get_path_parms()
741 "doesn't match QoS policy \"%s\" SL (%u) " in pr_rcv_get_path_parms()
742 "[%s port %d <-> %s port %d]\n", sl, in pr_rcv_get_path_parms()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp61 MSFStreamLayout SL; in createIndexedStream()
62 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream() local
63 SL.Length = Layout.StreamSizes[StreamIndex]; in createIndexedStream()
65 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream()
72 MSFStreamLayout SL; in createDirectoryStream()
73 SL.Blocks = Layout.DirectoryBlocks; in createDirectoryStream() local
74 SL.Length = Layout.SB->NumDirectoryBytes; in createDirectoryStream()
75 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream()
82 MSFStreamLayout SL(getFpmStreamLayout(Layout)); in createFpmStream()
83 return createStream(Layout.SB->BlockSize, SL, MsfDat in createFpmStream() local
330 MSFStreamLayout SL; createIndexedStream() local
340 MSFStreamLayout SL; createDirectoryStream() local
[all...]
/freebsd/libexec/rtld-elf/arm/
H A Drtld_start.S42 ldr sl, .L2
46 add sl, pc, sl
47 ldr r5, [sl, r5]
48 ldr r0, [sl, r0]
50 sub r1, sl, r5 /* relocbase */
78 stmdb sp!,{r0-r5,sl,fp}
95 ldmia sp!,{r0-r5,sl,fp,lr} /* restore the stack */

12345678910>>...55