Home
last modified time | relevance | path

Searched refs:tk (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributeVerifier.java195 initFieldChar(tk); in initialize()
199 parseTemplate(tk); in initialize()
213 initFieldChar(tk); in initializeAttributesOnly()
558 tk.resetSyntax(); in initForBase()
602 initForBase(tk); in initIdChar()
629 initForBase(tk); in initSchemeIdChar()
662 initForBase(tk); in initStringItemChar()
694 initForBase(tk); in initIntItemChar()
721 initForBase(tk); in initFieldChar()
1181 tk.pushBack(); in parseAttributes()
[all …]
H A DParser.java142 tk.wordChars('"', '%'); in parseAndEvaluateQuery()
148 tk.wordChars('+', '{'); in parseAndEvaluateQuery()
305 tok = tk.nextToken(); in parseFilter()
316 tk.pushBack(); in parseFilter()
325 tk.pushBack(); in parseFilter()
330 tok = tk.nextToken(); in parseFilter()
391 tk.pushBack(); in parseFilterlist()
546 tk.pushBack(); in parseOp()
593 tk.pushBack(); in parseValue()
648 buf.append(tk.sval); in parsePotentialNonASCII()
[all …]
H A DSLPV1SSrvMsg.java409 StreamTokenizer tk = in rewriteQuery() local
470 tok = eatWhite(tk); in parseInternal()
485 tk.pushBack(); in parseInternal()
516 tk.pushBack(); in parseInternal()
577 tk.pushBack(); in parseLogicalExpression()
620 tok = eatWhite(tk); in parse()
846 value += tk.sval; in parseTag()
858 tk.nextToken(); in parseTag()
868 int tok = tk.ttype; in parseOperator()
937 tk.pushBack(); in parseOperator()
[all …]
H A DServiceStoreFactory.java223 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 DAttributePattern.java94 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 DAttributeString.java74 StringTokenizer tk = in parse() local
77 while (tk.hasMoreTokens()) { in parse()
78 buf.append(tk.nextToken().toLowerCase(nlocale)); in parse()
H A DServiceURL.java413 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 DSLPConfig.java109 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 DDATable.java405 StringTokenizer tk = in validateScopes() local
409 while (tk.hasMoreTokens()) { in validateScopes()
418 tok = tk.nextToken(); in validateScopes()
H A DSunDATable.java386 StringTokenizer tk = in processReply() local
392 while (tk.hasMoreElements()) { in processReply()
393 String attrExp = tk.nextToken(); in processReply()
H A DServiceLocationAttributeV1.java379 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 Dtask.c342 task_t *tk; in task_find() local
351 return (tk); in task_find()
373 task_t *tk; in task_hold_by_id_zone() local
380 return (tk); in task_hold_by_id_zone()
503 tk->tk_nlwps = 0; in task_create()
505 tk->tk_nprocs = 0; in task_create()
567 tk->tk_nprocs_kstat = task_kstat_create(tk, zone); in task_create()
568 return (tk); in task_create()
607 task_hold(tk); in task_attach()
608 p->p_task = tk; in task_attach()
[all …]
H A Dexacct.c299 prevusage = &tk->tk_zoneusage; in exacct_get_interval_task_usage()
301 prevusage = &tk->tk_prevusage; in exacct_get_interval_task_usage()
445 mutex_enter(&tk->tk_usage_lock); in exacct_calculate_task_usage()
450 mutex_exit(&tk->tk_usage_lock); in exacct_calculate_task_usage()
461 mutex_enter(&tk->tk_usage_lock); in exacct_calculate_task_usage()
472 mutex_exit(&tk->tk_usage_lock); in exacct_calculate_task_usage()
488 mutex_exit(&tk->tk_usage_lock); in exacct_calculate_task_usage()
715 task_t *tk = (task_t *)arg; in exacct_commit_task() local
717 zone_t *zone = tk->tk_zone; in exacct_commit_task()
720 ASSERT(tk != task0p); in exacct_commit_task()
[all …]
H A Dfork.c160 task_t *tk; in cfork() local
295 tk = cp->p_task; 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()
898 task_t *tk; in newproc() local
[all …]
H A Dexit.c472 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 Dk_clog_r.c250 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 Dk_clog_rl.c411 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 Dexacctsys.c81 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 Dprocessor_bind.c85 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 Dtasksys.c72 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 Dpset.c329 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 Dparse.c84 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 Dcram_md5.c23 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 Dmd5.c375 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 Dtimex.c209 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()

12