| /src/external/bsd/mdocml/dist/ |
| test-stringlist.c | 24 StringList *sl; local 27 if ((sl = sl_init()) == NULL) 29 if (sl_add(sl, teststr)) 31 if (sl->sl_cur != 1) 33 if (sl->sl_str[0] != teststr) 36 sl_free(sl, 0);
|
| compat_stringlist.c | 46 StringList *sl; local 48 sl = malloc(sizeof(StringList)); 49 if (sl == NULL) 52 sl->sl_cur = 0; 53 sl->sl_max = _SL_CHUNKSIZE; 54 sl->sl_str = reallocarray(NULL, sl->sl_max, sizeof(char *)); 55 if (sl->sl_str == NULL) { 56 free(sl); 57 sl = NULL [all...] |
| /src/external/gpl2/lvm2/dist/lib/format_text/ |
| tags.c | 26 struct str_list *sl; local 32 dm_list_iterate_items(sl, tags) { 39 if (!emit_to_buffer(&buffer, &size, "\"%s\"", sl->str))
|
| /src/tests/usr.bin/xlint/lint1/ |
| msg_118.c | 11 long sl; variable 20 si <<= sl; local 27 si = si << sl; 37 si >>= sl; local 44 si = si >> sl;
|
| msg_118_ilp32.c | 11 long sl; variable 24 si <<= sl; local 29 si = si << sl; 38 si >>= sl; local 44 si = si >> sl;
|
| /src/sys/dev/ofw/ |
| ofw_network_subr.c | 98 char *sl = NULL; local 107 sl = malloc(len, M_TEMP, M_WAITOK); 110 if (OF_getprop(phandle, "supported-network-types", sl, len) != len) 113 count = strlist_count(sl, len); 123 (cp = strlist_next(sl, len, &cursor)) != NULL; ) { 133 free(sl, M_TEMP); 134 sl = NULL; 149 sl = malloc(len, M_TEMP, M_WAITOK); 150 if (OF_getprop(phandle, "chosen-network-type", sl, len) != len) { 155 cp = sl; [all...] |
| /src/external/lgpl3/gmp/dist/mpn/generic/ |
| add_n.c | 39 mp_limb_t ul, vl, sl, rl, cy, cy1, cy2; local 50 sl = ul + vl; 51 cy1 = sl < ul; 52 rl = sl + cy; 53 cy2 = rl < sl;
|
| cnd_add_n.c | 40 mp_limb_t ul, vl, sl, rl, cy, cy1, cy2, mask; local 53 sl = ul + vl; 54 cy1 = sl < ul; 55 rl = sl + cy; 56 cy2 = rl < sl;
|
| cnd_sub_n.c | 40 mp_limb_t ul, vl, sl, rl, cy, cy1, cy2, mask; local 53 sl = ul - vl; 54 cy1 = sl > ul; 55 rl = sl - cy; 56 cy2 = rl > sl;
|
| sub_n.c | 39 mp_limb_t ul, vl, sl, rl, cy, cy1, cy2; local 50 sl = ul - vl; 51 cy1 = sl > ul; 52 rl = sl - cy; 53 cy2 = rl > sl;
|
| add_err1_n.c | 58 mp_limb_t el, eh, ul, vl, yl, zl, rl, sl, cy1, cy2; local 79 ADDC_LIMB (cy1, sl, ul, vl); 80 ADDC_LIMB (cy2, rl, sl, cy);
|
| add_err2_n.c | 60 mp_limb_t el1, eh1, el2, eh2, ul, vl, yl1, yl2, zl1, zl2, rl, sl, cy1, cy2; local 86 ADDC_LIMB (cy1, sl, ul, vl); 87 ADDC_LIMB (cy2, rl, sl, cy);
|
| sub_err1_n.c | 58 mp_limb_t el, eh, ul, vl, yl, zl, rl, sl, cy1, cy2; local 79 SUBC_LIMB (cy1, sl, ul, vl); 80 SUBC_LIMB (cy2, rl, sl, cy);
|
| sub_err2_n.c | 60 mp_limb_t el1, eh1, el2, eh2, ul, vl, yl1, yl2, zl1, zl2, rl, sl, cy1, cy2; local 86 SUBC_LIMB (cy1, sl, ul, vl); 87 SUBC_LIMB (cy2, rl, sl, cy);
|
| /src/common/lib/libc/quad/ |
| quad.h | 74 int sl[2]; /* as two signed ints */ member in union:uu
|
| /src/lib/libc/gen/ |
| stringlist.c | 63 StringList *sl; local 65 sl = malloc(sizeof(StringList)); 66 if (sl == NULL) 69 sl->sl_cur = 0; 70 sl->sl_max = _SL_CHUNKSIZE; 71 sl->sl_str = NULL; 72 errno = reallocarr(&sl->sl_str, sl->sl_max, sizeof(*sl->sl_str)); 75 free(sl); [all...] |
| /src/lib/libc/locale/ |
| generic_lc_all.c | 57 _locale_set_t sl; local 62 sl = _find_category(1); 63 _DIAGASSERT(sl != NULL); 86 if ((*sl)(tokens[1], locale) != NULL) 89 s = (*sl)(NULL, locale); 93 sl = _find_category(i); 94 _DIAGASSERT(sl != NULL); 96 if ((*sl)(tokens[i], locale) != NULL) 99 t = (*sl)(NULL, locale);
|
| setlocale.c | 178 _locale_set_t sl; local 183 sl = _find_category(category); 184 if (sl == NULL) 190 result = (*sl)(name, loc);
|
| /src/lib/libcrypt/ |
| crypt-sha1.c | 119 int sl; local 150 sl = sp - salt; 158 sl, salt, magic, iterations); 168 magic, iterations, sl, salt);
|
| md5crypt.c | 45 unsigned int i, sl, pwl; local 64 sl = ep - sp; 75 UPDATE(&ctx, (const unsigned char *)sp, sl); 80 UPDATE(&ctx1, (const unsigned char *)sp, sl); 99 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); 120 UPDATE(&ctx1, (const unsigned char *)sp, sl); 135 p = passwd + sl + MD5_MAGIC_LEN + 1;
|
| /src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
| os2compat.c | 59 size_t sl = strlen (root); local 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 61 memcpy (_nlos2_libdir, root, sl); 62 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); 73 size_t sl = strlen (root); local 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 75 memcpy (_nlos2_localealiaspath, root, sl); 76 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); 87 size_t sl = strlen (root); local 88 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1) [all...] |
| /src/external/gpl2/grep/dist/intl/ |
| os2compat.c | 69 size_t sl = strlen (root); local 70 _os2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 71 memcpy (_os2_libdir, root, sl); 72 memcpy (_os2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); 83 size_t sl = strlen (root); local 84 _os2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 85 memcpy (_os2_localealiaspath, root, sl); 86 memcpy (_os2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); 97 size_t sl = strlen (root); local 98 _os2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1) [all...] |
| /src/external/gpl2/lvm2/dist/lib/datastruct/ |
| str_list.c | 23 struct dm_list *sl; local 25 if (!(sl = dm_pool_alloc(mem, sizeof(struct dm_list)))) { 30 dm_list_init(sl); 32 return sl; 70 struct str_list *sl; local 74 dm_list_iterate_items(sl, sllold) { 75 if (!str_list_add(mem, sllnew, dm_pool_strdup(mem, sl->str))) 87 struct str_list *sl; local 89 dm_list_iterate_items(sl, sll) 90 if (!strcmp(str, sl->str) 101 struct str_list *sl; local 115 struct str_list *sl; local [all...] |
| /src/external/gpl2/texinfo/dist/intl/ |
| os2compat.c | 61 size_t sl = strlen (root); local 62 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 63 memcpy (_nlos2_libdir, root, sl); 64 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); 75 size_t sl = strlen (root); local 76 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 77 memcpy (_nlos2_localealiaspath, root, sl); 78 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); 89 size_t sl = strlen (root); local 90 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1) [all...] |
| /src/external/lgpl3/gmp/dist/tests/ |
| t-sub.c | 34 mp_limb_t want_dh,want_dl, mh,ml, sh,sl; member in struct:__anon23388 53 sub_ddmmss (got_dh,got_dl, data[i].mh,data[i].ml, data[i].sh,data[i].sl); 60 mp_limb_trace (" sl", data[i].sl); 73 mp_limb_t want_dh,want_dl, got_dh,got_dl, mh,ml, sh,sl; local 81 sl = urandom (); 83 refmpn_sub_ddmmss (&want_dh,&want_dl, mh,ml, sh,sl); 85 sub_ddmmss (got_dh,got_dl, mh,ml, sh,sl); 93 mp_limb_trace (" sl", sl); [all...] |