/freebsd-12-stable/contrib/one-true-awk/ |
H A D | maketab.c | 26 * this program makes the table to link function names 111 char *names[SIZE]; variable 125 names[i] = ""; 141 names[tok-FIRSTTOKEN] = (char *) malloc(strlen(name)+1); 142 strcpy(names[tok-FIRSTTOKEN], name); 153 printf("\tnullproc,\t/* %s */\n", names[i]); 155 printf("\t%s,\t/* %s */\n", table[i], names[i]);
|
/freebsd-12-stable/lib/libc/iconv/ |
H A D | bsd_iconv.c | 208 char **list, **names; local 215 names = NULL; 225 names = malloc(sz * sizeof(char *)); 226 if (names == NULL) 231 names[j++] = curkey; 239 names[j++] = curitem; 241 np = (const char * const *)names; 244 free(names[n]); 245 free(names); 246 names [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/tty/ |
H A D | MKexpanded.sh | 69 /* these are names we'd like to see */
|
/freebsd-12-stable/contrib/binutils/binutils/ |
H A D | sysinfo.y | 31 static char *names[] = {" ","[n]","[n][m]"}; 262 char *p = names[rdepth]; 272 names[rdepth], size); 279 names[rdepth],size/8); 312 names[rdepth], 318 names[rdepth], 324 printf("\tput%s(raw,%d,%d,&idx,ptr->%s%s);\n", type,size/8,size%8,id,names[rdepth]); 394 printf("if (ptr->%s%s == %s) { tabout(); printf(\"%s\\n\");}\n", name, names[rdepth],$4,$3);
|
/freebsd-12-stable/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_plistvar.h | 72 bhnd_nvram_plist_entry_list names[16]; /**< name-based hash table */ member in struct:bhnd_nvram_plist
|
/freebsd-12-stable/contrib/apr/helpers/ |
H A D | apr_rename.pl | 9 my %names; 17 $names{$old} = $new; 20 my $pattern = join '|', keys %names; 44 print " $file:$. apr_$_ -> apr_$names{$_}\n"; 60 s/([^_\"]*$prefix)($pattern)\b/$1$names{$2}/og;
|
/freebsd-12-stable/crypto/heimdal/lib/kadm5/ |
H A D | free.c | 17 * 3. Neither the name of the Institute nor the names of its contributors 83 char **names, 88 free(names[i]); 89 free(names); 82 kadm5_free_name_list(void *server_handle, char **names, int *count) argument
|
/freebsd-12-stable/sys/dev/fdt/ |
H A D | fdt_pinctrl.c | 66 char * names; local 69 nameslen = OF_getprop_alloc(ofw_bus_get_node(client), "pinctrl-names", 70 (void **)&names); 74 if (strcmp(name, &names[offset]) == 0) 76 offset += strlen(&names[offset]) + 1; 78 OF_prop_free(names);
|
/freebsd-12-stable/share/mk/ |
H A D | version_gen.awk | 38 # names of symbols defined for each version. 39 # names[] - array index is symbol name and value is its first version seen, 153 if ($1 in names && names[$1] != current_version) { 163 current_version, names[$1]) > stderr; 166 else if (names[$1] == current_version) { 176 names[$1] = current_version;
|
/freebsd-12-stable/contrib/unbound/services/ |
H A D | modstack.c | 19 * Neither the name of the NLNET LABS nor the names of its contributors may 136 /** The list of module names */ 141 static const char* names[] = { local 165 return names; 207 const char** names = module_list_avail(); local 211 while(names[i]) { 212 if(strncmp(names[i], s, strlen(names[i])) == 0) { 213 s += strlen(names[i]);
|
/freebsd-12-stable/contrib/ofed/libibumad/ |
H A D | sysfs.c | 153 struct dirent **names; local 188 names = malloc(max * sizeof(void *)); 189 if (names == NULL) 241 names2 = realloc(names, max * sizeof(void *)); 247 names = names2; 249 names[cnt++] = dp; 253 qsort(names, cnt, sizeof(struct dirent *), 256 *namelist = names; 263 free(names[i]); 264 free(names); [all...] |
/freebsd-12-stable/usr.sbin/mixer/ |
H A D | mixer.c | 27 static const char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; variable 47 printf("%s", names[i]); 57 printf("%s", names[i]); 71 if ((1 << foo) & mask && strcmp(names[foo], name) == 0) 94 printf("%s", names[i]); 172 names[foo], Sflag ? ':' : ' ', 177 "%3d:%d\n", names[foo], bar & 0x7f, 271 names[dev], Sflag ? ':' : ' ', 276 "%3d:%d\n", names[dev], bar & 0x7f, 309 "%d:%d.\n", names[de [all...] |
/freebsd-12-stable/stand/ficl/ |
H A D | loader.c | 75 int names, values; local 80 names = stackPopINT(pVM->pStack); 86 name = (char*) ficlMalloc(names+1); 89 strncpy(name, namep, names); 90 name[names] = '\0'; 112 int names, values, overwrite; local 118 names = stackPopINT(pVM->pStack); 124 name = (char*) ficlMalloc(names+1); 127 strncpy(name, namep, names); 128 name[names] 150 int names; local 185 int names; local 259 int names, types; local [all...] |
/freebsd-12-stable/contrib/ncurses/include/ |
H A D | term_entry.h | 114 #define ExtBoolname(tp,i,names) EXT_NAMES(tp, i, BOOLCOUNT, (i - (tp->num_Booleans - tp->ext_Booleans)), names) 115 #define ExtNumname(tp,i,names) EXT_NAMES(tp, i, NUMCOUNT, (i - (tp->num_Numbers - tp->ext_Numbers)) + tp->ext_Booleans, names) 116 #define ExtStrname(tp,i,names) EXT_NAMES(tp, i, STRCOUNT, (i - (tp->num_Strings - tp->ext_Strings)) + (tp->ext_Numbers + tp->ext_Booleans), names)
|
/freebsd-12-stable/tools/tools/vop_table/ |
H A D | vop_table.tcl | 7 global names ops op 19 set names($a) 0 63 set opn [lsort [array names ops]] 64 set a [lsort [array names names]] 159 foreach i [lsort [array names fnames]] {
|
/freebsd-12-stable/contrib/libarchive/libarchive/test/ |
H A D | test_fuzz.c | 51 const char **names; member in struct:files 70 for (n = 0; filesets[n].names != NULL; ++n) { 78 extract_reference_files(filesets[n].names); 87 r = archive_read_open_filenames(a, filesets[n].names, 16384); 90 if (filesets[n].names[0] == NULL || filesets[n].names[1] == NULL) { 93 skipping("Cannot uncompress %s", filesets[n].names[0]); 106 if (filesets[n].names[0] == NULL || filesets[n].names[1] == NULL) { 111 "uncompressed test file: %s", filesets[n].names[ [all...] |
/freebsd-12-stable/usr.bin/patch/ |
H A D | pch.c | 276 struct file_name names[MAX_FILE]; local 279 memset(names, 0, sizeof(names)); 320 names[OLD_FILE].path = fetchname(s + 4, 321 &names[OLD_FILE].exists, strippath); 327 names[NEW_FILE].path = fetchname(s + off, 328 &names[NEW_FILE].exists, strippath); 335 names[OLD_FILE].path = fetchname(s + off, 336 &names[OLD_FILE].exists, strippath); 338 names[INDEX_FIL 1528 posix_name(const struct file_name *names, bool assume_exists) argument 1558 compare_names(const struct file_name *names, bool assume_exists) argument 1602 best_name(const struct file_name *names, bool assume_exists) argument [all...] |
/freebsd-12-stable/sbin/hastd/ |
H A D | parse.y | 428 char *names; 430 if (node_names(&names) != 0) 432 pjdlog_error("No resource %s configuration for this node (acceptable node names: %s).", 433 curres->hr_name, names); 802 static char names[MAXHOSTNAMELEN * 3]; 816 (void)strlcpy(names, buf, MIN((size_t)(pos - buf + 1), 817 sizeof(names))); 818 (void)strlcat(names, ", ", sizeof(names)); 822 (void)strlcat(names, bu [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/trace/ |
H A D | lib_traceatr.c | 91 } names[] = local 141 for (n = 0; n < SIZEOF(names); n++) { 142 if ((newmode & names[n].val) != 0) { 145 result = _nc_trace_bufcat(bufnum, names[n].name); 147 if (names[n].val == A_COLOR) { 215 static const ALT_NAMES names[] = local 271 for (strp = names; strp->val; strp++)
|
/freebsd-12-stable/contrib/ldns/ |
H A D | higher.c | 111 ldns_rr_list *names; local 114 names = NULL; 132 names = ldns_pkt_rr_list_by_type(pkt, 136 return names; 249 ldns_rr_list *names; local 262 names = ldns_get_rr_list_hosts_frm_fp(fp); 264 return names;
|
/freebsd-12-stable/crypto/openssl/crypto/objects/ |
H A D | o_names.c | 324 const OBJ_NAME **names; member in struct:doall_sorted 334 d->names[d->n++] = name; 353 d.names = 354 OPENSSL_malloc(sizeof(*d.names) * lh_OBJ_NAME_num_items(names_lh)); 355 /* Really should return an error if !d.names...but its a void function! */ 356 if (d.names != NULL) { 360 qsort((void *)d.names, d.n, sizeof(*d.names), do_all_sorted_cmp); 363 fn(d.names[n], arg); 365 OPENSSL_free((void *)d.names); [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDKernelCodeTUtils.cpp | 47 static StringMap<int> createIndexMap(const ArrayRef<StringRef> &names, argument 50 assert(names.size() == altNames.size()); 51 for (unsigned i = 0; i < names.size(); ++i) { 52 map.insert(std::make_pair(names[i], i));
|
/freebsd-12-stable/contrib/wpa/src/fst/ |
H A D | fst_ctrl_aux.h | 86 const char * fst_get_str_name(unsigned index, const char *names[],
|
/freebsd-12-stable/contrib/binutils/gas/config/ |
H A D | obj-ecoff.c | 64 static const char *const names[] = local 73 #define n_names ((int) (sizeof (names) / sizeof (names[0]))) 75 /* Sections that match names, order to be straightened out later. */ 86 if (!strcmp (sec->name, names[i]))
|
/freebsd-12-stable/tests/sys/netpfil/pf/ |
H A D | Makefile | 16 names \
|