| /onnv/onnv-gate/usr/src/lib/libast/common/string/ |
| strnvcmp.c | 35 register const char* be; local 40 be = b + n; 45 if (b >= be) 49 else if (b >= be) 56 while (b < be && isdigit(*b))
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| getnetgrent.c | 136 * the requests will be serialized anyway, but let's play safe and 147 nss_backend_t *be; local 155 be = getnetgrent_backend; 156 if (be != NULL && NSS_INVOKE_DBOP(be, NSS_DBOP_SETENT, 158 (void) NSS_INVOKE_DBOP(be, NSS_DBOP_DESTRUCTOR, 0); 159 be = NULL; 161 if (be == NULL) { 168 be = args.iterator; 170 getnetgrent_backend = be; [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/user/common/ |
| user_common.c | 32 * An implementation that used mmap() sensibly would be a wonderful thing, 48 _nss_user_setent(be, dummy) 49 user_backend_ptr_t be; 52 if (be->f == 0) { 53 if (be->filename == 0) { 57 if ((be->f = fopen(be->filename, "rF")) == 0) { 61 rewind(be->f); 68 _nss_user_endent(be, dummy) 69 user_backend_ptr_t be; 280 user_backend_ptr_t be; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| dist.c | 38 * the range. The returned buckets will be automatically freed when the dcmd 56 * We want the bins to be a constant ratio: 120 * any inadequate buckets must be at the beginning. To deal 124 * A final wrinkle is that beg *can* be zero. We compute r and b 157 * is eleven characters. Optionally, a label other than "count" may be specified 184 * given total is assumed to be the sum of all elements in the counts array. 198 int be = distarray[i + 1] - 1; /* bucket end */ local 211 for (b = bb; b <= be; b++) 220 if (bb == be) 223 (void) mdb_snprintf(range, sizeof (range), "%d-%d", bb, be); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| clock_realtime.c | 223 * "ticks" will be interpreted against lbolt. That is, 224 * if we specify 1 tick, we will be registering a callout 228 * may be less than ("ticks" / hz) seconds (but not more than 307 clock_backend_t *be = &clock_realtime; local 308 struct sigevent *ev = &be->clk_default; 314 be->clk_clock_settime = clock_realtime_settime; 315 be->clk_clock_gettime = clock_realtime_gettime; 316 be->clk_clock_getres = clock_realtime_getres; 317 be->clk_timer_gettime = clock_realtime_timer_gettime; 318 be->clk_timer_settime = clock_realtime_timer_settime [all...] |
| clock_highres.c | 135 * expiration does wrap, the earliest the problem can be encountered 340 clock_backend_t *be = &clock_highres; local 341 struct sigevent *ev = &be->clk_default; 347 be->clk_clock_settime = clock_highres_settime; 348 be->clk_clock_gettime = clock_highres_gettime; 349 be->clk_clock_getres = clock_highres_getres; 350 be->clk_timer_create = clock_highres_timer_create; 351 be->clk_timer_gettime = clock_highres_timer_gettime; 352 be->clk_timer_settime = clock_highres_timer_settime; 353 be->clk_timer_delete = clock_highres_timer_delete [all...] |
| cyclic.c | 36 * absolute time. As a result, these parts cannot typically be reprogrammed 44 * present a time-based interrupt source which can be reprogrammed arbitrarily 59 * can be specified to fire at high, lock or low interrupt level, and may be 61 * partition binding may be changed dynamically; the cyclic will be "juggled" 63 * be specified to be "omnipresent", denoting firing on all online CPUs. 142 * the array will be doubled. The array will never shrink. Cyclics are 161 * (guaranteed to be the earliest in the heap) is then communicated to th 849 cyc_backend_t *be = cpu->cyp_backend; local 939 cyc_backend_t *be = cpu->cyp_backend; local 1323 cyc_backend_t *be = cpu->cyp_backend; local 1336 cyc_backend_t *be = cpu->cyp_backend; local 1437 cyc_backend_t *be = cpu->cyp_backend; local 1646 cyc_backend_t *be = cpu->cyp_backend; local 1712 cyc_backend_t *be = cpu->cyp_backend; local 1752 cyc_backend_t *be = cpu->cyp_backend; local 1889 cyc_backend_t *be = cpu->cyp_backend; local 1950 cyc_backend_t *be = cpu->cyp_backend; local 2015 cyc_backend_t *be = cpu->cyp_backend; local 2330 cyc_backend_t *be = cpu->cyp_backend; local 2413 cyc_backend_t *be = cpu->cyp_backend; local 2443 cyc_backend_t *be = cpu->cyp_backend; local 3556 cyc_backend_t *be; local 3608 cyc_backend_t *be; local [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/nisplus/common/ |
| nisplus_common.c | 92 process_val(args, be, result) 94 nisplus_backend_t *be; 109 parsestat = (be->obj2str)(NIS_RES_NUMOBJ(result), 110 NIS_RES_OBJECT(result), be, args); 121 * be->buffer because we cannot determine if 124 if (args->buf.result == NULL && be->buffer == NULL) { 132 * If the data is in be->buffer it needs 133 * to be marshalled. 139 parsestat = (*args->str2ent)(be->buffer, 140 be->buflen 287 nisplus_backend_t *be; local [all...] |
| getexecattr.c | 48 nisplus_backend_t *be; member in struct:__exec_nisplus_args 90 nisplus_backend_t *be = eargp->be; local 98 parsestat = (be->obj2str) (1, obj, be, argp); 104 * will be in argp->buf.buffer. nscd does not 108 if (argp->buf.result == NULL && be->buffer == NULL) { 116 * If the data is in be->buffer it needs 117 * to be marshalled. 123 parsestat = (*argp->str2ent)(be->buffer, be->buflen, argp->buf.result [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/ad/common/ |
| ad_common.c | 222 _nss_ad_marshall_data(ad_backend_ptr be, nss_XbyY_args_t *argp) 240 stat = (*argp->str2ent)(be->buffer, be->buflen, 251 _nss_ad_sanitize_status(ad_backend_ptr be, nss_XbyY_args_t *argp, 254 if (be->buffer != NULL) { 255 free(be->buffer); 256 be->buffer = NULL; 257 be->buflen = 0; 258 be->db_type = NSS_AD_DB_NONE; 306 * This way the LRU entry can be found a 520 ad_backend_ptr be; local [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/compat/common/ |
| compat_common.c | 45 * This should be in a header. 63 * of the str2auuser() and str2userattr() that can be found in 65 * or au_user_str_t structure (so check on user name can be 187 netgr_in(compat_backend_ptr_t be, const char *group, const char *user) 189 if (be->yp_domain == 0) { 190 if (yp_get_default_domain((char **)&be->yp_domain) != 0) { 194 return (innetgr(group, 0, user, be->yp_domain)); 198 netgr_set(be, netgroup) 199 compat_backend_ptr_t be; 206 if (be->getnetgrent_backend != 0 & 1236 compat_backend_ptr_t be; local [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/ |
| ldap_common.c | 115 _nss_ldap_lookup(ldap_backend_ptr be, nss_XbyY_args_t *argp, 133 (void) __ns_ldap_freeResult(&be->result); 136 be->attrs, NULL, 0, &be->result, &error, NULL, 147 be->ldapobj2str(be, argp)) != NSS_STR_PARSE_SUCCESS) { 153 * a string to be returned in NSS. 157 if (be->db_type == NSS_LDAP_DB_PUBLICKEY) { 160 be->db_type = NSS_LDAP_DB_NONE; 168 * for different purpose so ethers has to be treated differently 510 ldap_backend_ptr be; local [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/nis/common/ |
| nis_common.c | 58 * be necessary. If we're interested in performance we should provide 103 _nss_nis_setent(be, dummy) 104 nis_backend_ptr_t be; 107 if (be->enum_key != 0) { 108 free(be->enum_key); 109 be->enum_key = 0; 111 be->enum_keylen = 0; 116 _nss_nis_endent(be, dummy) 117 nis_backend_ptr_t be; 120 return (_nss_nis_setent(be, dummy)) 619 nis_backend_ptr_t be; local [all...] |
| getnetgrent.c | 82 getnetgr_set(be, a) 83 struct nis_getnetgr_be *be; 88 if (be->netgroup != 0 && 89 strcmp(be->netgroup, netgroup) == 0) { 91 be->next_member = be->all_members; 98 getnetgr_get(be, a) 99 struct nis_getnetgr_be *be; 105 if ((mem = be->next_member) == 0) { 130 be->next_member = mem->gl_nxt 883 struct nis_netgr_be *be; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/nscd/ |
| nscd_nswstate.c | 59 * be freed 72 (me, "release db be ptr %p\n", s->be_db_pp[i]); 77 if (s->be != NULL) { 79 if (s->be[i] == NULL) 82 (void) NSS_INVOKE_DBOP(s->be[i], 84 (void) NSS_INVOKE_DBOP(s->be[i], 87 free(s->be); 202 s->be = calloc(s->max_src, sizeof (nss_backend_t **)); 203 if (s->be == NULL) { 205 (me, "not able to allocate s->be\n") 252 nss_backend_t *be; local [all...] |
| nscd_switch.c | 186 * determine if an NSS lookup is to be performed 384 * Determine if a request should be done locally in the getXbyY caller's 385 * process. Return none zero if yes, 0 otherwise. This should be called 415 * Determine if a request should be done locally in the getXbyY caller's 416 * process. Return none zero if yes, 0 otherwise. This should be called 597 * data_len in the packed buf header may be changed 619 "may be needed\n"); 684 * for door request that should be processed by the client, 749 nss_backend_t *be = NULL; local 819 /* stop if the source is one that should be TRYLOCAL * 1057 nss_backend_t *be; local 1083 nss_backend_t *be; local 1199 nss_backend_t *be; local [all...] |
| nscd_switch.h | 105 extern void *_nscd_be_version; /* default version for supported be */ 110 nscd_bool_t recheck_be; /* if set, check/init be */ 115 nss_backend_t **be; /* array of backends */ member in struct:nscd_nsw_state 116 nss_backend_constr_t *be_constr; /* be constructor array */ 149 nss_backend_t *be; member in struct:nscd_getent_context 172 * should be used
|
| /onnv/onnv-gate/usr/src/lib/nsswitch/mdns/common/ |
| mdns_common.c | 250 _nss_mdns_querybyname(mdns_backend_ptr_t be, char *qname, 273 while ((srchidx = searchdomain(be, name, srchidx, &sname)) != -1) { 372 _nss_mdns_querybyaddr(mdns_backend_ptr_t be, char *name, int af, 385 if (validdomain(be, name, 0) == B_FALSE) { 436 mdns_backend_ptr_t be; local 438 if ((be = (mdns_backend_ptr_t)calloc(1, sizeof (*be))) == NULL) 440 be->ops = ops; 441 be->n_ops = n_ops; 442 _nss_mdns_updatecfg(be); 700 mdns_backend_ptr_t be = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/dns/common/ |
| dns_common.c | 176 * the above line will be followed by: 265 dns_backend_ptr_t be; local 267 if ((be = (dns_backend_ptr_t)malloc(sizeof (*be))) == 0) 270 be->ops = ops; 271 be->n_ops = n_ops; 272 return ((nss_backend_t *)be); 279 * Within DNS there should be only one canonical name, aliases should 498 * canonical name should be in the RDATA.
|
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/nameser/ |
| ns_name.c | 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 398 * Unpack a domain name from a message, source may be compressed. 412 * Unpack a domain name from a message, source may be compressed. 473 * there must be a loop. 743 ns_nname_ct ae = a + as, be = b + bs; local 751 if (a + ac >= ae || b + bc >= be) { 767 /* If A is shorter, it cannot be owned by B. */ 781 /* A might be longer or not, but either way, B owns it. */ 1102 * MUST be just sufficient to contain the number of bits specified 1104 * hexadecimal or octal digit, they MUST be zero [all...] |
| /onnv/onnv-gate/usr/src/lib/auditd_plugins/binfile/ |
| binfile.c | 92 * directory list can be created from auditd_plugin_open() while the 172 char *bs, *be; local 207 be = bs + strlen(bs) - 1; 208 while (be > bs) { /* trim trailing blanks */ 211 be--; 213 *(be + 1) = '\0'; 242 char *bs, *be; local 297 be = bs + strlen(bs) - 1; 298 while (be > bs) { /* trim trailing blanks */ 301 be-- [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/regex/ |
| regnexec.c | 139 short be; /* which end of pair */ member in struct:__anon85 224 * around alternate attempts, so that fossils will not be 281 pospush(Env_t* env, Rex_t* rex, unsigned char* p, int be) 292 pos->be = be; 317 DEBUG_CODE(0x0080,{sfprintf(sfstdout, " %-*.*sold ", (level + 3) * 4, (level + 3) * 4, "");for (oe = os; oe < oend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n %-*.*snew ", (level + 3) * 4, (level + 3) * 4, "");for (oe = ns; oe < nend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n");},{0;}); 339 if (oe->be != END_ANY) 349 if (ne->be != END_ANY) [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/misc/ |
| magic.c | 1593 register char* be; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svc/configd/ |
| backend.c | 31 * be able to statvfs(2) possibly large systems. This define gives us 266 * is repeated in backend_check_upgrade(), and must be kept in-sync. 298 * must be kept in sync with the indexing specification here. 372 sqlite_backend_t *be = arg; local 375 (void) fprintf(stderr, "%d: %s\n", be->be_type, sql); 481 backend_error(sqlite_backend_t *be, int error, char *errmsg) 498 backend_panic("%s: db error: %s", be->be_path, errmsg); 521 * dirname will either be pathname, or ".". 673 backend_backup_base(sqlite_backend_t *be, const char *name, 683 (void) strlcpy(out, be->be_path, out_len) 1125 sqlite_backend_t *be = NULL; local 1235 sqlite_backend_t *be; local 1393 sqlite_backend_t *be; local 1535 sqlite_backend_t *be; local 1775 sqlite_backend_t *be; local 1811 sqlite_backend_t *be; local 1843 sqlite_backend_t *be; local 1918 sqlite_backend_t *be; local 1945 sqlite_backend_t *be; local 2012 sqlite_backend_t *be; local 2052 sqlite_backend_t *be; local 2106 sqlite_backend_t *be; local 2135 sqlite_backend_t *be; local 2291 sqlite_backend_t *be; local [all...] |
| file_object.c | 107 delete_stack_push(delete_info_t *dip, uint32_t be, delete_cb_func *cb, 130 ent->de_backend = be; 174 assert(cur->ds_next == NULL); /* should only be one */ 215 uint32_t be = ent->de_backend; local 220 backend_tx_t *tx = (be == BACKEND_TYPE_NORMAL)? dip->di_tx : 240 uint32_t be = ent->de_backend; local 245 backend_tx_t *tx = (be == BACKEND_TYPE_NORMAL)? dip->di_tx : 254 * group. If we are, there's nothing to be done. 256 if (be == BACKEND_TYPE_NORMAL) { 275 info.dci_be = be; 301 uint32_t be = ent->de_backend; local 328 uint32_t be = ent->de_backend; local 362 uint32_t be = ent->de_backend; local 405 uint32_t be = ent->de_backend; local [all...] |