Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributeVerifier.java191 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 DParser.java136 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 DSLPV1SSrvMsg.java343 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 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()
/titanic_50/usr/src/uts/common/os/
H A Dtask.c341 task_t *tk; in task_find() local
346 (mod_hash_val_t *)&tk) == MH_ERR_NOTFOUND || in task_find()
347 (zoneid != ALL_ZONES && zoneid != tk->tk_zone->zone_id)) in task_find()
350 return (tk); in task_find()
372 task_t *tk; in task_hold_by_id_zone() local
375 if ((tk = task_find(id, zoneid)) != NULL) in task_hold_by_id_zone()
376 atomic_inc_32(&tk->tk_hold_count); in task_hold_by_id_zone()
379 return (tk); in task_hold_by_id_zone()
407 task_hold(task_t *tk) in task_hold() argument
409 atomic_inc_32(&tk->tk_hold_count); in task_hold()
[all …]
H A Dexacct.c291 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 Dfork.c137 task_t *tk; in cfork() local
280 tk = cp->p_task; in cfork()
285 pid_exit(cp, tk); in cfork()
287 task_rele(tk); in cfork()
637 tk = cp->p_task; in cfork()
653 pid_exit(cp, tk); in cfork()
656 task_rele(tk); in cfork()
714 task_t *tk; in forklwp_fail() local
732 tk = p->p_task; in forklwp_fail()
734 tk->tk_nlwps--; in forklwp_fail()
[all …]
/titanic_50/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;
/titanic_50/usr/src/uts/common/syscall/
H A Dexacctsys.c83 task_t *tk; in getacct_task() local
93 if ((tk = task_hold_by_id(tkid)) == NULL) in getacct_task()
95 error = exacct_assemble_task_usage(ac_task, tk, in getacct_task()
97 task_rele(tk); in getacct_task()
176 task_t *tk; in putacct() local
209 if ((tk = task_hold_by_id(id)) != NULL) { in putacct()
210 error = exacct_tag_task(&acg->ac_task, tk, kbuf, in putacct()
212 task_rele(tk); in putacct()
229 task_t *tk; in wracct_task() local
239 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()
/titanic_50/usr/src/lib/efcode/include/fcode/
H A Dprivate.h81 #define ANSI(tk, t, nm, fnc) FCODE(tk, (ANSI_WORD|P1275_WORD|t), nm, fnc) argument
82 #define P1275(tk, t, nm, fnc) FCODE(tk, (P1275_WORD|t), nm, fnc) argument
/titanic_50/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()
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Dcram_md5.c25 unsigned char tk[16]; in hmac_md5() local
33 (void) MD5Final(tk, &tctx); in hmac_md5()
34 key = tk; in hmac_md5()
/titanic_50/usr/src/lib/libsasl/lib/
H A Dmd5.c376 unsigned char tk[16]; in _sasl_hmac_md5_init() local
385 _sasl_MD5Final(tk, &tctx); in _sasl_hmac_md5_init()
387 key = tk; in _sasl_hmac_md5_init()
423 MD5_memset(&tk, 0, sizeof(tk)); in _sasl_hmac_md5_init()
491 unsigned char tk[16]; local
500 _sasl_MD5Final(tk, &tctx);
502 key = tk;
/titanic_50/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmFrame.java90 Toolkit tk = Toolkit.getDefaultToolkit(); in pmFrame() local
91 Image img = tk.getImage(iconUrl); in pmFrame()
/titanic_50/usr/src/cmd/sa/
H A Dtimex.c211 long tk; /* number of leftover ticks */ in printt() local
217 tk = total % hz; /* ticks % hz */ in printt()
256 (void) fprintf(stderr, "%02ld\n", tk * 100/hz); in printt()

12