Searched refs:assoc_array (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/cmd/dtrace/test/tst/common/sizeof/ |
H A D | err.D_IDENT_BADREF.SizeofAssoc.d | 41 assoc_array[0] = 010; 42 assoc_array[1] = 100; 43 assoc_array[2] = 210; 45 printf("sizeof (assoc_array): %d\n", sizeof (assoc_array)); 46 printf("sizeof (assoc_array[0]): %d\n", sizeof (assoc_array[0])); 47 printf("sizeof (assoc_array[1]): %d\n", sizeof (assoc_array[1])); 48 printf("sizeof (assoc_array[2]): %d\n", sizeof (assoc_array[2]));
|
H A D | tst.SizeofString1.d | 41 assoc_array["hello"] = "hello"; 42 assoc_array["hi"] = "hi"; 43 assoc_array["hello"] = "hello, world"; 46 sizeof (assoc_array["hello"])); 48 sizeof (assoc_array["hi"]));
|
H A D | tst.SizeofString1.d.out | 1 sizeof (assoc_array["hello"]): 256 2 sizeof (assoc_array["hi"]): 256
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/struct/ |
H A D | err.D_PROTO_ARG.DupStructAssoc.d | 69 assoc_array[r1] = 1000; 70 assoc_array[r2] = 2000; 71 assoc_array[p1] = 3333; 72 assoc_array[p2] = 4444; 74 printf("assoc_array[r1]: %d\n", assoc_array[r1]); 75 printf("assoc_array[r2]: %d\n", assoc_array[r2]); 76 printf("assoc_array[p1]: %d\n", assoc_array[p1]); 77 printf("assoc_array[p2]: %d\n", assoc_array[p2]);
|
H A D | tst.StructAssoc.d | 57 assoc_array[r1] = 1000; 58 assoc_array[r2] = 2000; 60 printf("assoc_array[r1]: %d\n", assoc_array[r1]); 61 printf("assoc_array[r2]: %d\n", assoc_array[r2]); 67 /assoc_array[r1] != assoc_array[r2]/
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/union/ |
H A D | err.D_PROTO_ARG.DupUnionAssoc.d | 69 assoc_array[r1] = 1000; 70 assoc_array[r2] = 2000; 71 assoc_array[p1] = 3333; 72 assoc_array[p2] = 4444; 74 printf("assoc_array[r1]: %d\n", assoc_array[r1]); 75 printf("assoc_array[r2]: %d\n", assoc_array[r2]); 76 printf("assoc_array[p1]: %d\n", assoc_array[p1]); 77 printf("assoc_array[p2]: %d\n", assoc_array[p2]);
|
H A D | tst.UnionAssoc.d | 57 assoc_array[r1] = 1000; 58 assoc_array[r2] = 2000; 60 printf("assoc_array[r1]: %d\n", assoc_array[r1]); 61 printf("assoc_array[r2]: %d\n", assoc_array[r2]); 67 /assoc_array[r1] != assoc_array[r2]/
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/pointers/ |
H A D | tst.basic2.d | 42 assoc_array["kmemAddress"] = &`kmem_flags; 43 kmemValue = *(assoc_array["kmemAddress"]); 44 printf("Address of kmem_flags: %x\n", (int) assoc_array["kmemAddress"]);
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | array.c | 53 struct assoc_array struct 1185 register struct assoc_array *ap = (struct assoc_array*)nv_arrayptr(np); in nv_associative() 1190 if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) in nv_associative() 1197 ap->header.hdr.dsize = sizeof(struct assoc_array); in nv_associative()
|