Searched defs:tk (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcram_md5.c25 unsigned char tk[16]; local
33 (void) MD5Final(tk, &tctx);
34 key = tk;
/illumos-gate/usr/src/uts/common/syscall/
H A Dprocessor_bind.c85 cpu_bind_task(task_t *tk, processorid_t bind, processorid_t *obind, argument
94 if ((p = tk->tk_memb_list) == NULL)
103 } while ((p = p->p_tasknext) != tk->tk_memb_list);
196 task_t *tk; local
280 if ((tk = task_hold_by_id(id)) != NULL) {
281 ret = cpu_bind_task(tk, bind, &obind, &err);
283 task_rele(tk);
H A Dtasksys.c72 task_t *tk, *oldtk; local
174 tk = task_create(projid, curproc->p_zone);
179 oldtk = task_join(tk, flags);
187 return (tk->tk_tkid);
H A Dexacctsys.c83 task_t *tk; local
93 if ((tk = task_hold_by_id(tkid)) == NULL)
95 error = exacct_assemble_task_usage(ac_task, tk,
97 task_rele(tk);
176 task_t *tk; local
209 if ((tk = task_hold_by_id(id)) != NULL) {
210 error = exacct_tag_task(&acg->ac_task, tk, kbuf,
212 task_rele(tk);
229 task_t *tk; local
239 if ((tk
[all...]
H A Dpset.c329 pset_bind_task(task_t *tk, psetid_t pset, psetid_t *oldpset, void *projbuf, argument
337 if ((pp = tk->tk_memb_list) == NULL) {
350 } while ((pp = pp->p_tasknext) != tk->tk_memb_list);
537 task_t *tk; local
615 if ((tk = task_hold_by_id(id)) == NULL) {
620 error = pset_bind_task(tk, pset, &oldpset, projbuf, zonebuf);
622 task_rele(tk);
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dmd5.c376 unsigned char tk[16]; local
385 _sasl_MD5Final(tk, &tctx);
387 key = tk;
423 MD5_memset(&tk, 0, sizeof(tk));
491 unsigned char tk[16]; local
500 _sasl_MD5Final(tk, &tctx);
502 key = tk;
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DParser.java136 StreamTokenizer tk = new StreamTokenizer(new StringReader(query));
138 tk.resetSyntax(); // make all chars ordinary...
139 tk.wordChars('\177','\177'); // treat controls as part of tokens
140 tk.wordChars('\000', SPACE);
141 tk.ordinaryChar(NOT); // 'NOT' operator
142 tk.wordChars('"', '%');
143 tk.ordinaryChar(AND); // 'AND' operator
144 tk.wordChars('\'', '\'');
145 tk.ordinaryChar(OPAREN); // filter grouping
146 tk
282 parseFilter(StreamTokenizer tk, Parser.QueryEvaluator ev, Locale locale, boolean invert, boolean eval) argument
349 parseFilterlist(StreamTokenizer tk, Parser.QueryEvaluator ev, Locale locale, char op, boolean invert, boolean eval) argument
406 parseItem(StreamTokenizer tk, Parser.QueryEvaluator ev, Locale locale, boolean invert, boolean eval) argument
514 parseAttr(StreamTokenizer tk, Locale locale) argument
527 parseOp(StreamTokenizer tk) argument
582 parseValue(StreamTokenizer tk, Locale locale) argument
638 parsePotentialNonASCII(StreamTokenizer tk) argument
[all...]
H A DSLPV1SSrvMsg.java343 StringTokenizer tk = new StringTokenizer(query, ",", true);
347 while (tk.hasMoreElements()) {
348 String exp = tk.nextToken().trim();
409 StreamTokenizer tk =
412 tk.resetSyntax(); // make all chars ordinary...
413 tk.whitespaceChars('\000','\037');
414 tk.ordinaryChar(SPACE); // but beware of embedded whites...
415 tk.wordChars('!', '%');
416 tk.ordinaryChar(AND_OP);
417 tk
454 parseInternal(StreamTokenizer tk, StringBuffer buf, boolean start) argument
559 parseLogicalExpression(int logOp, StreamTokenizer tk, StringBuffer buf) argument
612 parse(StreamTokenizer tk, StringBuffer buf, boolean firstEscaped) argument
831 parseTag(StreamTokenizer tk, boolean ampStart) argument
865 parseOperator(StreamTokenizer tk) argument
945 parseValue(StreamTokenizer tk) argument
1092 eatWhite(StreamTokenizer tk) argument
[all...]
H A DAttributeVerifier.java191 StreamTokenizer tk = new StreamTokenizer(r);
195 initFieldChar(tk);
199 parseTemplate(tk);
209 StreamTokenizer tk = new StreamTokenizer(r);
213 initFieldChar(tk);
217 parseAttributes(tk);
553 private void initForBase(StreamTokenizer tk) { argument
558 tk.resetSyntax();
563 tk.whitespaceChars((int)'\n', (int)'\n');
567 tk
573 initCommonToken(StreamTokenizer tk) argument
600 initIdChar(StreamTokenizer tk) argument
627 initSchemeIdChar(StreamTokenizer tk) argument
660 initStringItemChar(StreamTokenizer tk) argument
692 initIntItemChar(StreamTokenizer tk) argument
719 initFieldChar(StreamTokenizer tk) argument
743 parseTemplate(StreamTokenizer tk) argument
758 parseTemplateAttributes(StreamTokenizer tk) argument
787 parseTemplateAttribute(StreamTokenizer tk, int found) argument
1164 parseAttributes(StreamTokenizer tk) argument
1227 parseAttribute(StreamTokenizer tk) argument
1646 parseId(StreamTokenizer tk, AttributeDescriptor attDesc, int baseLineno) argument
1686 parseTypeAndFlags(StreamTokenizer tk, AttributeDescriptor attDesc, int baseLineno) argument
1743 parseDefaultValues(StreamTokenizer tk, AttributeDescriptor attDesc, int baseLineno) argument
1770 parseAllowedValues(StreamTokenizer tk, AttributeDescriptor attDesc, int baseLineno) argument
2009 parseWord(StreamTokenizer tk, int baseLineno) argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Dhmac_link.c232 u_char tk[MD5_LEN]; local
247 MD5Final(tk, &ctx);
249 key = tk;
/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; local
260 tk = x; x = y; y = tk;
350 tk = wh - x;
351 t3 = tk * tk - (two * wh * tk - (wh * wh - t1));
355 tk = wh - y;
356 t4 = tk * tk
[all...]
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
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dparse.c84 char *dinfo, *tk; local
105 (*dinfo == '<') && (tk = strrchr(++dinfo, '>'))) {
107 for (*tk = '\0'; (tk = strtok(dinfo, ", ")) != NULL;
110 tk, user);
111 if (strcmp(tk, user) == 0) {
/illumos-gate/usr/src/cmd/sa/
H A Dtimex.c211 long tk; /* number of leftover ticks */ local
217 tk = total % hz; /* ticks % hz */
256 (void) fprintf(stderr, "%02ld\n", tk * 100/hz);
/illumos-gate/usr/src/uts/common/os/
H A Dfork.c160 task_t *tk; local
294 tk = cp->p_task;
299 pid_exit(cp, tk);
301 task_rele(tk);
655 tk = cp->p_task;
662 pid_exit(cp, tk);
665 task_rele(tk);
723 task_t *tk; local
741 tk = p->p_task;
743 tk
853 task_t *tk, *tk_old; local
897 task_t *tk; local
[all...]
H A Dpid.c270 pid_exit(proc_t *prp, struct task *tk) argument
315 tk->tk_nprocs--;
316 tk->tk_proj->kpj_nprocs--;
H A Dexit.c337 task_t *tk; local
787 tk = p->p_task;
790 tk->tk_nlwps--;
791 tk->tk_proj->kpj_nlwps--;
1217 task_t *tk; local
1309 tk = p->p_task;
1314 pid_exit(p, tk); /* frees pid and proc structure */
1316 task_rele(tk);
H A Dtask.c341 task_t *tk; local
346 (mod_hash_val_t *)&tk) == MH_ERR_NOTFOUND ||
347 (zoneid != ALL_ZONES && zoneid != tk->tk_zone->zone_id))
350 return (tk);
372 task_t *tk; local
375 if ((tk = task_find(id, zoneid)) != NULL)
376 atomic_inc_32(&tk->tk_hold_count);
379 return (tk);
407 task_hold(task_t *tk) argument
409 atomic_inc_32(&tk
428 task_rele(task_t *tk) argument
490 task_t *tk = kmem_cache_alloc(task_cache, KM_SLEEP); local
586 task_attach(task_t *tk, proc_t *p) argument
624 task_begin(task_t *tk, proc_t *p) argument
678 task_t *tk = p->p_task; local
755 task_end(task_t *tk) argument
833 task_join(task_t *tk, uint_t flags) argument
1037 task_t *tk = ksp->ks_private; local
1049 task_kstat_create(task_t *tk, zone_t *zone) argument
1076 task_kstat_delete(task_t *tk) argument
1117 task_t *tk; local
[all...]
H A Dexacct.c291 exacct_get_interval_task_usage(task_t *tk, task_usage_t *tu, argument
297 ASSERT(MUTEX_HELD(&tk->tk_usage_lock));
299 prevusage = &tk->tk_zoneusage;
301 prevusage = &tk->tk_prevusage;
344 exacct_snapshot_task_usage(task_t *tk, task_usage_t *tu) argument
351 if ((p = tk->tk_memb_list) == NULL)
377 } while ((p = p->p_tasknext) != tk->tk_memb_list);
387 exacct_sub_task_mstate(tu, tk->tk_inherited);
432 exacct_calculate_task_usage(task_t *tk, task_usage_t *tu, int flag) argument
445 mutex_enter(&tk
499 exacct_attach_task_item(task_t *tk, task_usage_t *tu, ea_object_t *record, int res) argument
591 exacct_assemble_task_record(task_t *tk, task_usage_t *tu, ulong_t *mask, ea_catalog_t record_type) argument
627 exacct_assemble_task_usage(ac_info_t *ac_task, task_t *tk, int (*callback)(ac_info_t *, void *, size_t, void *, size_t, size_t *), void *ubuf, size_t ubufsize, size_t *actual, int flag) argument
713 task_t *tk = (task_t *)arg; local
1642 exacct_tag_task(ac_info_t *ac_task, task_t *tk, void *ubuf, size_t ubufsz, int flags) argument
[all...]
H A Drctl.c3172 rctl_kstat_create_task(task_t *tk, char *ks_name, uchar_t ks_type, argument
3179 return (rctl_kstat_create_common(name, tk->tk_tkid, "task_caps",
3180 ks_type, ks_ndata, ks_flags, tk->tk_proj->kpj_zoneid));
/illumos-gate/usr/src/stand/lib/inet/
H A Ddhcpv4.c450 PKT_LIST *wk, *tk, *best; local
475 tk = wk;
477 remove_list(tk, B_TRUE);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_cookie.c72 uchar_t tk[16]; local
81 MD5Final(tk, &tctx);
83 key = tk;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_cpu_states.c1393 u_number tk; local
1443 tk.whole = latency;
1444 top = ((uint64_t)tk.half.high << 4) * tick_scale;
1445 bottom = (((uint64_t)tk.half.low << 4) * (uint64_t)tick_scale) >> 32;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c5251 char *tk; local
5290 ret = readtoken(fp, &tk);
5302 tk = lo;
5308 tk[0] == ',') {
5312 free(tk);
5321 cm = strchr(tk, ',');
5326 free(tk);
5337 ret = str_val_list_lookup(enum_vals, tk, &u32);
5341 "line %u.\n"), tk, lineno);
5342 free(tk);
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c263 task_t tk; local
304 mdb_vread(&tk, sizeof (tk), (uintptr_t)pr.p_task);
306 mdb_vread(&pj, sizeof (pj), (uintptr_t)tk.tk_proj);
314 mdb_printf("%5d ", tk.tk_tkid);
488 task_t tk; local
502 if (mdb_vread(&tk, sizeof (task_t), addr) == -1) {
506 if (mdb_vread(&pj, sizeof (kproject_t), (uintptr_t)tk.tk_proj) == -1) {
511 addr, tk.tk_tkid, pj.kpj_id, pj.kpj_zoneid, tk
[all...]

Completed in 157 milliseconds

12