/macosx-10.10/dtrace-147/test/tst/common/sizeof/ |
H A D | tst.SizeofArray.d | 31 * type. For a simpler array, the sizeof on the array variable itself gives 32 * the sum total of memory allocated to the array in bytes. With individual 33 * members of the array it gives their respective sizes. 40 int array[5]; 44 array[0] = 010; 45 array[1] = 100; 46 array[2] = 210; 48 printf("sizeof (array): %d\n", sizeof (array)); [all...] |
/macosx-10.10/Security-57031.1.35/Security/utilities/src/ |
H A D | array_size.h | 28 #define array_size(array) (sizeof(array)/sizeof(*array))
|
/macosx-10.10/Security-57031.1.35/Security/utilities/utilities/ |
H A D | array_size.h | 28 #define array_size(array) (sizeof(array)/sizeof(*array))
|
/macosx-10.10/dtrace-147/test/tst/common/pointers/ |
H A D | err.D_DEREF_VOID.VoidPointerDeref.d | 40 int array[3]; 44 array[0] = 234; 45 array[1] = 334; 46 array[2] = 434; 48 p = &array[0]; 50 printf("array[0]: %d, p: %d\n", array[0], *p);
|
H A D | tst.VoidCast.d | 40 int array[3]; 44 array[0] = 234; 45 array[1] = 334; 46 array[2] = 434; 48 p = &array[0]; 51 printf("array[0]: %d, newp: %d\n", array[0], *newp);
|
H A D | tst.PointerAssignment.d | 41 int array[3]; 47 array[0] = 200; 48 array[1] = 400; 49 array[2] = 600; 51 ptr1 = array; 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[ [all...] |
H A D | tst.ArrayPointer2.d | 30 * ASSERTION: D permits the use of array [] index notation with both pointer 31 * variables and array variables. 41 int array[5]; 44 array[0] = 100; 45 array[1] = 200; 46 array[2] = 300; 47 array[3] = 400; 48 array[4] = 500; 50 p = &array[0]; 52 printf("array[ [all...] |
H A D | tst.ArrayPointer3.d | 30 * ASSERTION: In D, the an array variable can be assigned to a pointer. 40 int array[5]; 45 array[0] = 100; 46 array[1] = 200; 47 array[2] = 300; 48 array[3] = 400; 49 array[4] = 500; 51 p = array; 53 printf("array[0]: %d\tp[0]: %d\n", array[ [all...] |
H A D | tst.PointerArithmetic2.d | 42 int array[5]; 45 array[0] = 100; 46 array[1] = 200; 47 array[2] = 300; 48 array[3] = 400; 49 array[4] = 500; 51 p = &array[0]; 53 printf("array[0]: %d\t*p: %d\n", array[0], *p); 54 printf("array[ [all...] |
H A D | err.InvalidAddress5.d | 43 int array[3]; 54 array[0] = 20; 55 array[1] = 40; 56 array[2] = 80; 58 uptr = (uintptr_t) &array[0]; 64 printf("array[0]: %d\t*p: %d\n", array[0], *p); 65 printf("array[1]: %d\t*q: %d\n", array[1], *q); 66 printf("array[ [all...] |
H A D | tst.IntegerArithmetic1.d | 41 int array[3]; 49 array[0] = 20; 50 array[1] = 40; 51 array[2] = 80; 53 uptr = (uintptr_t) &array[0]; 59 printf("array[0]: %d\t*p: %d\n", array[0], *p); 60 printf("array[1]: %d\t*q: %d\n", array[1], *q); 61 printf("array[ [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/tests/stress/ |
H A D | dead-fiat-double-to-int52.js | 1 var array = new Float64Array(1); 2 array[0] = 42; 5 fiatInt52(array[0]); 6 fiatInt52(array[0]);
|
H A D | array-pop-contiguous.js | 1 function foo(array) { 2 return [array.pop(), array.pop(), array.pop(), array.pop()];
|
H A D | array-pop-double.js | 1 function foo(array) { 2 return [array.pop(), array.pop(), array.pop(), array.pop()];
|
H A D | array-pop-int32.js | 1 function foo(array) { 2 return [array.pop(), array.pop(), array.pop(), array.pop()];
|
H A D | dead-fiat-double-to-int52-then-exit-not-int52.js | 1 var array = new Float64Array(1); 2 array[0] = 42; 5 fiatInt52(array[0]); 6 fiatInt52(array[0]); 14 array[0] = 5.5;
|
H A D | array-pop-double-hole.js | 2 var array = [1.5, 2, 3.5]; 3 array.pop(); 4 array[3] = 4.5; 5 return array;
|
H A D | fiat-double-to-int52-then-exit-not-int52.js | 1 var array = new Float64Array(1); 2 array[0] = 42; 5 return fiatInt52(array[0]) + 1; 16 array[0] = 5.5;
|
/macosx-10.10/bash-94.1.2/bash-3.2/examples/functions/ |
H A D | array-to-string | 11 local array=$1 string=$2 13 eval $string="\"\${$array[*]}\""
|
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Expressions/ |
H A D | 11.4.6.js | 53 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "+('')", 0, +("") ); 56 array[item++] = new TestCase( SECTION, "+(' ')", 0, +(" ") ); 57 array[item++] = new TestCase( SECTION, "+(\\t)", 0, +("\t") ); 58 array[item++] = new TestCase( SECTION, "+(\\n)", 0, +("\n") ); 59 array[item++] = new TestCase( SECTION, "+(\\r)", 0, +("\r") ); 60 array[item++] = new TestCase( SECTION, "+(\\f)", 0, +("\f") ); 62 array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0009)", 0, +(String.fromCharCode(0x0009)) ); 63 array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0020)", 0, +(String.fromCharCode(0x0020)) ); 64 array[ite [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Boolean/ |
H A D | 15.6.4.3.js | 37 var array = new Array(); 40 array[item++] = new TestCase( "15.8.6.4", "new Boolean(1)", true, (new Boolean(1)).valueOf() ); 42 array[item++] = new TestCase( "15.8.6.4", "new Boolean(0)", false, (new Boolean(0)).valueOf() ); 43 array[item++] = new TestCase( "15.8.6.4", "new Boolean(-1)", true, (new Boolean(-1)).valueOf() ); 44 array[item++] = new TestCase( "15.8.6.4", "new Boolean('1')", true, (new Boolean("1")).valueOf() ); 45 array[item++] = new TestCase( "15.8.6.4", "new Boolean('0')", true, (new Boolean("0")).valueOf() ); 46 array[item++] = new TestCase( "15.8.6.4", "new Boolean(true)", true, (new Boolean(true)).valueOf() ); 47 array[item++] = new TestCase( "15.8.6.4", "new Boolean(false)", false, (new Boolean(false)).valueOf() ); 48 array[item++] = new TestCase( "15.8.6.4", "new Boolean('true')", true, (new Boolean("true")).valueOf() ); 49 array[ite [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/LexicalConventions/ |
H A D | 7.7.3.js | 48 var array = new Array(); 51 array[item++] = new TestCase( SECTION, "0", 0, 0 ); 52 array[item++] = new TestCase( SECTION, "1", 1, 1 ); 53 array[item++] = new TestCase( SECTION, "2", 2, 2 ); 54 array[item++] = new TestCase( SECTION, "3", 3, 3 ); 55 array[item++] = new TestCase( SECTION, "4", 4, 4 ); 56 array[item++] = new TestCase( SECTION, "5", 5, 5 ); 57 array[item++] = new TestCase( SECTION, "6", 6, 6 ); 58 array[item++] = new TestCase( SECTION, "7", 7, 7 ); 59 array[ite [all...] |
/macosx-10.10/ICU-531.30/icuSources/samples/layout/ |
H A D | arraymem.h | 12 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 18 #define DELETE_ARRAY(array) free((void *) (array)) 20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/macosx-10.10/Heimdal-398.1.2/base/ |
H A D | array.c | 50 heim_array_t array = ptr; local 52 for (n = 0; n < array->len; n++) 53 heim_release(array->val[n]); 54 free(array->val); 68 * Allocate an array 70 * @return A new allocated array, free with heim_release() 76 heim_array_t array; local 78 array = _heim_alloc_object(&array_object, sizeof(*array)); 79 if (array 110 heim_array_append_value(heim_array_t array, heim_object_t object) argument 132 heim_array_iterate_f(heim_array_t array, void *ctx, heim_array_iterator_f_t fn) argument 152 heim_array_iterate(heim_array_t array, heim_array_iterator_t fn) argument 171 heim_array_get_length(heim_array_t array) argument 187 heim_array_copy_value(heim_array_t array, size_t idx) argument 202 heim_array_delete_value(heim_array_t array, size_t idx) argument 227 heim_array_filter(heim_array_t array, int (^block)(heim_object_t)) argument [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/TypeConversion/ |
H A D | 9.8.1.js | 104 var array = new Array(); 107 array[item++] = new TestCase( SECTION, "Number.NaN", "NaN", Number.NaN + "" ); 108 array[item++] = new TestCase( SECTION, "0", "0", 0 + "" ); 109 array[item++] = new TestCase( SECTION, "-0", "0", -0 + "" ); 110 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY", "Infinity", Number.POSITIVE_INFINITY + "" ); 111 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY", "-Infinity", Number.NEGATIVE_INFINITY + "" ); 112 array[item++] = new TestCase( SECTION, "-1", "-1", -1 + "" ); 116 array[item++] = new TestCase( SECTION, "1", "1", 1 + "" ); 117 array[item++] = new TestCase( SECTION, "10", "10", 10 + "" ); 118 array[ite [all...] |