/device/google/cuttlefish_common/common/vsoc/lib/ |
wifi_exchange_view.h | 18 #include <array> 33 using MacAddress = std::array<
|
/external/clang/test/CodeGenCXX/ |
for-range.cpp | 33 extern B array[5]; 39 for (B b : array) {
|
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 22 struct dir_info *array; member in struct:dir_info_db 99 db->array = 0; 119 db->array = (struct dir_info *) 146 old_array = ctx->dir_info->array; 149 &ctx->dir_info->array); 158 if (old_array != ctx->dir_info->array) 180 * the dir_info array needs to be sorted by inode number for 184 ctx->dir_info->array[ctx->dir_info->count-1].ino >= ino) { 186 if (ctx->dir_info->array[i-1].ino < ino) 188 dir = &ctx->dir_info->array[i] [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
Atomics.java | 56 * @param length the length of the array 65 * and all elements copied from, the given array. 67 * @param array the array to copy elements from 68 * @return a new {@code AtomicReferenceArray} copied from the given array 70 public static <E> AtomicReferenceArray<E> newReferenceArray(E[] array) { 71 return new AtomicReferenceArray<E>(array);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
Platform.java | 41 static <T> T[] clone(T[] array) { 42 return array.clone();
|
/external/libchrome/base/ |
pending_task.h | 8 #include <array> 42 std::array<const void*, 4> task_backtrace;
|
/external/libcxx/test/std/containers/sequences/array/ |
front_back.pass.cpp | 10 // <array> 17 #include <array> 22 // std::array is explicitly allowed to be initialized with A a = { init-list };. 29 std::array<double, 3> arr = {1, 2, 3.5}; 35 std::array<double, 3> arr = {1, 2, 3.5}; 44 typedef std::array<T, 3> C; 59 typedef std::array<T, 3> C; 69 typedef std::array<T, 0> C; 85 typedef std::array<const T, 0> C; 102 typedef std::array<T, 3> C [all...] |
size_and_alignment.pass.cpp | 10 // <array> 13 // struct array 15 // Test the size and alignment matches that of an array of a given type. 17 #include <array> 27 typedef std::array<T, Size> ArrayT;
|
/external/mesa3d/src/compiler/glsl/ |
link_uniform_block_active_visitor.h | 37 struct uniform_block_array_elements *array; member in struct:uniform_block_array_elements 44 struct uniform_block_array_elements *array; member in struct:link_uniform_block_active
|
/external/protobuf/objectivec/ |
GPBArray.h | 51 + (instancetype)array; variable 53 + (instancetype)arrayWithValueArray:(GPBInt32Array *)array; 57 // Initializes the array, copying the values. 60 - (instancetype)initWithValueArray:(GPBInt32Array *)array; 71 - (void)addValuesFromArray:(GPBInt32Array *)array; 91 + (instancetype)array; variable 93 + (instancetype)arrayWithValueArray:(GPBUInt32Array *)array; 97 // Initializes the array, copying the values. 100 - (instancetype)initWithValueArray:(GPBUInt32Array *)array; 111 - (void)addValuesFromArray:(GPBUInt32Array *)array; 131 + (instancetype)array; variable 171 + (instancetype)array; variable 211 + (instancetype)array; variable 251 + (instancetype)array; variable 291 + (instancetype)array; variable 332 + (instancetype)array; variable [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowColorMatrixColorFilter.java | 19 public void __constructor__(float[] array) { 20 this.matrix = new ColorMatrix(array);
|
/external/tensorflow/tensorflow/compiler/tests/ |
gather_nd_op_test.py | 43 np.array([7, 7, 8], dtype=dtype), 45 np.array([8, 1, 2, 3, 7, 5], dtype=dtype), 46 np.array([[4], [4], [0]], np.int32))) 72 params = np.array( 74 indices = np.array([4, 1], dtype=np.int32) 76 self.assertAllEqual(np.array(7), gather_nd_val) 79 params = np.array( 81 indices = np.array( 86 self.assertAllEqual(np.array([-7, 7]), gather_nd_val) 89 params = np.array( [all...] |
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/ |
types.h | 33 // Build the flatbuffer representation of a toco's Array and return the 34 // corresponding offset into the flatbuffer. Note that data from the array 36 static FlatBufferOffset Serialize(const Array& array, 38 // Copy data from the given tensor into toco's Array. 40 const ::tflite::Buffer& buffer, Array* array);
|
/external/tensorflow/tensorflow/core/kernels/ |
random_op_gpu.cu.cc | 46 T* buf, const tensorflow::random::Array<T, ElementCount>& array) const { 49 buf[i] = array[i]; 57 // Copies the elements from the array to buf. buf must be 128-bit aligned, 61 float* buf, const tensorflow::random::Array<float, 4>& array) const { 62 // NOTE(ringwalt): It's not safe to cast &array[0] to a float4, because they 66 vec.x = array[0]; 67 vec.y = array[1]; 68 vec.z = array[2] [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
matrix_triangular_solve_op_test.py | 98 matrix = np.array([[0.1]]) 99 rhs0 = np.array([[1.]]) 102 matrix = np.array([[1., 2.], [3., 4.]]) 103 rhs0 = np.array([[1.], [1.]]) 106 rhs1 = np.array([[1., 0., 1.], [0., 1., 1.]]) 111 matrix = np.array([[0.1 + 1j * 0.1]]) 112 rhs0 = np.array([[1. + 1j]]) 115 matrix = np.array([[1., 2.], [3., 4.]]).astype(np.complex64) 117 rhs0 = np.array([[1.], [1.]]).astype(np.complex64) 121 rhs1 = np.array([[1., 0., 1.], [0., 1., 1.]]).astype(np.complex64 [all...] |
/external/testng/src/test/java/test/factory/ |
FactoryWithDataProvider.java | 20 public Object[] factory(int[] array) { 22 for (int n : array) {
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
IRemoteMemoryIntArray.aidl | 30 void accessLastElementInRemoteProcess(in MemoryIntArray array);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
UnmodifiableSparseIntArray.java | 29 public UnmodifiableSparseIntArray(SparseIntArray array) { 30 mArray = array;
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
array_vector.h | 20 #include <array> 38 // Access the ith array. 42 void push_back(const std::array<T, N>& values) {
|
/hardware/qcom/media/msm8974/libstagefrighthw/ |
QComOMXPlugin.cpp | 123 OMX_U8 **array = new OMX_U8 *[numRoles]; local 125 array[i] = new OMX_U8[OMX_MAX_STRINGNAME_SIZE]; 130 const_cast<OMX_STRING>(name), &numRoles2, array); 141 String8 s((const char *)array[i]); 144 delete[] array[i]; 145 array[i] = NULL; 148 delete[] array; 149 array = NULL;
|
/hardware/qcom/media/msm8996/libstagefrighthw/ |
QComOMXPlugin.cpp | 123 OMX_U8 **array = new OMX_U8 *[numRoles]; local 125 array[i] = new OMX_U8[OMX_MAX_STRINGNAME_SIZE]; 130 const_cast<OMX_STRING>(name), &numRoles2, array); 141 String8 s((const char *)array[i]); 144 delete[] array[i]; 145 array[i] = NULL; 148 delete[] array; 149 array = NULL;
|
/hardware/qcom/media/msm8998/libstagefrighthw/ |
QComOMXPlugin.cpp | 123 OMX_U8 **array = new OMX_U8 *[numRoles]; local 125 array[i] = new OMX_U8[OMX_MAX_STRINGNAME_SIZE]; 130 const_cast<OMX_STRING>(name), &numRoles2, array); 141 String8 s((const char *)array[i]); 144 delete[] array[i]; 145 array[i] = NULL; 148 delete[] array; 149 array = NULL;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
ReadOnlyCharBufferTest.java | 46 buf.array(); 84 char array[] = new char[1]; local 86 buf.put(array); 100 char array[] = new char[1]; local 102 buf.put(array, 0, array.length); 120 buf.put(array, -1, array.length);
|
/libcore/json/src/test/java/libcore/org/json/ |
SelfUseTest.java | 82 private final JSONArray array = new JSONArray() { field in class:SelfUseTest 166 array.put("foo"); 167 array.put("baz"); 168 array.put("bar"); 169 object.toJSONArray(array); 177 array.put(10, false); 182 array.isNull(5); 187 array.put(true); 188 array.getBoolean(0); 193 array.optBoolean(3) [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug255.go | 12 var d ["abc"]int // ERROR "invalid array bound|not numeric" 13 var e [nil]int // ERROR "use of untyped nil|invalid array bound|not numeric" 15 var g [1 << 65]int // ERROR "array bound is too large|overflows" 20 var i [len([1]string{ff()})]int // ERROR "non-constant array bound|not constant"
|