/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | AttributeVerifier.java | 191 StreamTokenizer tk = new StreamTokenizer(r); in initialize() local 195 initFieldChar(tk); in initialize() 199 parseTemplate(tk); in initialize() 209 StreamTokenizer tk = new StreamTokenizer(r); in initializeAttributesOnly() local 213 initFieldChar(tk); in initializeAttributesOnly() 217 parseAttributes(tk); in initializeAttributesOnly() 553 private void initForBase(StreamTokenizer tk) { in initForBase() argument 558 tk.resetSyntax(); in initForBase() 563 tk.whitespaceChars((int)'\n', (int)'\n'); in initForBase() 567 tk.lowerCaseMode(false); in initForBase() [all …]
|
H A D | Parser.java | 136 StreamTokenizer tk = new StreamTokenizer(new StringReader(query)); in parseAndEvaluateQuery() local 138 tk.resetSyntax(); // make all chars ordinary... in parseAndEvaluateQuery() 139 tk.wordChars('\177','\177'); // treat controls as part of tokens in parseAndEvaluateQuery() 140 tk.wordChars('\000', SPACE); in parseAndEvaluateQuery() 141 tk.ordinaryChar(NOT); // 'NOT' operator in parseAndEvaluateQuery() 142 tk.wordChars('"', '%'); in parseAndEvaluateQuery() 143 tk.ordinaryChar(AND); // 'AND' operator in parseAndEvaluateQuery() 144 tk.wordChars('\'', '\''); in parseAndEvaluateQuery() 145 tk.ordinaryChar(OPAREN); // filter grouping in parseAndEvaluateQuery() 146 tk.ordinaryChar(CPAREN); in parseAndEvaluateQuery() [all …]
|
H A D | SLPV1SSrvMsg.java | 343 StringTokenizer tk = new StringTokenizer(query, ",", true); in rewriteQueryJoin() local 347 while (tk.hasMoreElements()) { in rewriteQueryJoin() 348 String exp = tk.nextToken().trim(); in rewriteQueryJoin() 409 StreamTokenizer tk = in rewriteQuery() local 412 tk.resetSyntax(); // make all chars ordinary... in rewriteQuery() 413 tk.whitespaceChars('\000','\037'); in rewriteQuery() 414 tk.ordinaryChar(SPACE); // but beware of embedded whites... in rewriteQuery() 415 tk.wordChars('!', '%'); in rewriteQuery() 416 tk.ordinaryChar(AND_OP); in rewriteQuery() 417 tk.wordChars('\'', '\''); in rewriteQuery() [all …]
|
H A D | ServiceStoreFactory.java | 223 StringTokenizer tk = new StringTokenizer(line, URL_LIST_SEP); in deserialize() local 229 if (tk.hasMoreTokens()) { in deserialize() 230 surl = tk.nextToken().trim(); in deserialize() 232 if (tk.hasMoreTokens()) { in deserialize() 233 slang = tk.nextToken().trim(); in deserialize() 235 if (tk.hasMoreTokens()) { in deserialize() 236 slifetime = tk.nextToken().trim(); in deserialize() 238 if (tk.hasMoreTokens()) { in deserialize() 239 sType = tk.nextToken().trim(); in deserialize() 241 if (tk.hasMoreTokens()) { in deserialize()
|
H A D | AttributePattern.java | 94 StringTokenizer tk = new StringTokenizer(cstring, WILDCARD, true); in AttributePattern() local 96 while (tk.hasMoreTokens()) { in AttributePattern() 100 String tok = tk.nextToken(); in AttributePattern() 109 if (tk.hasMoreTokens()) { in AttributePattern() 110 middle = tk.nextToken(); in AttributePattern()
|
H A D | ServiceURL.java | 413 StringTokenizer tk = new StringTokenizer(host, ":"); in parseURL() local 415 host = tk.nextToken(); in parseURL() 419 if (tk.hasMoreTokens()) { in parseURL() 420 String p = tk.nextToken(); in parseURL() 422 if (tk.hasMoreTokens()) { in parseURL()
|
H A D | AttributeString.java | 74 StringTokenizer tk = in parse() local 77 while (tk.hasMoreTokens()) { in parse() 78 buf.append(tk.nextToken().toLowerCase(nlocale)); in parse()
|
H A D | SLPConfig.java | 109 SLPTokenizer tk = new SLPTokenizer(ln, "="); in load() local 111 if (!tk.hasMoreTokens()) {// empty line... in load() 116 String prop = tk.nextToken().trim(); in load() 123 if (!tk.hasMoreTokens()) {// line has no definition... in load() 129 String def = tk.nextToken().trim(); in load() 1079 StringTokenizer tk = new StringTokenizer(ltag, "-"); in langTagToLocale() local 1083 if (tk.hasMoreTokens()) { in langTagToLocale() 1084 lang = tk.nextToken(); in langTagToLocale() 1086 if (tk.hasMoreTokens()) { in langTagToLocale() 1087 country = tk.nextToken(""); in langTagToLocale()
|
H A D | SunDATable.java | 386 StringTokenizer tk = in processReply() local 392 while (tk.hasMoreElements()) { in processReply() 393 String attrExp = tk.nextToken(); in processReply()
|
H A D | DATable.java | 405 StringTokenizer tk = in validateScopes() local 409 while (tk.hasMoreTokens()) { in validateScopes() 418 tok = tk.nextToken(); in validateScopes()
|
H A D | ServiceLocationAttributeV1.java | 379 StringTokenizer tk = in ServiceLocationAttributeV1() local 389 unescapeAttributeString(tk.nextToken(), charCode); in ServiceLocationAttributeV1() 399 tk.nextToken(); // get rid of "=" in ServiceLocationAttributeV1() 403 String rest = tk.nextToken(""); in ServiceLocationAttributeV1()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | task.c | 342 task_t *tk; in task_find() local 347 (mod_hash_val_t *)&tk) == MH_ERR_NOTFOUND || in task_find() 348 (zoneid != ALL_ZONES && zoneid != tk->tk_zone->zone_id)) in task_find() 351 return (tk); in task_find() 373 task_t *tk; in task_hold_by_id_zone() local 376 if ((tk = task_find(id, zoneid)) != NULL) in task_hold_by_id_zone() 377 atomic_inc_32(&tk->tk_hold_count); in task_hold_by_id_zone() 380 return (tk); in task_hold_by_id_zone() 408 task_hold(task_t *tk) in task_hold() argument 410 atomic_inc_32(&tk->tk_hold_count); in task_hold() [all …]
|
H A D | exacct.c | 291 exacct_get_interval_task_usage(task_t *tk, task_usage_t *tu, in exacct_get_interval_task_usage() argument 297 ASSERT(MUTEX_HELD(&tk->tk_usage_lock)); in exacct_get_interval_task_usage() 299 prevusage = &tk->tk_zoneusage; in exacct_get_interval_task_usage() 301 prevusage = &tk->tk_prevusage; in exacct_get_interval_task_usage() 344 exacct_snapshot_task_usage(task_t *tk, task_usage_t *tu) in exacct_snapshot_task_usage() argument 351 if ((p = tk->tk_memb_list) == NULL) in exacct_snapshot_task_usage() 377 } while ((p = p->p_tasknext) != tk->tk_memb_list); in exacct_snapshot_task_usage() 387 exacct_sub_task_mstate(tu, tk->tk_inherited); in exacct_snapshot_task_usage() 432 exacct_calculate_task_usage(task_t *tk, task_usage_t *tu, int flag) in exacct_calculate_task_usage() argument 445 mutex_enter(&tk->tk_usage_lock); in exacct_calculate_task_usage() [all …]
|
H A D | fork.c | 160 task_t *tk; in cfork() local 295 tk = cp->p_task; in cfork() 300 pid_exit(cp, tk); in cfork() 302 task_rele(tk); in cfork() 656 tk = cp->p_task; in cfork() 663 pid_exit(cp, tk); in cfork() 666 task_rele(tk); in cfork() 724 task_t *tk; in forklwp_fail() local 742 tk = p->p_task; in forklwp_fail() 744 tk->tk_nlwps--; in forklwp_fail() [all …]
|
H A D | exit.c | 472 task_t *tk; in proc_exit() local 915 tk = p->p_task; in proc_exit() 918 tk->tk_nlwps--; in proc_exit() 919 tk->tk_proj->kpj_nlwps--; in proc_exit() 1345 task_t *tk; in freeproc() local 1437 tk = p->p_task; in freeproc() 1442 pid_exit(p, tk); /* frees pid and proc structure */ in freeproc() 1444 task_rele(tk); in freeproc()
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | k_clog_r.c | 250 double t1, t2, t3, t4, tk, z, wh, w, zh, zk; in __k_clog_r() local 260 tk = x; x = y; y = tk; in __k_clog_r() 350 tk = wh - x; in __k_clog_r() 351 t3 = tk * tk - (two * wh * tk - (wh * wh - t1)); in __k_clog_r() 355 tk = wh - y; in __k_clog_r() 356 t4 = tk * tk - (two * wh * tk - (wh * wh - t2)); in __k_clog_r() 380 tk = t1 - zk; in __k_clog_r() 381 zh = ((tk + t2) + t3) + t4; in __k_clog_r() 385 *er = (((tk - zh) + t2) + t3) + t4; in __k_clog_r() 391 wh = tk + t2; in __k_clog_r()
|
H A D | k_clog_rl.c | 411 long double t1, t2, t3, t4, tk, z, wh, w, zh, zk; local 425 tk = x; x = y; y = tk; 546 tk = wh - x; 547 t3 = tk * tk - (two * wh * tk - (wh * wh - t1)); 564 tk = wh - y; 565 t4 = tk * tk - (two * wh * tk - (wh * wh - t2)); 591 tk = t1 - zk; 592 zh = ((tk + t2) + t3) + t4; 611 *er = (((tk - zh) + t2) + t3) + t4; 620 wh = tk + t2;
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | exacctsys.c | 81 task_t *tk; in getacct_task() local 91 if ((tk = task_hold_by_id(tkid)) == NULL) in getacct_task() 93 error = exacct_assemble_task_usage(ac_task, tk, in getacct_task() 95 task_rele(tk); in getacct_task() 174 task_t *tk; in putacct() local 207 if ((tk = task_hold_by_id(id)) != NULL) { in putacct() 208 error = exacct_tag_task(&acg->ac_task, tk, kbuf, in putacct() 210 task_rele(tk); in putacct() 227 task_t *tk; in wracct_task() local 237 if ((tk = task_hold_by_id(tkid)) == NULL) in wracct_task() [all …]
|
H A D | processor_bind.c | 85 cpu_bind_task(task_t *tk, processorid_t bind, processorid_t *obind, in cpu_bind_task() argument 94 if ((p = tk->tk_memb_list) == NULL) in cpu_bind_task() 103 } while ((p = p->p_tasknext) != tk->tk_memb_list); in cpu_bind_task() 196 task_t *tk; in processor_bind() local 280 if ((tk = task_hold_by_id(id)) != NULL) { in processor_bind() 281 ret = cpu_bind_task(tk, bind, &obind, &err); in processor_bind() 283 task_rele(tk); in processor_bind()
|
H A D | tasksys.c | 72 task_t *tk, *oldtk; in tasksys_settaskid() local 174 tk = task_create(projid, curproc->p_zone); in tasksys_settaskid() 179 oldtk = task_join(tk, flags); in tasksys_settaskid() 187 return (tk->tk_tkid); in tasksys_settaskid()
|
H A D | pset.c | 329 pset_bind_task(task_t *tk, psetid_t pset, psetid_t *oldpset, void *projbuf, in pset_bind_task() argument 337 if ((pp = tk->tk_memb_list) == NULL) { in pset_bind_task() 350 } while ((pp = pp->p_tasknext) != tk->tk_memb_list); in pset_bind_task() 537 task_t *tk; in pset_bind() local 615 if ((tk = task_hold_by_id(id)) == NULL) { in pset_bind() 620 error = pset_bind_task(tk, pset, &oldpset, projbuf, zonebuf); in pset_bind() 622 task_rele(tk); in pset_bind()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | parse.c | 84 char *dinfo, *tk; in set_perm() local 105 (*dinfo == '<') && (tk = strrchr(++dinfo, '>'))) { in set_perm() 107 for (*tk = '\0'; (tk = strtok(dinfo, ", ")) != NULL; in set_perm() 110 tk, user); in set_perm() 111 if (strcmp(tk, user) == 0) { in set_perm()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | cram_md5.c | 23 unsigned char tk[16]; in hmac_md5() local 31 (void) MD5Final(tk, &tctx); in hmac_md5() 32 key = tk; in hmac_md5()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | md5.c | 375 unsigned char tk[16]; in _sasl_hmac_md5_init() local 384 _sasl_MD5Final(tk, &tctx); in _sasl_hmac_md5_init() 386 key = tk; in _sasl_hmac_md5_init() 422 MD5_memset(&tk, 0, sizeof(tk)); in _sasl_hmac_md5_init() 490 unsigned char tk[16]; local 499 _sasl_MD5Final(tk, &tctx); 501 key = tk;
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | timex.c | 209 long tk; /* number of leftover ticks */ in printt() local 215 tk = total % hz; /* ticks % hz */ in printt() 254 (void) fprintf(stderr, "%02ld\n", tk * 100/hz); in printt()
|