/external/harfbuzz_ng/src/ |
hb-set-digest-private.hh | 86 inline void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) 90 add (*array); 91 array = (const T *) (stride + (const char *) array); 95 inline bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) 99 add (*array); 100 array = (const T *) (stride + (const char *) array); 138 inline void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) 140 head.add_array (array, count, stride) [all...] |
/external/skia/bench/ |
FontCacheBench.cpp | 40 const uint16_t* array = gUniqueGlyphIDs; variable 41 while (*array != gUniqueGlyphIDs_Sentinel) { 42 int count = count_glyphs(array); 44 paint.measureText(array, count * sizeof(uint16_t)); 46 array += count + 1; // skip the sentinel 78 static int count_collisions(const uint16_t array[], int count, HasherProc proc, 85 int index = proc(array[i]) & hashMask; 92 static void dump_array(const uint16_t array[], int count) { 94 SkDebugf(" %d,", array[i]); 124 const uint16_t* array = gUniqueGlyphIDs variable [all...] |
/external/skqp/bench/ |
FontCacheBench.cpp | 40 const uint16_t* array = gUniqueGlyphIDs; variable 41 while (*array != gUniqueGlyphIDs_Sentinel) { 42 int count = count_glyphs(array); 44 paint.measureText(array, count * sizeof(uint16_t)); 46 array += count + 1; // skip the sentinel 78 static int count_collisions(const uint16_t array[], int count, HasherProc proc, 85 int index = proc(array[i]) & hashMask; 92 static void dump_array(const uint16_t array[], int count) { 94 SkDebugf(" %d,", array[i]); 124 const uint16_t* array = gUniqueGlyphIDs variable [all...] |
/art/compiler/ |
compiled_method-inl.h | 33 inline ArrayRef<const T> CompiledCode::GetArray(const LengthPrefixedArray<T>* array) { 34 if (array == nullptr) { 37 DCHECK_NE(array->size(), 0u); 38 return ArrayRef<const T>(&array->At(0), array->size());
|
/bionic/libc/arch-common/bionic/ |
crtbegin.c | 40 structors_array_t array; local 41 array.preinit_array = &__PREINIT_ARRAY__; 42 array.init_array = &__INIT_ARRAY__; 43 array.fini_array = &__FINI_ARRAY__; 45 __libc_init(raw_args, NULL, &main, &array);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/ |
pmu.h | 72 #define SAVE_QOS(array, NAME) \ 73 RK3399_CPU_AXI_SAVE_QOS(array, CPU_AXI_##NAME##_QOS_BASE) 74 #define RESTORE_QOS(array, NAME) \ 75 RK3399_CPU_AXI_RESTORE_QOS(array, CPU_AXI_##NAME##_QOS_BASE) 77 #define RK3399_CPU_AXI_SAVE_QOS(array, base) do { \ 78 array[0] = mmio_read_32(base + CPU_AXI_QOS_ID_COREID); \ 79 array[1] = mmio_read_32(base + CPU_AXI_QOS_REVISIONID); \ 80 array[2] = mmio_read_32(base + CPU_AXI_QOS_PRIORITY); \ 81 array[3] = mmio_read_32(base + CPU_AXI_QOS_MODE); \ 82 array[4] = mmio_read_32(base + CPU_AXI_QOS_BANDWIDTH); [all...] |
/external/caliper/examples/src/main/java/examples/ |
ListIterationBenchmark.java | 35 private Object[] array; field in class:ListIterationBenchmark 38 array = new Object[length]; 40 array[i] = new Object(); 49 return array[i]; 67 for (Object value : array) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
AbstractCollectionTester.java | 53 * @return an array of the proper size with {@code null} inserted into the 57 E[] array = createSamplesArray(); local 58 array[getNullLocation()] = null; 59 return array; 63 E[] array = createArrayWithNullElement(); local 64 resetContainer(getSubjectGenerator().create(array));
|
/external/libcxx/test/std/containers/sequences/array/array.size/ |
size.pass.cpp | 10 // <array> 12 // template <class T, size_t N> constexpr size_type array<T,N>::size(); 14 #include <array> 19 // std::array is explicitly allowed to be initialized with A a = { init-list };. 27 typedef std::array<T, 3> C; 35 typedef std::array<T, 0> C; 44 typedef std::array<T, 3> C; 52 typedef std::array<T, 0> C;
|
/external/libcxx/test/std/containers/sequences/array/array.tuple/ |
get.pass.cpp | 10 // <array> 12 // template <size_t I, class T, size_t N> T& get(array<T, N>& a); 14 #include <array> 19 // std::array is explicitly allowed to be initialized with A a = { init-list };. 26 std::array<int, 3> a; 31 constexpr std::array<int, 2> getArr () { return { 3, 4 }; } 38 typedef std::array<T, 3> C; 48 typedef std::array<T, 3> C;
|
/external/libtextclassifier/util/java/ |
string_utils.cc | 40 jbyteArray array = reinterpret_cast<jbyteArray>( local 43 jbyte* const array_bytes = env->GetByteArrayElements(array, JNI_FALSE); 44 int length = env->GetArrayLength(array); 48 // Release the array. 49 env->ReleaseByteArrayElements(array, array_bytes, JNI_ABORT); 50 env->DeleteLocalRef(array);
|
/external/proguard/src/proguard/optimize/evaluation/ |
SimpleEnumArrayPropagator.java | 43 private Value array; field in class:SimpleEnumArrayPropagator 59 // Find the array length of the "int[] $VALUES" field. 62 if (array != null) 64 // Set the array value with the found array length. We can't use 65 // the original array, because its elements might get overwritten. 69 array.referenceValue().arrayLength( 74 array = null; 80 array = StoringInvocationUnit.getFieldValue(programField);
|
/external/python/cpython2/Lib/ctypes/test/ |
test_cast.py | 9 array = (c_int * 3)(42, 17, 2) 11 # casting an array to a pointer works. 12 ptr = cast(array, POINTER(c_int)) 16 ptr = cast(array, POINTER(c_short)) 25 array = (c_int * 3)(42, 17, 2) 27 address = addressof(array) 35 array = (c_char_p * 5)() 36 self.assertEqual(array._objects, None) 37 array[0] = "foo bar" 38 self.assertEqual(array._objects, {'0': "foo bar"} [all...] |
/external/python/cpython3/Lib/ctypes/test/ |
test_cast.py | 9 array = (c_int * 3)(42, 17, 2) 11 # casting an array to a pointer works. 12 ptr = cast(array, POINTER(c_int)) 16 ptr = cast(array, POINTER(c_short)) 25 array = (c_int * 3)(42, 17, 2) 27 address = addressof(array) 35 array = (c_char_p * 5)() 36 self.assertEqual(array._objects, None) 37 array[0] = b"foo bar" 38 self.assertEqual(array._objects, {'0': b"foo bar"} [all...] |
/external/tensorflow/tensorflow/compiler/tests/ |
segment_reduction_ops_test.py | 48 np.array( 53 np.array([0, 1, 2, 3, 4, 5], dtype=dtype), 2, 4)) 58 np.array([1, 3, 2, 9], dtype=dtype), 60 np.array([0, 1, 2, 3, 4, 5], dtype=dtype), 61 np.array([3, 0, 2, 1, 3, 3], dtype=np.int32), 4)) 66 np.array([6, 3, 0, 6], dtype=dtype), 68 np.array([0, 1, 2, 3, 4, 5, 6], dtype=dtype), 69 np.array([3, -1, 0, 1, 0, -1, 3], dtype=np.int32), 4)) 73 data = np.array( 77 indices = np.array([8, 1, 0, 3, 7], dtype=np.int32 [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
ResourceUtilsTests.java | 43 final String[] array = { local 53 assertEquals("0.3", ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); 55 assertEquals("0.4", ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); 57 assertEquals("0.2", ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); 61 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); 65 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); 67 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); 69 assertNull(ResourceUtils.findConstantForKeyValuePairs(emptyKeyValue, array)); 76 final String[] array = { local 95 assertEquals("0.3", ResourceUtils.findConstantForKeyValuePairs(keyValues, array)); 120 final String[] array = { local [all...] |
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
Utils.java | 39 int totalSize = Arrays.stream(arrays).mapToInt((int[] array) -> array.length).sum(); 43 int[] array = arrays[i]; local 44 int length = array.length; 45 System.arraycopy(array, 0, newArray, usedSize, length);
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
Utils.java | 32 SparseArrayEntry(SparseArray<U> array, int index) { 33 key = array.keyAt(index); 34 value = array.valueAt(index); 41 SparseArrayIterator(SparseArray<T> array) { 42 mArray = array;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_cast.py | 8 array = (c_int * 3)(42, 17, 2) 10 # casting an array to a pointer works. 11 ptr = cast(array, POINTER(c_int)) 15 ptr = cast(array, POINTER(c_short)) 24 array = (c_int * 3)(42, 17, 2) 26 address = addressof(array) 34 array = (c_char_p * 5)() 35 self.assertEqual(array._objects, None) 36 array[0] = "foo bar" 37 self.assertEqual(array._objects, {'0': "foo bar"} [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_cast.py | 8 array = (c_int * 3)(42, 17, 2) 10 # casting an array to a pointer works. 11 ptr = cast(array, POINTER(c_int)) 15 ptr = cast(array, POINTER(c_short)) 24 array = (c_int * 3)(42, 17, 2) 26 address = addressof(array) 34 array = (c_char_p * 5)() 35 self.assertEqual(array._objects, None) 36 array[0] = "foo bar" 37 self.assertEqual(array._objects, {'0': "foo bar"} [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ocaml/ |
std_vector.i | 61 T *array = new T[self->size() + 1]; 63 array[i] = (*self)[i]; 64 return array; 72 let array_to_vector v argcons array = 73 for i = 0 to (Array.length array) - 1 do 74 (invoke v) "set" (C_list [ C_int i ; (argcons array.(i)) ]) 78 let vector_to_array v argcons array = 80 array.(i) <- argcons ((invoke v) "[]" (C_int i)) 87 val array_to_vector : c_obj -> ('a -> c_obj) -> 'a array -> c_ob [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/array/array.size/ |
size.pass.cpp | 10 // <array> 12 // template <class T, size_t N> constexpr size_type array<T,N>::size(); 14 #include <array> 19 // std::array is explicitly allowed to be initialized with A a = { init-list };. 27 typedef std::array<T, 3> C; 35 typedef std::array<T, 0> C; 44 typedef std::array<T, 3> C; 52 typedef std::array<T, 0> C;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/array/array.tuple/ |
get.pass.cpp | 10 // <array> 12 // template <size_t I, class T, size_t N> T& get(array<T, N>& a); 14 #include <array> 19 // std::array is explicitly allowed to be initialized with A a = { init-list };. 26 std::array<int, 3> a; 31 constexpr std::array<int, 2> getArr () { return { 3, 4 }; } 38 typedef std::array<T, 3> C; 48 typedef std::array<T, 3> C;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_cast.py | 8 array = (c_int * 3)(42, 17, 2) 10 # casting an array to a pointer works. 11 ptr = cast(array, POINTER(c_int)) 15 ptr = cast(array, POINTER(c_short)) 24 array = (c_int * 3)(42, 17, 2) 26 address = addressof(array) 34 array = (c_char_p * 5)() 35 self.assertEqual(array._objects, None) 36 array[0] = "foo bar" 37 self.assertEqual(array._objects, {'0': "foo bar"} [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_cast.py | 8 array = (c_int * 3)(42, 17, 2) 10 # casting an array to a pointer works. 11 ptr = cast(array, POINTER(c_int)) 15 ptr = cast(array, POINTER(c_short)) 24 array = (c_int * 3)(42, 17, 2) 26 address = addressof(array) 34 array = (c_char_p * 5)() 35 self.assertEqual(array._objects, None) 36 array[0] = "foo bar" 37 self.assertEqual(array._objects, {'0': "foo bar"} [all...] |