/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | MKkeyname.awk | 46 names = names"\n\t\""$1"\\0\"" 61 print "static const char key_names[] = "names";"
|
/freebsd-11-stable/usr.bin/getconf/ |
H A D | Makefile | 10 confstr.names limits.names pathconf.names sysconf.names \ 11 conflicting.names unique.names 13 .SUFFIXES: .gperf .names 22 .gperf.names: 26 conflicts: conflicting.names unique.names [all...] |
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_gem_names.c | 41 MALLOC_DEFINE(M_GEM_NAMES, "gem_name", "Hash headers for the gem names"); 43 static void drm_gem_names_delete_name(struct drm_gem_names *names, 47 drm_gem_names_init(struct drm_gem_names *names) argument 50 names->unr = new_unrhdr(1, INT_MAX, NULL); /* XXXKIB */ 51 names->names_hash = hashinit(1000 /* XXXKIB */, M_GEM_NAMES, 52 &names->hash_mask); 53 mtx_init(&names->lock, "drmnames", NULL, MTX_DEF); 57 drm_gem_names_fini(struct drm_gem_names *names) argument 62 mtx_lock(&names->lock); 63 for (i = 0; i <= names 76 gem_name_hash_index(struct drm_gem_names *names, int name) argument 83 drm_gem_name_ref(struct drm_gem_names *names, uint32_t name, void (*ref)(void *)) argument 120 drm_gem_find_name(struct drm_gem_names *names, void *ptr) argument 131 drm_gem_find_ptr(struct drm_gem_names *names, uint32_t name) argument 149 drm_gem_name_create(struct drm_gem_names *names, void *p, uint32_t *name) argument 173 drm_gem_names_delete_name(struct drm_gem_names *names, struct drm_gem_name *np) argument 184 drm_gem_names_remove(struct drm_gem_names *names, uint32_t name) argument 202 drm_gem_names_foreach(struct drm_gem_names *names, int (*f)(uint32_t, void *, void *), void *arg) argument [all...] |
H A D | drm_gem_names.h | 54 void drm_gem_names_init(struct drm_gem_names *names); 55 void drm_gem_names_fini(struct drm_gem_names *names); 56 uint32_t drm_gem_find_name(struct drm_gem_names *names, void *ptr); 57 void *drm_gem_find_ptr(struct drm_gem_names *names, uint32_t name); 58 void *drm_gem_name_ref(struct drm_gem_names *names, uint32_t name, 60 int drm_gem_name_create(struct drm_gem_names *names, void *obj, uint32_t *name); 61 void drm_gem_names_foreach(struct drm_gem_names *names, 63 void *drm_gem_names_remove(struct drm_gem_names *names, uint32_t name);
|
/freebsd-11-stable/contrib/diff/src/ |
H A D | dir.c | 37 size_t nnames; /* Number of names. */ 38 char const **names; /* Sorted names of files in dir, followed by 0. */ member in struct:dirdata 39 char *data; /* Allocated storage for file names. */ 42 /* Whether file names in directories should be compared with 53 /* Read a directory and get its vector of names. */ 62 char const **names; local 71 dirdata->names = 0; 131 /* Create the `names' table from the `data' table. */ 132 if (PTRDIFF_MAX / sizeof *names 226 char const **volatile names[2]; local [all...] |
/freebsd-11-stable/usr.bin/users/ |
H A D | users.cc | 13 * 4. Neither the name of the University nor the names of its contributors 49 set<string> names; local 63 names.insert(ut->ut_user); 66 if (!names.empty()) { 67 set<string>::iterator last = names.end(); 69 copy(names.begin(), last, ostream_iterator<string>(cout, " "));
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_by_name.c | 44 /* A table that maps names to functions. */ 46 struct { const char *name; int (*setter)(struct archive *); } names[] = variable in typeref:struct:__anon553 69 for (i = 0; names[i].name != NULL; i++) { 70 if (strcmp(name, names[i].name) == 0) 71 return ((names[i].setter)(a));
|
H A D | archive_write_set_format_by_name.c | 43 /* A table that maps names to functions. */ 45 struct { const char *name; int (*setter)(struct archive *); } names[] = variable in typeref:struct:__anon15 86 for (i = 0; names[i].name != NULL; i++) { 87 if (strcmp(name, names[i].name) == 0) 88 return ((names[i].setter)(a));
|
H A D | archive_write_set_format_filter_by_ext.c | 44 /* A table that maps names to functions. */ 46 struct { const char *name; int (*format)(struct archive *); int (*filter)(struct archive *); } names[] = variable in typeref:struct:__anon20 90 for (i = 0; names[i].name != NULL; i++) 92 if (cmpsuff(name, names[i].name) == 0) 106 int format_state = (names[names_index].format)(a); 108 return ((names[names_index].filter)(a)); 128 int format_state = (names[names_index].format)(a); 130 return ((names[names_index].filter)(a));
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | scandir.c | 13 * 4. Neither the name of the University nor the names of its contributors 84 struct dirent *d, *p, **names = NULL; local 93 names = (struct dirent **)malloc(arraysz * sizeof(struct dirent *)); 94 if (names == NULL) 99 continue; /* just selected names */ 118 names2 = reallocarray(names, arraysz, 124 names = names2; 127 names[numitems++] = p; 132 qsort_b(names, numitems, sizeof(struct dirent *), (void*)dcomp); 134 qsort_r(names, numitem [all...] |
/freebsd-11-stable/tools/tools/mtxstat/ |
H A D | mtxstat.pl | 47 my @names; # Field names 79 @names = split(' ', $header); 80 if (defined($key) && !grep(/^$key$/, @names)) { 85 my @fields = split(' ', $_, @names); 88 foreach (@names) {
|
/freebsd-11-stable/contrib/wpa/src/fst/ |
H A D | fst_ctrl_aux.c | 44 const char * fst_get_str_name(unsigned index, const char *names[], argument 47 if (index >= names_size || !names[index]) 49 return names[index];
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/hash/ |
H A D | t_hmac.c | 62 const char *names[] = { local 79 for (size_t t = 0; t < __arraycount(names); t++) 84 printf("%s: keysize = %zu datasize = %zu\n", names[t], 91 tmp2len = hmac(names[t], key, i, data, j, tmp2, 94 "!= %zu", names[t], tmp1len, tmp2len); 105 "keylen=%zu, datalen=%zu", names[t], i, j);
|
/freebsd-11-stable/release/picobsd/tinyware/vm/ |
H A D | vm.c | 42 char names[CNT*16]; local 52 len=sizeof(names); 53 i = sysctlbyname("hw.intrnames", &names, &len, NULL, 0); 57 for( i=0, a = names ; i < CNT && a < names+sizeof(names) ; ) { 59 while (a < names+sizeof(names) && *a)
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | genctype.py | 25 # Table of ASCII character names 26 names = ('nul', 'soh', 'stx', 'etx', 'eot', 'enq', 'ack', 'bel', variable 60 if len(names[c]) == 1: 61 name = names[c].center(3) 63 name = names[c].ljust(3)
|
/freebsd-11-stable/lib/libcasper/services/cap_pwd/tests/ |
H A D | pwd_test.c | 241 const char *cmds[7], *fields[10], *names[6]; local 255 names[0] = "root"; 256 names[1] = "toor"; 257 names[2] = "daemon"; 258 names[3] = "operator"; 259 names[4] = "bin"; 260 names[5] = "kmem"; 273 * names: root, toor, daemon, operator, bin, kmem 288 CHECK(cap_pwd_limit_users(cappwd, names, 6, NULL, 0) == 0); 300 * names 1189 runtest_users(cap_channel_t *cappwd, const char **names, const uid_t *uids, size_t nusers) argument 1266 const char *names[6]; local [all...] |
/freebsd-11-stable/lib/libcasper/services/cap_grp/tests/ |
H A D | grp_test.c | 229 const char *cmds[7], *fields[4], *names[5]; local 237 names[0] = "wheel"; 238 names[1] = "daemon"; 239 names[2] = "kmem"; 240 names[3] = "sys"; 241 names[4] = "operator"; 255 * names: wheel, daemon, kmem, sys, operator 270 CHECK(cap_grp_limit_groups(capgrp, names, 5, NULL, 0) == 0); 283 * names: 311 * names 1205 runtest_groups(cap_channel_t *capgrp, const char **names, const gid_t *gids, size_t ngroups) argument 1282 const char *names[5]; local [all...] |
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibstat.c | 236 static int ports_list(char names[][UMAD_CA_NAME_LEN], int n) argument 243 umad_get_ca_portguids(names[i], guids + found, 277 char names[UMAD_MAX_DEVICES][UMAD_CA_NAME_LEN]; local 306 if ((n = umad_get_cas_names(names, UMAD_MAX_DEVICES)) < 0) 307 IBPANIC("can't list IB device names"); 311 if (!strncmp(names[i], argv[0], sizeof names[i])) 316 strncpy(names[0], argv[0], sizeof(names[0])-1); 317 names[ [all...] |
/freebsd-11-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-11-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 sizeof(*names), (void **)&names); 74 if (strcmp(name, &names[offset]) == 0) 76 offset += strlen(&names[offset]) + 1; 78 OF_prop_free(names);
|
/freebsd-11-stable/lib/libc/iconv/ |
H A D | bsd_iconv.c | 206 char **list, **names; local 213 names = NULL; 223 names = malloc(sz * sizeof(char *)); 224 if (names == NULL) 229 names[j++] = curkey; 237 names[j++] = curitem; 239 np = (const char * const *)names; 242 free(names[n]); 243 free(names); 244 names [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tty/ |
H A D | MKexpanded.sh | 69 /* these are names we'd like to see */
|
/freebsd-11-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-11-stable/contrib/groff/src/utils/xtotroff/ |
H A D | xtotroff.c | 77 FontNamesAmbiguous(const char *font_name, char **names, int count) argument 86 if (!CanonicalizeFontName(names[i], i == 0 ? name1 : name2)) { 87 fprintf(stderr, "bad font name: %s\n", names[i]); 92 fprintf(stderr, " matches %s\n", names[0]); 93 fprintf(stderr, " and %s\n", names[i]); 104 char **names; local 130 names = XListFonts(dpy, name_string, 100000, &count); 136 if (FontNamesAmbiguous(font_name, names, count)) 139 XParseFontName(names[0], &parsed, &attributes); 151 fi = XLoadQueryFont(dpy, names[ [all...] |
/freebsd-11-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;
|