/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | sess_mgr.c | 996 CK_BYTE *ptr1 = NULL; local 1028 ptr1 = (CK_BYTE *)ctx; 1029 ptr2 = ptr1 + sizeof (ENCR_DECR_CONTEXT); 1071 ptr1 = (CK_BYTE *)ctx; 1072 ptr2 = ptr1 + sizeof (SIGN_VERIFY_CONTEXT); 1113 ptr1 = (CK_BYTE *)ctx; 1114 ptr2 = ptr1 + sizeof (DIGEST_CONTEXT); 1161 (void) memcpy(&sess->encr_ctx, ptr1, 1170 (void) memcpy(&sess->decr_ctx, ptr1, 1179 (void) memcpy(&sess->sign_ctx, ptr1, [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/ |
H A D | postreverse.c | 358 caddr_t ptr1; local 360 if (((ptr1 = nstrstr(p->start, PS_BEGIN_GLOBAL, bptr)) 361 != NULL) && (ptr1 < p->start + p->size) && 364 write(fd, p->start, ptr1 - p->start); 365 ptr1 = nstrstr(ptr1, PS_END_GLOBAL, bptr); 366 ptr1 += nstrlen(PS_END_GLOBAL, bptr); 367 return (write(fd, ptr1, (p->size - (ptr1 - p->start)))); 467 caddr_t start, ptr1; local 518 caddr_t ptr1, page_end; local [all...] |
/illumos-gate/usr/src/common/lzma/ |
H A D | LzFind.c | 353 CLzRef *ptr1 = son + (_cyclicBufferPos << 1); local 360 *ptr0 = *ptr1 = kEmptyHashValue; 379 *ptr1 = pair[0]; 387 *ptr1 = curMatch; 388 ptr1 = pair + 1; 389 curMatch = *ptr1; 407 CLzRef *ptr1 = son + (_cyclicBufferPos << 1); local 414 *ptr0 = *ptr1 = kEmptyHashValue; 429 *ptr1 = pair[0]; 437 *ptr1 [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/ |
H A D | qlc.c | 727 uintptr_t qlosc, ptr1; local 757 if (mdb_vread(&ptr1, 8, qlosc) == -1) { 758 mdb_warn("failed to read ptr1, indx=%d", indx); 761 if (ptr1 == 0) { 765 mdb_printf("osc ptr = %p, indx = %xh\n", ptr1, indx); 767 if (mdb_vread(qlsrb, sizeof (ql_srb_t), ptr1) == -1) { 768 mdb_warn("failed to read ql_srb_t at %p", ptr1); 771 (void) ql_doprint(ptr1, "struct ql_srb");
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 90 char *ptr1; member in struct:loadmaster_cbdata 96 char *ptr1; member in struct:loaddirect_cbdata 484 master_cbdata.ptr1 = defopts; 554 direct_cbdata.ptr1 = opts; 628 char *defopts = temp->ptr1; 787 char *opts = temp->ptr1;
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 159 char *ptr1,*ptr2,*ptr3,*ptr4,*ptr5; local 312 (ptr1 = bufPtr +pcLen) && 313 (ptr2 = strchr(ptr1+1,':')) && 322 trayNum = atoi(ptr1+1); 336 if (ptr1 = strstr(bufPtr,suffixString)) *ptr1 = 0; 348 if (ptr1 = strstr(bufPtr,suffixString)) *ptr1 = 0; 359 if (ptr1 = strstr(bufPtr,suffixString)) *ptr1 [all...] |
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | geniconvtbl.c | 1734 itm_ref_free(int fd, void *ptr0, void *ptr1, void *ptr2, size_t len) argument 1742 free(ptr1);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 153 char *ptr1, *ptr2; local 312 if (ptr1 = strstr(tmppath, IVORY_BUS)) { 313 if (ptr2 = strstr(ptr1, IVORY_DRVR)) { 319 (void) strcpy(port2, ptr1);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | char_io.c | 177 char *ptr1 = ptr - 1; local 179 while (ptr1 > ptr2) 181 int tmp = *ptr1; 182 *ptr1 = *ptr2; 184 ptr1--;
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 1949 char *ptr1, *ptr2; local 1959 ptr1 = prom_dev1; 1962 if ((ptr1 == NULL) || (*ptr1 != '/')) { 1972 while ((ptr1 != NULL) && (ptr2 != NULL)) { 1973 *ptr1 = *ptr2 = '/'; 1974 dev1 = ptr1 + 1; 1976 if ((ptr1 = strchr(dev1, '/')) != NULL) 1977 *ptr1 = '\0'; 2038 if (ptr1 ! [all...] |
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 1847 char *ptr1; local 1933 ptr1 = (char *)up_data; 1934 *ptr1 = (char)pci_config_get8(conf_handle, data.off);
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 416 uintptr_t ptr1, ptr2; local 419 ptr1 = (uintptr_t)mp->b_rptr + offset; 420 ptr2 = (uintptr_t)ptr1 + length; 421 if (ptr1 < (uintptr_t)mp->b_rptr || ptr2 > (uintptr_t)mp->b_wptr) { 425 if ((ptr1 & (align_size - 1)) != 0) { 429 return ((void *)ptr1);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 570 char *ptr1 = NULL; local 574 err = picldiag_get_string_propval(nodeh, PICL_PROP_LABEL, &ptr1); 588 if (ptr1 == NULL) { 589 ptr1 = ptr; 591 ptr2 = malloc(strlen(ptr1) + strlen(ptr) + 2); 596 (void) strcat(ptr2, ptr1); 598 (void) free(ptr1); 599 ptr1 = ptr2; 606 if (ptr1 == NULL) 609 len = strlen(ptr1); [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 565 char *ptr1 = NULL; local 569 err = picldiag_get_string_propval(nodeh, PICL_PROP_LABEL, &ptr1); 583 if (ptr1 == NULL) { 584 ptr1 = ptr; 586 ptr2 = malloc(strlen(ptr1) + strlen(ptr) + 2); 591 (void) strcat(ptr2, ptr1); 593 (void) free(ptr1); 594 ptr1 = ptr2; 601 if (ptr1 == NULL) 604 len = strlen(ptr1); [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 532 char *ptr1 = NULL; local 536 err = picldiag_get_string_propval(nodeh, PICL_PROP_LABEL, &ptr1); 550 if (ptr1 == NULL) { 551 ptr1 = ptr; 553 ptr2 = malloc(strlen(ptr1) + strlen(ptr) + 2); 558 (void) strlcat(ptr2, ptr1, strlen(ptr1)-1); 562 (void) free(ptr1); 563 ptr1 = ptr2; 570 if (ptr1 [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_cots.c | 2844 uintptr_t ptr1, ptr2; local 2847 ptr1 = (uintptr_t)mp->b_rptr + offset; 2848 ptr2 = (uintptr_t)ptr1 + length; 2849 if (ptr1 < (uintptr_t)mp->b_rptr || ptr2 > (uintptr_t)mp->b_wptr) { 2852 if ((ptr1 & (align_size - 1)) != 0) { 2855 return ((void *)ptr1);
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 1520 char *ptr1; local 1670 for (cmd->c_levels = 0, ptr1 = shcmd; 1671 ptr1 < ptr; ptr1++) { 1673 if (lvlname_to_mask(*ptr1,
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 6839 char *ptr1, *ptr2; local 7144 ptr1 = kmem_alloc(strlen(pclass2)+1, KM_SLEEP); 7145 (void) strlcpy(ptr1, pclass2, (strlen(pclass2)+1)); 7148 vlun->svl_active_pclass = ptr1;
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 1158 char *save_ptr, *ptr1, *ptr2, *ptr3; local 1161 ptr1 = strchr(ptr3, ','); 1162 *ptr1 = '\0'; 1164 ptr2 = strchr(ptr1 + 1, ','); 1166 nval = atoi(ptr1 + 1); 1179 ptr2 = strchr(ptr1 + 1, ',');
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 8981 char *ptr1, *ptr2; local 9019 ptr1 = orig_namep; 9020 ptr2 = strrchr(ptr1, '/'); 9021 plen = ptr2 - ptr1; 9025 (void) strncpy(pbuf, ptr1, plen);
|