/prebuilts/jdk/jdk8/linux-x86/sample/scripting/scriptpad/src/resources/ |
mm.js | 160 // wraps a script array as java.lang.Object[] 161 function objectArray(array) { 162 return Java.to(array, "java.lang.Object[]"); 165 // wraps a script (string) array as java.lang.String[] 166 function stringArray(array) { 167 return Java.to(array, "java.lang.String[]"); 170 // script array to Java List 171 function toAttrList(array) { 173 if (array instanceof AttributeList) { 174 return array; [all...] |
/prebuilts/misc/common/swig/include/2.0.11/lua/ |
typemaps.i | 99 * Basic Array typemaps 110 void process_array(int arr[3]); // nice fixed size array 111 void process_var_array(float arr[],int len); // variable sized array 112 void process_var_array_inout(double* arr,int len); // variable sized array 115 void return_array_5(int arrout[5]); // out array only 139 * for OUTPUT arrays, no array need be passed in, the fn will return a Lua table 149 * variable length output only array (inout works ok) 157 The internals of the array management stuff 159 SWIG_ALLOC_ARRAY(TYPE,LEN) // returns a typed array TYPE[LEN] 172 // but the C array is a indexed from [all...] |
/external/proguard/src/proguard/shrink/ |
ClassShrinker.java | 143 // Shrink the attributes array. 160 // Shrink the array of BootstrapMethodInfo objects. 178 // Shrink the array of InnerClassesInfo objects. 205 // Shrink the attributes array. 217 // Shrink the local variable info array. 226 // Shrink the local variable type info array. 235 // Shrink the annotations array. 250 // Shrink the parameter annotations array. 265 // Shrink the element values array. 345 // Shrink the element values array [all...] |
/external/perf_data_converter/src/quipper/ |
sample_info_reader.cc | 335 uint64_t* array = local 359 *array++ = sample.id; 365 *array++ = sample.ip; 372 *array++ = val64; 377 *array++ = sample.time; 382 *array++ = sample.addr; 387 *array++ = sample.id; 392 *array++ = sample.stream_id; 400 *array++ = val64; 407 *array++ = sample.id [all...] |
/cts/apps/CameraITS/tests/inprog/scene2/ |
test_dng_tags.py | 51 print "HAL reported gains:\n", numpy.array(gains) 52 print "HAL reported ccm:\n", numpy.array(ccm).reshape(3,3) 53 print "HAL reported cal:\n", numpy.array(cal).reshape(3,3) 69 cm_ref = numpy.array(its.objects.rational_to_float( 71 fm_ref = numpy.array(its.objects.rational_to_float( 73 asn_ref = numpy.array(its.objects.rational_to_float(
|
/external/annotation-tools/asmx/src/org/objectweb/asm/tree/ |
AnnotationNode.java | 55 * two elements String array (for enumeration values), a 72 * Constructs a new {@link AnnotationNode} to visit an array value. 130 List array = new ArrayList(); local 131 values.add(array); 132 return new AnnotationNode(array); 178 List array = (List) value; local 179 for (int j = 0; j < array.size(); ++j) { 180 accept(v, null, array.get(j));
|
/external/capstone/bindings/ocaml/ |
x86.ml | 30 prefix: int array; 31 opcode: int array; 44 operands: x86_op array;
|
/external/clang/test/Analysis/ |
misc-ps.c | 117 // Test double loop of array and array literals. Previously this 122 int *array[] = { array1, array2 }; local 126 sum += array[i][j]; // no-warning 138 // Test that symbolic array offsets are modeled conservatively. 145 unsigned long array[6]; local 149 array[i] = i; 151 array[count - 1] = i; 152 rdar_12075238__aux(array[2]); // no-warning
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap001.c | 83 char *array; local 134 array = mmap(0, memsize, PROT_WRITE, MAP_SHARED, fd, 0); 135 if (array == MAP_FAILED) { 147 array[i] = (char)i; 157 TEST(msync(array, memsize, MS_SYNC)); 167 TEST(munmap(array, memsize));
|
/external/rappor/client/java/com/google/android/rappor/ |
HmacDrbg.java | 105 * Returns an 0-length byte array if b is null, otherwise returns b. 252 for (byte[] array : arrays) { 253 length += array.length; 257 for (byte[] array : arrays) { 258 System.arraycopy(array, 0, result, pos, array.length); 259 pos += array.length;
|
/external/syslinux/gpxe/src/arch/i386/include/ |
libkir.h | 15 #define __data16_array( variable, array ) variable array 17 #define __bss16_array( variable, array ) variable array 19 #define __text16_array( variable,array ) variable array
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
mvn_diag_plus_low_rank_test.py | 39 diag = np.array([[1., 2], [3, 4], [5, 6]]) 41 identity_multiplier = np.array([5.]) 48 np.array([[[1. + 5, 0], 61 diag = np.array([[1., 2], [3, 4], [5, 6]]) 63 identity_multiplier = np.array([[5.], [4], [3]]) 75 diag = np.array([[1., 2], [3, 4], [5, 6]]) 77 identity_multiplier = np.array([5., 4, 3]) 84 np.array([[[1. + 5, 0], 94 loc = np.array([1., 0, -1]) 96 identity_multiplier = np.array([5., 4, 3] [all...] |
/external/tensorflow/tensorflow/contrib/periodic_resample/python/kernel_tests/ |
periodic_resample_op_test.py | 35 desired_shape = numpy.array([6, None]) 46 desired_shape = numpy.array([5, None]) 57 desired_shape = numpy.array([4, 4, None]) 58 output_tensor = numpy.array([[[0], [2], [4], [6]], [[1], [3], [5], [7]], 75 desired_shape = numpy.array([4, 4, 4, None]) 76 output_tensor = numpy.array(
|
/external/tensorflow/tensorflow/python/ops/ |
dequantize_op_test.py | 63 self._testDequantizeOp(np.array([0, 128, 255]), 0.0, 6.0, dtypes.quint8) 64 self._testDequantizeOp(np.array([0, 128, 255]), 0.0, 123.456, dtypes.quint8) 66 np.array([0, 4, 42, 108, 243]), 5.0, 200.2, dtypes.quint8) 69 self._testDequantizeOp(np.array([-128, 0, 127]), -1.0, 2.0, dtypes.qint8) 70 self._testDequantizeOp(np.array([-2, 4, -17]), -5.0, -3.0, dtypes.qint8) 71 self._testDequantizeOp(np.array([0, -4, 42, -108]), 5.0, 40.0, dtypes.qint8)
|
/external/v8/src/js/ |
spread.js | 20 var array = arguments[i]; 21 var length = array.length; 23 args.push(array[j]);
|
/frameworks/base/core/jni/ |
android_ddm_DdmHandleNativeHeap.cpp | 71 * and return the array. 94 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize); local 95 if (array != NULL) { 96 env->SetByteArrayRegion(array, 0, 98 env->SetByteArrayRegion(array, sizeof(header), 100 env->SetByteArrayRegion(array, sizeof(header) + maps.size(), 105 return array;
|
scoped_nullable_primitive_array.h | 27 static constexpr void getArrayRegion(JNIEnv* env, ARRAY_TYPE array, size_t start, \ 29 env->Get ## NAME ## ArrayRegion(array, start, len, out); \ 32 static constexpr POINTER_TYPE getArrayElements(JNIEnv* env, ARRAY_TYPE array) { \ 33 return env->Get ## NAME ## ArrayElements(array, nullptr); \ 36 static constexpr void releaseArrayElements(JNIEnv* env, ARRAY_TYPE array, \ 38 env->Release ## NAME ## ArrayElements(array, buffer, mode); \ 90 // ScopedNullable***ArrayRO provide convenient read-only access to Java array from JNI code.
|
/packages/apps/SecureElement/src/com/android/se/internal/ |
ByteArrayConverter.java | 45 * Forms a FileViewProvider-compatible path String (i.e., transforms the byte array {0x3F, 0x00, 48 * @param rawPath The byte array containing the path component. 75 * Forms an hex-encoded String of the specified byte array. 77 * @param array The byte array to be hex-encoded. 80 * @return A hex-encoded String of the specified byte array. 82 public static String byteArrayToHexString(byte[] array, int offset, int length) { 83 if (array == null) { 90 sb.append(String.format("%02x", array[offset + i] & 0xFF)); 96 /** Converts the byte array to Hex String from a given offset * [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/issue4252.dir/ |
a.go | 20 var array [append]int 27 if len(array) != 42 { 28 println(len(array))
|
/prebuilts/go/linux-x86/test/fixedbugs/issue4252.dir/ |
a.go | 20 var array [append]int 27 if len(array) != 42 { 28 println(len(array))
|
/system/tools/aidl/tests/ |
aidl_test_client_file_descriptors.cpp | 142 vector<unique_fd> array; local 143 array.resize(2); 145 if (!DoPipe(&array[0], &array[1])) { 152 status = s->ReverseFileDescriptorArray(array, &repeated, &reversed); 155 cerr << "Could not reverse file descriptor array." << endl; 160 DoWrite(FdByName(array[1]), "First") &&
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/ |
LittleEndianUtilsTest.java | 39 assertArrayEquals(new byte[] { 2, 1 }, out.array()); 43 assertArrayEquals(new byte[] { (byte) 0xdc, (byte) 0xfe }, out.array()); 63 ByteBuffer in = ByteBuffer.wrap(out.array()); 81 assertArrayEquals(new byte[] { 4, 3, 2, 1 }, out.array()); 86 out.array()); 106 ByteBuffer in = ByteBuffer.wrap(out.array());
|
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/ |
training_ops_test.py | 303 handler1_partitions = np.array([0], dtype=np.int32) 304 handler1_gains = np.array([7.62], dtype=np.float32) 306 handler2_partitions = np.array([0], dtype=np.int32) 307 handler2_gains = np.array([0.63], dtype=np.float32) 309 handler3_partitions = np.array([0], dtype=np.int32) 310 handler3_gains = np.array([7.62], dtype=np.float32) 451 handler1_partitions = np.array([1], dtype=np.int32) 452 handler1_gains = np.array([1.4], dtype=np.float32) 454 handler2_partitions = np.array([1, 2], dtype=np.int32) 455 handler2_gains = np.array([0.63, 2.7], dtype=np.float32 [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
SafeRepresenter.java | 202 Object[] array = (Object[]) data; local 203 List<Object> list = Arrays.asList(array); 239 byte[] array = (byte[]) in; 240 List<Byte> list = new ArrayList<Byte>(array.length); 241 for (int i = 0; i < array.length; ++i) 242 list.add(array[i]); 247 short[] array = (short[]) in; local 248 List<Short> list = new ArrayList<Short>(array.length); 249 for (int i = 0; i < array.length; ++i) 250 list.add(array[i]) 255 int[] array = (int[]) in; local 263 long[] array = (long[]) in; local 271 float[] array = (float[]) in; local 279 double[] array = (double[]) in; local 287 char[] array = (char[]) in; local [all...] |
/external/v8/src/ |
feedback-vector.cc | 71 Handle<FixedArray> array = factory->NewFixedArray(length, TENURED); local 72 array->set(kSlotsCountIndex, Smi::FromInt(slot_count)); 75 array->set(kReservedIndexCount + i, Smi::kZero); 78 Handle<FeedbackMetadata> metadata = Handle<FeedbackMetadata>::cast(array); 174 Handle<FixedArray> array = factory->NewFixedArray(length, TENURED); local 175 array->set_map_no_write_barrier(isolate->heap()->feedback_vector_map()); 176 array->set(kSharedFunctionInfoIndex, *shared); 177 array->set(kInvocationCountIndex, Smi::kZero); 193 array->set(index, isolate->heap()->empty_weak_cell(), 199 array->set(index, Smi::kZero, SKIP_WRITE_BARRIER) 386 Handle<FixedArray> array = isolate->factory()->NewFixedArray(length); local 398 Handle<FixedArray> array = isolate->factory()->NewFixedArray(length); local 668 Handle<FixedArray> array = EnsureExtraArrayOfSize(2); local 690 Handle<FixedArray> array = EnsureExtraArrayOfSize(2); local 701 Handle<FixedArray> array = EnsureArrayOfSize(receiver_count * 2); local 712 Handle<FixedArray> array; local 729 Handle<FixedArray> array = EnsureArrayOfSize(receiver_count * 2); local 740 Handle<FixedArray> array; local 758 Handle<FixedArray> array = EnsureArrayOfSize(receiver_count * 3); local 805 FixedArray* array = FixedArray::cast(feedback); local 837 FixedArray* array = FixedArray::cast(feedback); local 876 FixedArray* array = FixedArray::cast(feedback); local [all...] |