/src/games/battlestar/ |
parse.c | 49 static struct wlist *lookup(const char *); 76 lookup(const char *s) function in typeref:struct:wlist * 91 if (lookup(wp->string) == NULL) { 108 if ((wp = lookup(words[n])) == NULL) {
|
/src/lib/libpam/modules/pam_guest/ |
pam_guest.c | 55 lookup(const char *str, const char *list) function in typeref:typename:int 90 is_guest = lookup(user, guests);
|
/src/usr.bin/rdist/ |
lookup.c | 1 /* $NetBSD: lookup.c,v 1.9 2009/04/13 04:35:36 lukem Exp $ */ 35 static char sccsid[] = "@(#)lookup.c 8.1 (Berkeley) 6/9/93"; 37 __RCSID("$NetBSD: lookup.c,v 1.9 2009/04/13 04:35:36 lukem Exp $"); 114 (void) lookup(name, REPLACE, value); 118 * Lookup name in the table and return a pointer to it. 119 * LOOKUP - just do lookup, return NULL if not found. 125 lookup(char *name, int action, struct namelist *value) function in typeref:struct:namelist * 133 printf("lookup(%s, %d, %lx)\n", name, action, (long)value); 143 if (action != LOOKUP) { [all...] |
/src/usr.sbin/ypserv/revnetgroup/ |
hash.c | 124 lookup(struct group_entry **table, const char *key) function in typeref:typename:char *
|
/src/usr.bin/mail/ |
vars.c | 103 lookup(const char name[]) function in typeref:typename:PUBLIC struct var * 123 vp = lookup(name); 144 if ((vp = lookup(name)) == NULL)
|
/src/usr.bin/make/unit-tests/ |
suff-lookup.mk | 1 # $NetBSD: suff-lookup.mk,v 1.2 2020/10/24 03:18:22 rillig Exp $ 10 all: suff-lookup.cc 34 suff-lookup.sho:
|
/src/usr.sbin/gspa/gspa/ |
gsp_sym.c | 51 lookup(char *id, bool makeit) function in typeref:typename:symbol 85 ptr = lookup(id, TRUE); 135 bp = lookup(id, TRUE); 142 fp = lookup(id, TRUE);
|
/src/sys/net/npf/ |
npfkern.h | 47 struct ifnet * (*lookup)(npf_t *, const char *); member in struct:__anona1ed184e0108
|
/src/usr.bin/m4/ |
look.c | 100 lookup(const char *name) function in typeref:typename:ndptr 186 ndptr n = lookup(name); 203 ndptr n = lookup(name); 274 p = lookup(name);
|
/src/usr.bin/netstat/ |
vtw.c | 120 static void *lookup(const char *); 155 lookup(const char *name) function in typeref:typename:void * 197 p = lookup("timebasebin"); 237 if ((p = lookup("vtw_stats")) == NULL) 279 if ((p = lookup("fat_tcpv4")) == NULL) 283 if ((p = lookup("vtw_tcpv4")) == NULL) 387 if ((p = lookup("fat_tcpv6")) == NULL) 390 if ((p = lookup("vtw_tcpv6")) == NULL)
|
/src/sys/external/bsd/ipf/netinet/ |
radix_ipf.h | 64 idx_ham_func_t lookup; /* look for specific addr/mask */ member in struct:ipf_rdx_head
|
/src/usr.sbin/lpr/pac/ |
pac.c | 98 static struct hent *lookup(const char *); 230 hp = lookup(cp); 339 if ((hp = lookup(name)) != NULL) 357 * Lookup a name in the hash table and return a pointer 362 lookup(const char *name) function in typeref:struct:hent * 411 * Perform lookup for printer name or abbreviation --
|
/src/usr.sbin/puffs/mount_psshfs/ |
subr.c | 98 lookup(struct psshfs_dir *bdir, size_t ndir, const char *name) function in typeref:struct:psshfs_dir * 362 testd = lookup(olddir, nent, psn->dir[idx].entryname); 537 pd = lookup(psn_parent->dir, psn_parent->dentnext, entryname);
|
/src/usr.sbin/repquota/ |
repquota.c | 112 static struct fileusage *lookup(uint32_t, int); 259 if ((fup = lookup(qk.qk_id, idtype)) == 0) 466 * Lookup an id of a specific id type. 469 lookup(uint32_t id, int idtype) function in typeref:struct:fileusage * 479 * Lookup and remove an id of a specific id type. 508 if ((fup = lookup(id, idtype)) != NULL) {
|
/src/sys/dev/videomode/ |
edid.c | 335 const struct videomode *lookup; local in function:edid_std_timing 361 /* first try to lookup the mode as a DMT timing */ 363 if ((lookup = edid_mode_lookup_list(name)) != NULL) { 364 *vmp = *lookup; 601 /* lookup established modes */
|
/src/lib/libc/gen/ |
getnetgrent.c | 75 static int lookup(char *, char **, int); 306 * lookup(): Find the given key in the database or yp, and return its value 310 lookup(char *name, char **line, int bywhat) function in typeref:typename:int 322 r = nsdispatch(NULL, dtab, NSDB_NETGROUP, "lookup", default_files_nis, 339 lookup(name, line, bywhat) function 428 /* Lookup this netgroup */ 430 if (!lookup(grp, &line, _NG_KEYBYNAME)) { 531 /* Lookup this netgroup */ 533 if (!lookup(grp, &line, _NG_KEYBYNAME)) { 613 * in_lookup1(): Fast lookup for a key in the appropriate ma [all...] |
/src/sbin/dkctl/ |
dkctl.c | 82 static struct command *lookup(const char *); 197 command = lookup(argv[0]); 213 lookup(const char *name) function in typeref:struct:command *
|
/src/sys/arch/xen/xenbus/ |
xenbus_probe.c | 315 int *lookup = NULL; local in function:xenbus_probe_device_type 339 lookup = kmem_zalloc(lookup_sz, KM_SLEEP); 355 /* Build lookup table in ascending order */ 366 lookup[pos++] = minp; 381 if (lookup) 382 i = lookup[pos]; 487 if (lookup) 488 kmem_free(lookup, lookup_sz);
|
/src/sys/lib/libsa/ |
dosfs.c | 148 static int lookup(DOS_FS *, u_int, const char *, const struct direntry **); 501 if ((err = lookup(fs, stclus(fs->fatsz, de), name, &de))) 511 * Lookup path segment 514 lookup(DOS_FS *fs, u_int clus, const char *name, const struct direntry **dep) function in typeref:typename:int
|
/src/sys/netinet/ |
sctp_asconf.c | 655 /* skip the lookup address parameter */ 661 printf("handle_asconf: couldn't get lookup addr!\n"); 669 offset += ntohs(p_addr->ph.param_length); /* skip lookup addr */ 2247 * since it's simpler to fill in the asconf chunk header lookup 2287 /* save pointers to lookup address and asconf params */ 2317 struct sctp_ipv6addr_param *lookup; local in function:sctp_compose_asconf 2320 lookup = (struct sctp_ipv6addr_param *)lookup_ptr; 2321 lookup->ph.param_type = 2332 lookup->ph.param_length = htons(SCTP_SIZE32(p_size)); 2333 memcpy(lookup->addr, &aa->ap.addrp.addr, addr_size) 2363 struct sctp_ipv6addr_param *lookup; local in function:sctp_compose_asconf [all...] |
/src/lib/libintl/ |
gettext.c | 76 static const char *lookup(const char *, struct domainbinding *, size_t *); 192 * lookup internationalized message on database locale/category/domainname 196 * if the lookup fails, the function will return msgid1 or msgid2 as is. 714 mohandle->mo.mo_header = lookup("", db, &headerlen); 886 lookup(const char *msgid, struct domainbinding *db, size_t *rlen) function in typeref:typename:const char * 1035 v = lookup(msgid, db, &len);
|
/src/sys/dev/microcode/siop/ |
ncr53cxxx.c | 316 int lookup (char *); 777 value = lookup (name); 825 int lookup (char *name) function in typeref:typename:int
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_dsi_vbt.c | 395 struct i2c_adapter_lookup *lookup = data; local in function:i2c_adapter_lookup 396 struct intel_dsi *intel_dsi = lookup->intel_dsi; 405 if (lookup->slave_addr != sb->slave_address) 408 status = acpi_get_handle(lookup->dev_handle, 428 struct i2c_adapter_lookup lookup; local in function:i2c_acpi_find_adapter 432 memset(&lookup, 0, sizeof(lookup)); 433 lookup.slave_addr = slave_addr; 434 lookup.intel_dsi = intel_dsi; 435 lookup.dev_handle = acpi_device_handle(acpi_dev) [all...] |
/src/usr.sbin/quotacheck/ |
quotacheck.c | 158 static struct fileusage *lookup(uint32_t, int); 532 if ((fup = lookup(id, type)) == 0) 659 * Lookup an id of a specific type. 662 lookup(uint32_t id, int type) function in typeref:struct:fileusage * 681 if ((fup = lookup(id, type)) != NULL)
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_context.c | 1432 unsigned long lookup; local in function:set_sseu 1451 lookup = 0; 1453 lookup |= LOOKUP_USER_INDEX; 1455 ce = lookup_user_engine(ctx, lookup, &user_sseu.engine); 2307 unsigned long lookup; local in function:get_sseu 2325 lookup = 0; 2327 lookup |= LOOKUP_USER_INDEX; 2329 ce = lookup_user_engine(ctx, lookup, &user_sseu.engine);
|