/freebsd-10.0-release/lib/libc/gen/ |
H A D | stringlist.c | 51 StringList *sl; local 53 sl = malloc(sizeof(StringList)); 54 if (sl == NULL) 57 sl->sl_cur = 0; 58 sl->sl_max = _SL_CHUNKSIZE; 59 sl->sl_str = malloc(sl->sl_max * sizeof(char *)); 60 if (sl->sl_str == NULL) 62 return sl; 70 sl_add(StringList *sl, cha argument 87 sl_free(StringList *sl, int all) argument 107 sl_find(StringList *sl, const char *name) argument [all...] |
H A D | getusershell.c | 62 static StringList *sl; variable 86 if (sl) { 87 sl_free(sl, 1); 88 sl = NULL; 114 if (sl) 115 sl_free(sl, 1); 116 sl = sl_init(); 131 sl_add(sl, strdup(sp)); 152 if (sl) 153 sl_free(sl, [all...] |
/freebsd-10.0-release/kerberos5/lib/libsl/ |
H A D | Makefile | 3 LIB= sl 5 SRCS= sl.c 6 CFLAGS+=-I${KRB5DIR}/lib/sl 10 .PATH: ${KRB5DIR}/lib/sl
|
/freebsd-10.0-release/usr.bin/sort/ |
H A D | radixsort.c | 50 #define TINY_NODE(sl) ((sl)->tosort_num < 65) 51 #define SMALL_NODE(sl) ((sl)->tosort_num < 5) 79 struct sort_level *sl; member in struct:level_stack 132 push_ls(struct sort_level* sl) argument 137 new_ls->sl = sl; 159 struct sort_level *sl; local 164 sl 181 struct sort_level *sl; local 206 add_to_sublevel(struct sort_level *sl, struct sort_list_item *item, size_t indx) argument 232 add_leaf(struct sort_level *sl, struct sort_list_item *item) argument 256 place_item(struct sort_level *sl, size_t item) argument 271 free_sort_level(struct sort_level *sl) argument 301 run_sort_level_next(struct sort_level *sl) argument 524 run_top_sort_level(struct sort_level *sl) argument 638 struct sort_level *sl; local [all...] |
/freebsd-10.0-release/contrib/bmake/ |
H A D | strlist.c | 50 strlist_init(strlist_t *sl) argument 52 sl->sl_num = 0; 53 sl->sl_max = 0; 54 sl->sl_items = NULL; 58 strlist_clean(strlist_t *sl) argument 63 STRLIST_FOREACH(str, sl, i) 65 free(sl->sl_items); 67 sl->sl_num = 0; 68 sl->sl_max = 0; 69 sl 73 strlist_add_str(strlist_t *sl, char *str, unsigned int info) argument [all...] |
H A D | strlist.h | 53 #define strlist_num(sl) ((sl)->sl_num) 54 #define strlist_str(sl, n) ((sl)->sl_items[n].si_str) 55 #define strlist_info(sl, n) ((sl)->sl_items[n].si_info) 56 #define strlist_set_info(sl, n, v) ((void)((sl)->sl_items[n].si_info = (v))) 58 #define STRLIST_FOREACH(v, sl, index) \ 59 if ((sl) [all...] |
/freebsd-10.0-release/contrib/unbound/util/storage/ |
H A D | slabhash.c | 54 struct slabhash* sl = (struct slabhash*)calloc(1, local 56 if(!sl) return NULL; 57 sl->size = numtables; 58 log_assert(sl->size > 0); 59 sl->array = (struct lruhash**)calloc(sl->size, sizeof(struct lruhash*)); 60 if(!sl->array) { 61 free(sl); 64 sl->mask = (uint32_t)(sl 87 slabhash_delete(struct slabhash* sl) argument 100 slabhash_clear(struct slabhash* sl) argument 111 slab_idx(struct slabhash* sl, hashvalue_t hash) argument 116 slabhash_insert(struct slabhash* sl, hashvalue_t hash, struct lruhash_entry* entry, void* data, void* arg) argument 122 slabhash_lookup(struct slabhash* sl, hashvalue_t hash, void* key, int wr) argument 128 slabhash_remove(struct slabhash* sl, hashvalue_t hash, void* key) argument 133 slabhash_status(struct slabhash* sl, const char* id, int extended) argument 145 slabhash_get_size(struct slabhash* sl) argument 156 slabhash_get_mem(struct slabhash* sl) argument 166 slabhash_gettable(struct slabhash* sl, hashvalue_t hash) argument 205 slabhash_setmarkdel(struct slabhash* sl, lruhash_markdelfunc_t md) argument [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/wind/ |
H A D | util.py | 37 def subList(l, sl) : 38 """return the index of sl in l or None""" 40 slLen = len(sl) 43 while j < slLen and l[i + j] == sl[j]:
|
/freebsd-10.0-release/sys/geom/ |
H A D | geom_sunlabel_enc.c | 79 sunlabel_dec(void const *pp, struct sun_disklabel *sl) argument 88 for (i = 0; i < sizeof(sl->sl_text); i++) 89 sl->sl_text[i] = p[SL_TEXT + i]; 90 sl->sl_rpm = be16dec(p + SL_RPM); 91 sl->sl_pcylinders = be16dec(p + SL_PCYLINDERS); 92 sl->sl_sparespercyl = be16dec(p + SL_SPARESPERCYL); 93 sl->sl_interleave = be16dec(p + SL_INTERLEAVE); 94 sl->sl_ncylinders = be16dec(p + SL_NCYLINDERS); 95 sl->sl_acylinders = be16dec(p + SL_ACYLINDERS); 96 sl 136 sunlabel_enc(void *pp, struct sun_disklabel *sl) argument [all...] |
/freebsd-10.0-release/sbin/sunlabel/ |
H A D | sunlabel.c | 110 static int check_label(struct sun_disklabel *sl); 111 static void read_label(struct sun_disklabel *sl, const char *disk); 112 static void write_label(struct sun_disklabel *sl, const char *disk, 114 static void edit_label(struct sun_disklabel *sl, const char *disk, 116 static int parse_label(struct sun_disklabel *sl, const char *file); 117 static void print_label(struct sun_disklabel *sl, const char *disk, FILE *out); 119 static int parse_size(struct sun_disklabel *sl, int part, char *size); 120 static int parse_offset(struct sun_disklabel *sl, int part, char *offset); 124 static unsigned int parse_flag(struct sun_disklabel *sl, int part, 126 static unsigned int parse_tag(struct sun_disklabel *sl, in 163 struct sun_disklabel sl; local 257 check_label(struct sun_disklabel *sl) argument 329 read_label(struct sun_disklabel *sl, const char *disk) argument 395 write_label(struct sun_disklabel *sl, const char *disk, const char *bootpath) argument 481 edit_label(struct sun_disklabel *sl, const char *disk, const char *bootpath) argument 536 parse_label(struct sun_disklabel *sl, const char *file) argument 703 parse_size(struct sun_disklabel *sl, int part, char *size) argument 746 parse_offset(struct sun_disklabel *sl, int part, char *offset) argument 771 print_label(struct sun_disklabel *sl, const char *disk, FILE *out) argument 935 parse_tag(struct sun_disklabel *sl, int part, const char *tag) argument 960 parse_flag(struct sun_disklabel *sl, int part, const char *flag) argument [all...] |
/freebsd-10.0-release/lib/libc/quad/ |
H A D | cmpdi2.c | 55 return (aa.sl[H] < bb.sl[H] ? 0 : aa.sl[H] > bb.sl[H] ? 2 :
|
H A D | ashrdi3.c | 63 s = (aa.sl[H] >> (LONG_BITS - 1)) >> 1; 65 aa.sl[H] >> (shift - LONG_BITS); 70 aa.sl[H] >>= shift;
|
/freebsd-10.0-release/sys/libkern/ |
H A D | cmpdi2.c | 52 return (aa.sl[H] < bb.sl[H] ? 0 : aa.sl[H] > bb.sl[H] ? 2 :
|
H A D | ashrdi3.c | 60 s = (aa.sl[H] >> (LONG_BITS - 1)) >> 1; 62 aa.sl[H] >> (shift - LONG_BITS); 67 aa.sl[H] >>= shift;
|
/freebsd-10.0-release/crypto/heimdal/lib/sl/ |
H A D | sl_locl.h | 45 #include <sl.h>
|
/freebsd-10.0-release/libexec/rtld-elf/arm/ |
H A D | rtld_start.S | 44 ldr sl, .L2 48 add sl, pc, sl 49 ldr r5, [sl, r5] 50 ldr r0, [sl, r0] 52 sub r1, sl, r5 /* relocbase */ 80 stmdb sp!,{r0-r4,sl,fp} 94 ldmia sp!,{r0-r4,sl,fp,lr} /* restore the stack */
|
/freebsd-10.0-release/contrib/tcsh/ |
H A D | tw.help.c | 184 nextslist(const Char *sl, Char *np) argument 186 if (!*sl) 188 else if (*sl == ':') { 193 while (*sl && *sl != ':') 194 *np++ = *sl++; 204 skipslist(Char *sl) argument 206 while (*sl && *sl++ != ':') 208 return (sl); [all...] |
H A D | tw.init.c | 109 tw_str_add(stringlist_t *sl, size_t len) argument 113 if (sl->tlist <= sl->nlist) { 115 sl->tlist += TW_INCR; 116 sl->list = xrealloc(sl->list, sl->tlist * sizeof(Char *)); 119 if (sl->tbuff <= sl->nbuff + len) { 122 ptr = sl 144 tw_str_free(stringlist_t *sl) argument [all...] |
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_sync.c | 592 synclogent_t *sl; local 651 (uio->uio_resid > sizeof(*sl))) { 652 sl = softs->synclog + softs->sl_tail++; 654 err = UIOMOVE(sl, sizeof(*sl), UIO_READ, uio); 703 synclist_t *sl; local 722 KMALLOC(sl, synclist_t *); 723 if (sl == NULL) { 753 is->is_sync = sl; 755 sl 940 synclist_t *sl; local 1042 synclist_t *sl, *ss; local 1261 synclist_t *sl; local [all...] |
/freebsd-10.0-release/contrib/lukemftpd/src/ |
H A D | popen.c | 120 StringList *sl; local 137 if ((sl = sl_init()) == NULL) 141 if (sl_add(sl, ftpd_strdup(argv[0])) == -1) 149 if (sl_add(sl, ftpd_strdup(argv[argc])) == -1) { 155 if (sl_add(sl, ftpd_strdup(*pop)) == -1) { 163 if (sl_add(sl, NULL) == -1) 167 isls = (strcmp(sl->sl_str[0], INTERNAL_LS) == 0); 199 exit(ls_main(sl->sl_cur - 1, sl->sl_str)); 203 execv(sl [all...] |
/freebsd-10.0-release/usr.sbin/services_mkdb/ |
H A D | services_mkdb.c | 91 StringList *sl, ***svc; local 125 svc = parseservices(fname, sl = sl_init()); 145 add(db, s, port, getprotostr(sl, proto), &cnt, warndup); 152 sl_free(sl, 1); 164 add(DB *db, StringList *sl, size_t port, const char *proto, size_t *cnt, argument 174 (void)printf("add %s %zu %s [ ", sl->sl_str[0], port, proto); 175 for (i = 1; i < sl->sl_cur; i++) 176 (void)printf("%s ", sl->sl_str[i]); 183 sl->sl_str[0], port, proto, mkaliases(sl, abu 210 parseservices(const char *fname, StringList *sl) argument 374 getprotoindex(StringList *sl, const char *str) argument 393 getprotostr(StringList *sl, size_t i) argument 400 mkaliases(StringList *sl, char *buf, size_t len) argument [all...] |
/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-npi.h | 117 uint64_t sl : 7; /**< Skip length */ member in struct:__anon7005::__anon7007 121 uint64_t sl : 7; 132 uint64_t sl : 7; /**< Skip length */ member in struct:__anon7005::__anon7008 136 uint64_t sl : 7;
|
/freebsd-10.0-release/crypto/openssl/crypto/ripemd/asm/ |
H A D | rmd-586.pl | 46 @sl=( 11,14,15,12, 5, 8, 7, 9,11,13,14,15, 6, 7, 9, 8, 349 &RIP1($A,$B,$C,$D,$E,$wl[ 0],$sl[ 0],-1); 350 &RIP1($E,$A,$B,$C,$D,$wl[ 1],$sl[ 1],0); 351 &RIP1($D,$E,$A,$B,$C,$wl[ 2],$sl[ 2],0); 352 &RIP1($C,$D,$E,$A,$B,$wl[ 3],$sl[ 3],0); 353 &RIP1($B,$C,$D,$E,$A,$wl[ 4],$sl[ 4],0); 354 &RIP1($A,$B,$C,$D,$E,$wl[ 5],$sl[ 5],0); 355 &RIP1($E,$A,$B,$C,$D,$wl[ 6],$sl[ 6],0); 356 &RIP1($D,$E,$A,$B,$C,$wl[ 7],$sl[ 7],0); 357 &RIP1($C,$D,$E,$A,$B,$wl[ 8],$sl[ [all...] |
/freebsd-10.0-release/contrib/gcc/ |
H A D | longlong.h | 161 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 164 "=&r" ((USItype) (sl)) \ 169 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 172 "=&r" ((USItype) (sl)) \ 190 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 193 "=&r" ((USItype) (sl)) \ 198 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 201 "=&r" ((USItype) (sl)) \ 231 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 234 "=&r" ((USItype) (sl)) \ [all...] |
/freebsd-10.0-release/kerberos5/tools/slc/ |
H A D | Makefile | 13 CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/sl -I${KRB5DIR}/lib/vers -I. 24 .PATH: ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/sl
|