/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wcstombs.c | 43 char temp[MB_LEN_MAX]; in _curs_wcstombs() local 51 if ((val = _curs_wctomb(temp, *pwcs++)) == -1) in _curs_wcstombs() 58 *s++ = temp[i]; in _curs_wcstombs()
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | attach.test | 130 ATTACH 'test.db' as temp; 132 } {1 {database temp is already in use}} 206 } {0 main 1 temp} 252 } {0 main 1 temp 2 db2} 271 } {0 main 1 temp 2 db2} 512 SELECT 'no-op' FROM temp.t6; 515 } {1 {trigger r5 cannot reference objects in database temp}} 519 SELECT 'no-op' || (SELECT * FROM temp.t6); 522 } {1 {trigger r5 cannot reference objects in database temp}} 540 SELECT max(1,x,(SELECT min(x) FROM temp.t6)) FROM t1; [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | swab.c | 41 #define STEP (void)((temp = *from++), (*to++ = *from++), (*to++ = temp)) 46 char temp; in swab() local
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | _getmessage.c | 51 int temp = 0; local 152 temp = stoh(buf); 154 if ((buf + temp) > endbuf) 161 buf += temp;
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_epkt.c | 93 uint32_t temp; in fab_xlate_epkt() local 96 temp = *(uint32_t *)&epktp->rc_descr >> 12; in fab_xlate_epkt() 97 if (entry->epkt_desc == temp) in fab_xlate_epkt() 104 fmd_hdl_debug(hdl, "Translate epkt DESC = %#x\n", temp); in fab_xlate_epkt() 122 temp = entry->pcie_ue_sts; in fab_xlate_epkt() 123 for (data->pcie_adv_ctl = (uint32_t)-1; temp; data->pcie_adv_ctl++) in fab_xlate_epkt() 124 temp = temp >> 1; in fab_xlate_epkt()
|
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/ |
H A D | blowfish.c | 419 uint32_t temp; in Blowfish_stream2word() local 421 temp = 0x00000000; in Blowfish_stream2word() 427 temp = (temp << 8) | data[j]; in Blowfish_stream2word() 431 return temp; in Blowfish_stream2word() 440 uint32_t temp; in Blowfish_expand0state() local 447 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expand0state() 448 c->P[i] = c->P[i] ^ temp; in Blowfish_expand0state() 479 uint32_t temp; in Blowfish_expandstate() local 486 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expandstate() 487 c->P[i] = c->P[i] ^ temp; in Blowfish_expandstate()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_yacc.y | 201 uint32_t temp; variable 226 if (inode_from_path(temp_cwd, &temp, 246 value = temp << l2b; 248 i_number = temp; 336 uint64_t temp; variable 340 find_in = temp; 372 uint32_t temp; variable 375 temp = value; 377 temp = value << l2b; 380 if (verify_inode(temp, 0) != 0) { [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 628 char *defopts = temp->ptr1; in mastermap_callback_ldap() 629 char **stack = temp->ptr2; in mastermap_callback_ldap() 630 char ***stkptr = temp->ptr3; in mastermap_callback_ldap() 787 char *opts = temp->ptr1; in directmap_callback() 788 char *localmap = temp->ptr2; in directmap_callback() 789 char **stack = temp->ptr3; in directmap_callback() 790 char ***stkptr = temp->ptr4; in directmap_callback() 903 struct dir_entry *last = temp->last; in readdir_callback() 961 temp->error = ENOMEM; in readdir_callback() 965 temp->last = last; in readdir_callback() [all …]
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | swab.c | 44 unsigned long temp; in swab() local 53 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp in swab()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgtrans.c | 944 (void) strlcpy(temp, srcinst, sizeof (temp)); in pkgxfer() 945 if (pt = strchr(temp, '.')) in pkgxfer() 947 (void) strlcat(temp, ".*", sizeof (temp)); in pkgxfer() 971 if (pt = strchr(temp, '.')) in pkgxfer() 975 "%s.%d", temp, i); in pkgxfer() 1225 (void) snprintf(temp, sizeof (temp), in pkgxfer() 1227 if (iscpio(temp, &iscomp) || isdir(temp) == 0) { in pkgxfer() 1231 (void) snprintf(temp, sizeof (temp), in pkgxfer() 1233 if (iscpio(temp, &iscomp) || isdir(temp) == 0) { in pkgxfer() 1237 (void) snprintf(temp, sizeof (temp), in pkgxfer() [all …]
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_ctx.c | 403 u32 temp; in nx_fw_cmd_create_tx_ctx() local 430 temp = (NX_CAP0_LEGACY_CONTEXT | NX_CAP0_LEGACY_MN); in nx_fw_cmd_create_tx_ctx() 431 prq->capabilities[0] = HOST_TO_LE_32(temp); in nx_fw_cmd_create_tx_ctx() 463 UNM_NIC_REG(temp - 0x200); in nx_fw_cmd_create_tx_ctx() 583 unsigned int temp; in netxen_init_old_ctx() local 619 temp = lower32(adapter->ctxDesc_physAddr); in netxen_init_old_ctx() 621 &temp, 4); in netxen_init_old_ctx() 622 temp = upper32(adapter->ctxDesc_physAddr); in netxen_init_old_ctx() 624 &temp, 4); in netxen_init_old_ctx() 625 temp = UNM_CTX_SIGNATURE | func_id; in netxen_init_old_ctx() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer2.c | 45 char answer[ANSLEN], temp[TLEN], line[BUFSIZ]; in doref() local 109 temp[0] = 0; in doref() 110 corout(buff, temp, "hunt", *sr, TLEN); in doref() 111 assert(strlen(temp) < TLEN); in doref() 112 if (strlen(temp)+strlen(answer) > BUFSIZ) in doref() 115 strcat(answer, temp); in doref()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cpmv.c | 50 char *temp_p, temp[MAXFULLNAME]; local 61 (void) strcpy(temp, f2); 62 if ((temp_p = strrchr(temp, '/')) == NULL) 63 temp_p = temp; 67 temp_p = temp;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_cksum.c | 47 void *temp; local 107 if ((temp = xmalloc(cksum->length)) == NULL) { 113 memcpy(temp, cksum->contents, cksum->length); 115 cksum->contents = (krb5_octet *)temp;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvd.c | 449 tempr_t temp; in envd_setup_sensors() local 490 if (get_temperature(sensorp, &temp) == 0) { in envd_setup_sensors() 491 sensorp->cur_temp = temp; in envd_setup_sensors() 519 tempr_t temp; in monitor_sensors() local 528 if (get_temperature(sensorp, &temp) < 0) in monitor_sensors() 531 sensorp->cur_temp = temp; in monitor_sensors() 536 sensorp->name, temp, in monitor_sensors() 554 if (TEMP_IN_WARNING_RANGE(temp, threshp)) { in monitor_sensors() 563 sensorp->name, temp, in monitor_sensors() 570 if (TEMP_IN_SHUTDOWN_RANGE(temp, threshp)) { in monitor_sensors() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | mktemp.c | 44 temp(char* buf, int* fdp) in temp() function 76 return temp(buf, NiL); in mktemp() 84 return *temp(buf, &fd) ? fd : -1; in mkstemp()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | ptrmove.c | 82 void *temp; in reverse() local 87 temp = *a_ptr; in reverse() 89 *b_ptr-- = temp; in reverse()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | T.builtin | 8 TEMP0=$WORKDIR/test.temp.0 9 TEMP1=$WORKDIR/test.temp.1 10 TEMP2=$WORKDIR/test.temp.2
|
H A D | T.close | 8 TEMP0=$WORKDIR/test.temp.0 9 TEMP1=$WORKDIR/test.temp.1 10 TEMP2=$WORKDIR/test.temp.2
|
H A D | T.main | 8 TEMP0=$WORKDIR/test.temp.0 9 TEMP1=$WORKDIR/test.temp.1 10 TEMP2=$WORKDIR/test.temp.2
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | str.c | 110 void *temp; in str_reserve() local 113 temp = zalloc(s->str_ops, newsize); in str_reserve() 114 if (temp == NULL) in str_reserve() 117 (void) memcpy(temp, s->str_s, s->str_len); in str_reserve() 119 temp = xrealloc(s->str_ops, s->str_s, s->str_size, newsize); in str_reserve() 120 if (temp == NULL) in str_reserve() 124 s->str_s = temp; in str_reserve()
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 244 unsigned temp; /* Temporary address */ in httpAddrString() local 247 temp = ntohl(addr->ipv4.sin_addr.s_addr); in httpAddrString() 249 snprintf(s, slen, "%d.%d.%d.%d", (temp >> 24) & 255, in httpAddrString() 250 (temp >> 16) & 255, (temp >> 8) & 255, temp & 255); in httpAddrString()
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_hca.c | 320 char *temp; in ibnex_config_obp_args() local 331 temp = devname; in ibnex_config_obp_args() 333 temp = strstr(temp, ",protocol=ip"); in ibnex_config_obp_args() 334 if (temp == NULL) in ibnex_config_obp_args() 337 if (strlen(devname) > (int)((temp - devname) + 12)) { in ibnex_config_obp_args() 338 if (temp[12] == ',') in ibnex_config_obp_args() 343 temp++; in ibnex_config_obp_args() 344 } while (temp); in ibnex_config_obp_args() 346 if (temp == NULL) in ibnex_config_obp_args()
|
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | t10.c | 237 int temp, a, b; local 254 temp = absmot(*k); 256 temp = -temp; 257 dv += temp; 341 char temp[3]; local 343 temp[0] = n & BYTEMASK; 344 temp[1] = n >> BYTE; 345 temp[2] = 0; 346 ptfpcmd(0, temp);
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | open_wmemstream.c | 75 void *temp; in open_wmemstream_write() local 76 temp = recallocarray(wmemp->wmstr_buf, wmemp->wmstr_alloc, in open_wmemstream_write() 78 if (temp == NULL) { in open_wmemstream_write() 81 wmemp->wmstr_buf = temp; in open_wmemstream_write() 83 *wmemp->wmstr_ubufp = temp; in open_wmemstream_write()
|