Searched refs:names (Results 1 - 25 of 288) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A DMKkeyname.awk46 names = names"\n\t\""$1"\\0\""
61 print "static const char key_names[] = "names";"
/freebsd-11-stable/usr.bin/getconf/
H A DMakefile10 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 Ddrm_gem_names.c41 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 Ddrm_gem_names.h54 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 Ddir.c37 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 Dusers.cc13 * 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 Darchive_write_add_filter_by_name.c44 /* 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 Darchive_write_set_format_by_name.c43 /* 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 Darchive_write_set_format_filter_by_ext.c44 /* 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 Dscandir.c13 * 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 Dmtxstat.pl47 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 Dfst_ctrl_aux.c44 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 Dt_hmac.c62 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 Dvm.c42 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 Dgenctype.py25 # 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 Dpwd_test.c241 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 Dgrp_test.c229 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 Dibstat.c236 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 Dmaketab.c26 * 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 Dfdt_pinctrl.c66 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 Dbsd_iconv.c206 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 DMKexpanded.sh69 /* these are names we'd like to see */
/freebsd-11-stable/contrib/binutils/binutils/
H A Dsysinfo.y31 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 Dxtotroff.c77 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 Dapr_rename.pl9 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;

Completed in 180 milliseconds

1234567891011>>