/illumos-gate/usr/src/lib/libnvpair/ |
H A D | nvpair_json.c | 119 nvpair_t *curr; local 124 for (curr = nvlist_next_nvpair(nvl, NULL); curr; 125 curr = nvlist_next_nvpair(nvl, curr)) { 126 data_type_t type = nvpair_type(curr); 133 if (nvlist_print_json_string(fp, nvpair_name(curr)) == -1) 139 char *string = fnvpair_value_string(curr); 151 FPRINTF(fp, "%s", fnvpair_value_boolean_value(curr) == 157 FPRINTF(fp, "%hhu", fnvpair_value_byte(curr)); [all...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterMod.java | 94 Printer curr = new Printer(ns); 95 curr.setPrinterName(p.getPrinterName()); 97 DoPrinterView.view(curr, ns); 100 String err = curr.getErrorLog(); 107 modifyLocal(p, curr, ns); 109 modifyRemote(p, curr, ns); 119 Printer curr, 166 if (!strings_equal(curr.getPrinterType(), p.getPrinterType())) 168 if (!strings_equal(curr.getComment(), p.getComment())) { 176 if (!strings_equal(curr 117 modifyLocal( Printer p, Printer curr, NameService ns) argument 616 modifyRemote( Printer p, Printer curr, NameService ns) argument [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getifaddrs.c | 52 struct ifaddrs *curr; local 61 for (curr = *ifap; curr != NULL; curr = curr->ifa_next) { 62 if ((cp = strchr(curr->ifa_name, ':')) != NULL) 72 struct ifaddrs *curr; local 75 curr = ifa; 77 free(curr->ifa_name); 78 free(curr 99 struct ifaddrs *curr, *prev; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_hp_ndi.c | 276 ddi_hp_cn_handle_t *head, *curr, *prev; local 292 curr = head; 294 while (curr != NULL) { 297 (void *)dip, curr->cn_info.cn_name)); 298 switch ((*f)(&(curr->cn_info), arg)) { 311 curr = head; 313 } else if (prev && prev->next != curr) { 319 curr = prev->next; 321 /* no removal accurred on curr node */ 322 prev = curr; [all...] |
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | inftrees.c | 46 unsigned curr; /* number of index bits for current table */ local 153 filled is at next and has curr index bits. The code being used is huff 155 bits off of the bottom. For codes where len is less than drop + curr, 156 those top drop + curr - len bits are incremented through all values to 207 curr = root; /* current table index bits */ 236 fill = 1U << curr; 268 next += min; /* here min is 1 << curr */ 271 curr = len - drop; 272 left = (int)(1 << curr); 273 while (curr [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | environment.c | 70 struct env_var *ev, *curr, *last; local 103 for (last = NULL, curr = environ; 104 curr != NULL; 105 last = curr, curr = curr->ev_next) { 107 if (strcmp(ev->ev_name, curr->ev_name) < 0) { 108 if (curr->ev_prev) { 109 curr->ev_prev->ev_next = ev; 113 ev->ev_next = curr; [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | inftrees.c | 44 unsigned curr; /* number of index bits for current table */ local 151 filled is at next and has curr index bits. The code being used is huff 153 bits off of the bottom. For codes where len is less than drop + curr, 154 those top drop + curr - len bits are incremented through all values to 204 curr = root; /* current table index bits */ 234 fill = 1U << curr; 266 next += min; /* here min is 1 << curr */ 269 curr = len - drop; 270 left = (int)(1 << curr); 271 while (curr [all...] |
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 95 node_t *curr; local 148 for (curr = head; curr != NULL && error == 0; curr = curr->next) { 156 if (fcntl(curr->fd, F_GETFD) >= 0) { 158 curr->fd); 260 node_t *curr; local 262 for (prev = curr = head; curr ! 312 node_t *curr; local [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | sched.c | 54 static el_notice_t *curr = NULL; variable 320 (curr == NULL || t <= curr->time)) { 418 if (curr == NULL || curr->time > t) { 419 curr = x; 478 n = curr; 529 if (n == curr) { 534 curr = n2; 571 if (curr ! [all...] |
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 143 struct lro_entry *lro, *curr; local 237 curr = ss->lro_active; 238 while (curr->next != lro) 239 curr = curr->next; 240 curr->next = lro->next; 304 curr = ss->lro_active; 305 while (curr->next != lro) 306 curr = curr [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_util.c | 206 char *curr; local 220 curr = line; 231 (void) sprintf(curr, " %02x", msg[i + j]); 233 curr += 3; 243 while (curr != (line + ASCIIOFFSET)) 244 *curr++ = ' ';
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_cb.c | 143 hrtime_t prev, curr, interval, jump; local 153 start_time = curr = gethrtime(); 165 prev = curr; 166 curr = gethrtime(); 167 interval = curr - prev; 170 if (curr - start_time > intr_timeout) {
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index.cc | 79 db_index_entry * curr, *n; local 86 curr = tab[i]; 87 while (curr != NULL) { // go through bucket 88 n = curr->getnextentry(); 89 delete curr; 90 curr = n;
|
H A D | db_index_entry.cc | 191 db_index_entry_p fst, prev, curr; local 206 for (curr = fst->next; curr != NULL; curr = curr->next) { 207 if ((curr->hashval == hval) && 208 (curr->key->equal(i, casein))) { 209 prev->addresult(curr); 210 prev = curr; 282 db_index_entry_p curr, pre local [all...] |
/illumos-gate/usr/src/lib/libreparse/common/ |
H A D | fs_reparse_lib.c | 99 nvpair_t *curr; local 102 ((curr = nvlist_next_nvpair(nvl, NULL)) == NULL)) 111 while (curr != NULL) { 112 if (!(stype = nvpair_name(curr))) { 119 (nvpair_value_string(curr, &val) != 0) || 125 curr = nvlist_next_nvpair(nvl, curr);
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | compress.c | 533 Int32 curr = s->len[t][0]; local 534 bsW ( s, 5, curr ); 536 while (curr < s->len[t][i]) { bsW(s,2,2); curr++; /* 10 */ }; 537 while (curr > s->len[t][i]) { bsW(s,2,3); curr--; /* 11 */ };
|
H A D | decompress.c | 128 Int32 curr; local 182 curr = s->save_curr; 318 GET_BITS(BZ_X_CODING_1, curr, 5); 321 if (curr < 1 || curr > 20) RETURN(BZ_DATA_ERROR); 325 if (uc == 0) curr++; else curr--; 327 s->len[t][i] = curr; 629 s->save_curr = curr;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/ |
H A D | p12split.c | 360 X509 *curr; local 380 curr = sk_X509_value(ta_in, i); 381 ret = time_check_print(curr); 386 curr = sk_X509_delete(ta_in, i); 387 X509_free(curr);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | fw.h | 60 Op_row_link _TKFAR *curr; member in struct:Op_arg
|
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/ |
H A D | ex_dscp.c | 491 exs_hdl_t *hp, *curr; local 500 for (curr = Exh_head; curr; curr = curr->h_next) { 501 if (dom == curr->h_dom) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/ |
H A D | nfsref.c | 194 nvpair_t *curr; local 227 curr = nvlist_next_nvpair(nvl, NULL); 228 if (curr != NULL) { 263 nvpair_t *curr; local 284 curr = NULL; 285 while ((curr = nvlist_next_nvpair(nvl, curr)) != NULL) { 286 type = nvpair_name(curr); 292 if (curr == NULL) { 298 nvpair_value_string(curr, [all...] |
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_l1e.c | 462 ATGE_DB(("%s: %s() prod : %d, cons : %d, curr page : %d, gen : (%d)" 593 int curr = l1e->atge_l1e_rx_curp; local 609 l1e->atge_l1e_rx_page_prods[curr], L1E_RX_PAGE_SZ)); 616 p = p + curr; 618 DMA_SYNC(dma_rx_cmb, curr * L1E_RX_CMB_SZ, 624 OUTB(atgep, L1E_RXF0_PAGE0 + curr, RXF_VALID); 630 l1e->atge_l1e_rx_page_prods[curr] = 0; 635 curr ^= 1; 636 l1e->atge_l1e_rx_curp = curr; 644 l1e->atge_l1e_rx_page_prods[curr] [all...] |
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_hash.c | 547 DAPL_HASH_ELEM *curr; local 566 curr = &p_table->table[p_table->iterator_bucket]; 567 if (NO_DATUM(curr->datum)) { 575 dapl_os_assert(!NO_DATUM(curr->datum)); 579 p_table->iterator = curr; 595 curr = p_table->iterator; 598 if (curr->next_element != NULL) { /* found the next element */ 599 p_table->iterator = curr->next_element; 610 curr = &p_table->table[p_table->iterator_bucket]; 611 if (NO_DATUM(curr [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_agents.c | 184 tavor_agent_list_t *curr; local 191 curr = (tavor_agent_list_t *)args; 192 state = curr->agl_state; 250 tavor_agent_list_t *curr; local 266 curr = agent_args->ahd_agentlist; 267 state = curr->agl_state; 268 port = curr->agl_port; 411 tavor_agent_list_t *curr; local 473 curr = &state->ts_agents[indx]; 474 curr 522 tavor_agent_list_t *curr; local 585 tavor_agent_list_t *curr; local [all...] |
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_convert.c | 298 krb5_db_entry curr; local 331 if ((ret = krb5_db_get_principal_nolock(context, ent->princ, &curr, 356 find_changed_attrs(&curr, ent, attr_types, &nattrs); 358 krb5_db_free_principal(context, &curr, nprincs);
|