/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pointers/ |
H A D | tst.PointerAssignment.d | 43 int *ptr2; 52 ptr2 = ptr1; 54 ptr2[0] = 400; 55 ptr2[1] = 800; 56 ptr2[2] = 1200; 58 printf("array[0]: %d\tptr2[0]: %d\n", array[0], ptr2[0]); 59 printf("array[1]: %d\tptr2[1]: %d\n", array[1], ptr2[1]); 60 printf("array[2]: %d\tptr2[2]: %d\n", array[2], ptr2[2]);
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | prtconf.c | 87 char *ptr, *ptr2; local 118 ptr2 = strrchr(path, (int)'/'); 119 if (ptr2 == NULL) { 121 ptr2 = path; 123 (void) memmove(ptr2, ptr + 3, len + 1); 133 ptr2 = strrchr(path, (int)'/'); 134 if (ptr2 != NULL) { 135 ptr2[1] = '\0';
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | ppd.c | 43 char *ptr, *ptr2; local 62 if ((ptr2 = strchr(line, ' ')) != NULL) { 63 ptr = ptr2;
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 159 char *ptr1,*ptr2,*ptr3,*ptr4,*ptr5; local 313 (ptr2 = strchr(ptr1+1,':')) && 314 (ptr3 = strchr(ptr2+1,':')) && 318 *ptr2 =0; 323 paperType = ptr2+1;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | sess_mgr.c | 997 CK_BYTE *ptr2 = NULL; local 1029 ptr2 = ptr1 + sizeof (ENCR_DECR_CONTEXT); 1030 ptr3 = ptr2 + ctx->context_len; 1037 (void) memcpy(context, ptr2, ctx->context_len); 1072 ptr2 = ptr1 + sizeof (SIGN_VERIFY_CONTEXT); 1073 ptr3 = ptr2 + ctx->context_len; 1080 (void) memcpy(context, ptr2, ctx->context_len); 1114 ptr2 = ptr1 + sizeof (DIGEST_CONTEXT); 1115 ptr3 = ptr2 + ctx->context_len; 1122 (void) memcpy(context, ptr2, ct [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 91 char **ptr2; member in struct:loadmaster_cbdata 97 char *ptr2; member in struct:loaddirect_cbdata 485 master_cbdata.ptr2 = stack; 555 direct_cbdata.ptr2 = localmap; 629 char **stack = temp->ptr2; 788 char *localmap = temp->ptr2;
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | boot_http.c | 1022 char *ptr2; local 1024 ptr2 = ptr; 1025 while (isspace(*ptr2)) 1026 ptr2 ++; 1027 if (startswith((const char **)&ptr2, "Multipart/Mixed;")) { 1028 while (isspace(*ptr2)) 1029 ptr2 ++; 1030 if (startswith((const char **)&ptr2, "Boundary=")) { 1031 if (ptr2[0] == '"') { 1032 ptr2 [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | char_io.c | 178 char *ptr2 = buf; local 179 while (ptr1 > ptr2) 182 *ptr1 = *ptr2; 183 *ptr2 = tmp; 185 ptr2++;
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 153 char *ptr1, *ptr2; local 313 if (ptr2 = strstr(ptr1, IVORY_DRVR)) { 314 ptr2 = strchr(ptr2, ','); 315 if (ptr2 = strchr(++ptr2, ',')) { 316 *ptr2 = '\0';
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | mapping.c | 94 #define MALLOC_FILTER_UDATA(ptr1, len1, ptr2, len2, error) \ 101 MALLOC(ptr2, len2); \ 102 if (!ptr2) { \
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 1949 char *ptr1, *ptr2; local 1960 ptr2 = prom_dev2; 1965 if ((ptr2 == NULL) || (*ptr2 != '/')) { 1972 while ((ptr1 != NULL) && (ptr2 != NULL)) { 1973 *ptr1 = *ptr2 = '/'; 1975 dev2 = ptr2 + 1; 1978 if ((ptr2 = strchr(dev2, '/')) != NULL) 1979 *ptr2 = '\0'; 2042 if (ptr2 ! [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | accept_sec_context.c | 286 unsigned char *ptr, *ptr2; local 727 TREAD_STR(ptr, ptr2, reqcksum.length); 730 if (memcmp(ptr2, reqcksum.contents, reqcksum.length) != 0) { 739 if (memcmp(ptr2, reqcksum.contents, reqcksum.length) != 0) { 770 /* have to use ptr2, since option.data is wrong type and 773 TREAD_STR(ptr, ptr2, option.length); 774 option.data = (char *) ptr2;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 1748 char *ptr2; local 1817 ptr2 = ptr; 1821 (void) memmove(ptr2, 1823 ptr2 = strchr(ptr2, 1825 if (ptr2 != NULL) { 1826 *ptr2 = '\0';
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 533 char *ptr2; local 553 ptr2 = malloc(strlen(ptr1) + strlen(ptr) + 2); 554 if (ptr2 == NULL) 556 (void) strlcpy(ptr2, ptr, strlen(ptr)-1); 557 (void) strlcat(ptr2, "/", 1); 558 (void) strlcat(ptr2, ptr1, strlen(ptr1)-1); 559 (void) strlcat(ptr2, "\0", 1); 563 ptr1 = ptr2;
|
/illumos-gate/usr/src/cmd/nlsadmin/ |
H A D | nlsadmin.c | 140 char *ptr2; /* temp pointer */ local 358 ptr2 = strchr(ptr, ':'); 359 *ptr2 = NULL;
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | invlib.c | 956 unsigned long *ptr2; local 965 ptr2 = ((unsigned long *)ptr) + 1018 (void) fseek(file, (long)*ptr2, SEEK_SET);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 571 char *ptr2; local 591 ptr2 = malloc(strlen(ptr1) + strlen(ptr) + 2); 592 if (ptr2 == NULL) 594 (void) strcpy(ptr2, ptr); 595 (void) strcat(ptr2, "/"); 596 (void) strcat(ptr2, ptr1); 599 ptr1 = ptr2;
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 566 char *ptr2; local 586 ptr2 = malloc(strlen(ptr1) + strlen(ptr) + 2); 587 if (ptr2 == NULL) 589 (void) strcpy(ptr2, ptr); 590 (void) strcat(ptr2, "/"); 591 (void) strcat(ptr2, ptr1); 594 ptr1 = ptr2;
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 2818 char *ptr, *ptr2; local 2854 for (ptr2 = &word[0]; ptr2 < &word[UT_USER_SZ] && 2856 *ptr2++ = *ptr++; 2858 *ptr2 = '\0';
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 1158 char *save_ptr, *ptr1, *ptr2, *ptr3; local 1164 ptr2 = strchr(ptr1 + 1, ','); 1165 *ptr2 = '\0'; 1169 ptr3 = strchr(ptr2 + 1, ' '); 1172 ptr = STRDUP(ptr2 + 1); 1179 ptr2 = strchr(ptr1 + 1, ','); 1180 ptr3 = strchr(ptr2 + 1, ' ');
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 416 uintptr_t ptr1, ptr2; local 420 ptr2 = (uintptr_t)ptr1 + length; 421 if (ptr1 < (uintptr_t)mp->b_rptr || ptr2 > (uintptr_t)mp->b_wptr) {
|
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/ |
H A D | ahci.c | 2059 uint8_t *ptr2; local 2355 ptr2 = (uint8_t *)&(cmd_table->ahcict_atapi_cmd); 2361 ptr2[8 * i], ptr2[8 * i + 1], 2362 ptr2[8 * i + 2], ptr2[8 * i + 3], 2363 ptr2[8 * i + 4], ptr2[8 * i + 5], 2364 ptr2[8 * i + 6], ptr2[ [all...] |
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 1848 short *ptr2; local 1937 ptr2 = (short *)up_data; 1938 *ptr2 = (short)pci_config_get16(conf_handle, data.off);
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_cots.c | 2844 uintptr_t ptr1, ptr2; local 2848 ptr2 = (uintptr_t)ptr1 + length; 2849 if (ptr1 < (uintptr_t)mp->b_rptr || ptr2 > (uintptr_t)mp->b_wptr) {
|
/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 1744 (void) munmap(ptr2, len);
|