| /external/python/cpython2/Lib/ctypes/test/ |
| test_numbers.py | 159 from array import array 161 # the array module doesn't support all format codes 164 array(t._type_) 167 a = array(t._type_, [100]) 180 from array import array 182 a = array(t._type_, [3.14]) 192 from array import array [all...] |
| /external/python/cpython3/Lib/ctypes/test/ |
| test_numbers.py | 159 from array import array 161 # the array module doesn't support all format codes 164 array(t._type_) 167 a = array(t._type_, [100]) 180 from array import array 182 a = array(t._type_, [3.14]) 192 from array import array [all...] |
| /external/skia/src/core/ |
| SkColorMatrixFilterRowMajor255.cpp | 41 const float* array = fMatrix; local 44 bool changesAlpha = (array[15] || array[16] || array[17] || (array[18] - 1) || array[19]); 45 bool usesAlpha = (array[3] || array[8] || array[13]); 56 SkColorMatrixFilterRowMajor255::SkColorMatrixFilterRowMajor255(const SkScalar array[20]) [all...] |
| SkDataTable.cpp | 25 SkDataTable::SkDataTable(const void* array, size_t elemSize, int count, 31 fU.fElems = (const char*)array; 113 sk_sp<SkDataTable> SkDataTable::MakeCopyArray(const void* array, size_t elemSize, int count) { 120 memcpy(buffer, array, bufferSize); 125 sk_sp<SkDataTable> SkDataTable::MakeArrayProc(const void* array, size_t elemSize, int count, 130 return sk_sp<SkDataTable>(new SkDataTable(array, elemSize, count, proc, ctx));
|
| /external/skqp/src/core/ |
| SkColorMatrixFilterRowMajor255.cpp | 41 const float* array = fMatrix; local 44 bool changesAlpha = (array[15] || array[16] || array[17] || (array[18] - 1) || array[19]); 45 bool usesAlpha = (array[3] || array[8] || array[13]); 56 SkColorMatrixFilterRowMajor255::SkColorMatrixFilterRowMajor255(const SkScalar array[20]) [all...] |
| SkDataTable.cpp | 25 SkDataTable::SkDataTable(const void* array, size_t elemSize, int count, 31 fU.fElems = (const char*)array; 113 sk_sp<SkDataTable> SkDataTable::MakeCopyArray(const void* array, size_t elemSize, int count) { 120 memcpy(buffer, array, bufferSize); 125 sk_sp<SkDataTable> SkDataTable::MakeArrayProc(const void* array, size_t elemSize, int count, 130 return sk_sp<SkDataTable>(new SkDataTable(array, elemSize, count, proc, ctx));
|
| /external/tensorflow/tensorflow/contrib/grid_rnn/python/kernel_tests/ |
| grid_rnn_test.py | 56 np.array([[1., 1., 1.]]), 57 m: ((np.array([[0.1, 0.2]]), np.array([[0.3, 0.4]])), 58 (np.array([[0.5, 0.6]]), np.array([[0.7, 0.8]]))) 82 {x: np.array([[2., 2., 2.]]), 114 np.array([[1., 1., 1.]]), 115 m: ((np.array([[0.1, 0.2]]), np.array([[0.3, 0.4]])), 116 (np.array([[0.5, 0.6]]), np.array([[0.7, 0.8]])) [all...] |
| /external/webrtc/webrtc/modules/rtp_rtcp/source/ |
| rtp_packet_history_unittest.cc | 43 uint32_t timestamp, uint8_t* array, size_t* cur_pos) { 44 array[(*cur_pos)++] = 0x80; 45 array[(*cur_pos)++] = payload; 46 array[(*cur_pos)++] = seq_num >> 8; 47 array[(*cur_pos)++] = seq_num; 48 array[(*cur_pos)++] = timestamp >> 24; 49 array[(*cur_pos)++] = timestamp >> 16; 50 array[(*cur_pos)++] = timestamp >> 8; 51 array[(*cur_pos)++] = timestamp; 52 array[(*cur_pos)++] = ssrc >> 24 [all...] |
| /tools/test/connectivity/acts/framework/tests/ |
| audio_analysis_unittest.py | 31 def dummy_peak_detection(self, array, window_size): 32 """Detects peaks in an array in simple way. 34 A point (i, array[i]) is a peak if array[i] is the maximum among 35 array[i - half_window_size] to array[i + half_window_size]. 36 If array[i - half_window_size] to array[i + half_window_size] are all 40 array: The input array to detect peaks in. Array is a list o [all...] |
| /external/mdnsresponder/mDNSWindows/NSPTool/ |
| NSPTool.c | 364 WSANAMESPACE_INFO * array; local 367 array = NULL; 375 // Build an array of all the NSPs. Call it first with NULL to get the size, allocate a buffer, then get them into it. 382 array = (WSANAMESPACE_INFO *) malloc( size ); 383 require_action( array, exit, err = kNoMemoryErr ); 385 n = WSAEnumNameSpaceProviders( &size, array ); 393 fprintf( stdout, " NSProviderId: %s\n", GUIDtoString( &array[ i ].NSProviderId, s ) ); 394 fprintf( stdout, " dwNameSpace: %d\n", array[ i ].dwNameSpace ); 395 fprintf( stdout, " fActive: %s\n", array[ i ].fActive ? "YES" : "NO" ); 396 fprintf( stdout, " dwVersion: %d\n", array[ i ].dwVersion ) 430 WSANAMESPACE_INFO * array; local [all...] |
| /external/icu/icu4c/source/common/ |
| unistr.cpp | 162 UChar *array = getArrayStart(); local 165 array[i] = unit; 180 UChar *array = getArrayStart(); local 184 array[i] = lead; 185 array[i + 1] = trail; 342 // array allocation 382 int32_t *array = (int32_t *) uprv_malloc(numBytes); local 383 if(array != NULL) { 385 *array++ = 1; 389 fUnion.fFields.fArray = (UChar *)array; 629 const UChar *array = getBuffer(); local 793 const UChar *array = getArrayStart(); local 805 const UChar *array = getArrayStart(); local 817 const UChar *array = getArrayStart(); local 849 const UChar *array = getArrayStart(); local 869 const UChar *array = getArrayStart(); local 883 const UChar *array = getArrayStart(); local 919 const UChar *array = getBuffer(); \/\/ not getArrayStart() to check kIsBogus & kOpenGetBuffer local 1045 const UChar *array = getArrayStart(); local 1063 const UChar *array = getArrayStart(); local 1080 const UChar *array = getArrayStart(); local 1109 const UChar *array = getArrayStart(); local 1131 const UChar *array = getArrayStart(); local 1148 const UChar *array = getArrayStart(); local 1223 UChar *array = getArrayStart(); local 1666 UChar *array = getArrayStart(); local 1688 UChar *array = getArrayStart(); local 1735 const UChar *array=getArrayStart(), *p=array, *limit=array+capacity; local [all...] |
| /external/libxcam/modules/soft/ |
| soft_image.h | 113 inline void read_interpolate_array (Float2 *pos, O *array) const; 116 inline void read_array_no_check (const int32_t x, const int32_t y, T *array) const { 119 memcpy (array, t_ptr, sizeof (T) * N); 123 inline void read_array_no_check (const int32_t x, const int32_t y, O *array) const { 127 array[i] = t_ptr[i]; 132 inline void read_array (int32_t x, int32_t y, T *array) const { 136 read_array_no_check<N> (x, y, array); 141 array[i] = t_ptr[x]; 147 inline void read_array (int32_t x, int32_t y, O *array) const { 153 array[i] = t_ptr[x] [all...] |
| /external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
| nv50_ir_build_util.h | 112 Location(unsigned array, unsigned arrayIdx, unsigned i, unsigned c) 113 : array(array), arrayIdx(arrayIdx), i(i), c(c) { } 115 : array(l.array), arrayIdx(l.arrayIdx), i(l.i), c(l.c) { } 120 array == l.array && arrayIdx == l.arrayIdx && i == l.i && c == l.c; 125 return array != l.array ? array < l.array 132 unsigned array, arrayIdx, i, c; member in struct:nv50_ir::BuildUtil::Location 160 unsigned array, arrayIdx; member in class:nv50_ir::BuildUtil::DataArray [all...] |
| /external/pdfium/fxjs/ |
| fxjs_v8_embeddertest.cpp | 181 auto array = engine()->NewArray(); local 182 EXPECT_EQ(0u, engine()->GetArrayLength(array)); 183 EXPECT_FALSE(engine()->GetArrayElement(array, 2).IsEmpty()); 184 EXPECT_TRUE(engine()->GetArrayElement(array, 2)->IsUndefined()); 185 EXPECT_EQ(0u, engine()->GetArrayLength(array)); 187 engine()->PutArrayElement(array, 3, engine()->NewNumber(12)); 188 EXPECT_FALSE(engine()->GetArrayElement(array, 2).IsEmpty()); 189 EXPECT_TRUE(engine()->GetArrayElement(array, 2)->IsUndefined()); 190 EXPECT_FALSE(engine()->GetArrayElement(array, 3).IsEmpty()); 191 EXPECT_TRUE(engine()->GetArrayElement(array, 3)->IsNumber()) [all...] |
| /art/test/497-inlining-and-class-loader/ |
| clear_dex_cache.cc | 20 #include "mirror/array-inl.h" 42 jarray array; local 44 array = env->NewIntArray(2u * num_methods); 46 array = env->NewLongArray(2u * num_methods); 48 CHECK(array != nullptr); 49 ObjPtr<mirror::Array> decoded_array = soa.Decode<mirror::Array>(array); 64 return array; 75 ObjPtr<mirror::Array> old = soa.Decode<mirror::Array>(old_cache) [all...] |
| /external/autotest/client/cros/cellular/mbim_compliance/ |
| usb_descriptors_unittest.py | 7 from array import array 49 descriptor_data = array('B', [0x02, 0xAA]) 66 descriptor = TestDescriptor(array('B', [0x03, 0xBB, 0xBB])) 79 descriptor = TestDescriptor(array('B', [0x03, 0xAA, 0xCC])) 91 descriptor = TestDescriptor(array('B', [0x01, 0xAA, 0xBB])) 96 descriptor = TestDescriptor(array('B', [0x04, 0xAA, 0xBB])) 108 descriptor = TestDescriptor(array('B', [0x03])) 117 descriptor_data = array('B', [0x03, 0xAA, 0xBB]) 129 descriptor_data = array('B', [0x02, 0xFF] [all...] |
| /external/clang/test/SemaCXX/ |
| array-bounds.cpp | 4 int x[2]; // expected-note 4 {{array 'x' declared here}} 5 int y[2]; // expected-note 2 {{array 'y' declared here}} 6 int z[1]; // expected-note {{array 'z' declared here}} 7 int w[1][1]; // expected-note {{array 'w' declared here}} 8 int v[1][1][1]; // expected-note {{array 'v' declared here}} 11 y[2] = 2; // expected-warning {{array index 2 is past the end of the array (which contains 2 elements)}} 12 z[1] = 'x'; // expected-warning {{array index 1 is past the end of the array (which contains 1 element)}} 13 w[0][2] = 0; // expected-warning {{array index 2 is past the end of the array (which contains 1 element)} 56 int array[2]; \/\/ expected-note {{declared here}} local 100 short array[100]; \/\/ expected-note {{array 'array' declared here}} local 130 int array[2]; local [all...] |
| /external/guava/guava-testlib/src/com/google/common/collect/testing/ |
| AbstractContainerTester.java | 169 E[] array = getSubjectGenerator().createArray(getNumElements()); local 170 getSampleElements().toArray(array); 171 return array; 175 E[] array = getSubjectGenerator().createArray(getNumElements()); local 176 getOrderedElements().toArray(array); 177 return array; 191 * @return an array of the proper size with a duplicate element.
|
| /external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
| ClassHeaderReader.java | 20 import java.lang.reflect.Array; 163 private static Object resizeArray(Object array, int length) 165 if (Array.getLength(array) < length) { 166 Object newArray = Array.newInstance(array.getClass().getComponentType(), length); 167 System.arraycopy(array, 0, newArray, 0, Array.getLength(array)); 170 return array; [all...] |
| /external/libbrillo/brillo/glib/ |
| object_unittest.cc | 97 ::GPtrArray* array = ::g_ptr_array_new(); local 98 ::g_ptr_array_add(array, ::gpointer(a)); 100 ScopedPtrArray<const char*> x(array); 119 ::GPtrArray* array = ::g_ptr_array_new(); local 120 ::g_ptr_array_add(array, ::gpointer(b)); 122 x.reset(array);
|
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
| ast.ml | 20 | Call of string * expr array 32 | Prototype of string * string array 33 | BinOpPrototype of string * string array * int
|
| /external/mesa3d/src/mesa/math/ |
| m_debug_util.h | 48 #define TEST_COUNT 128 /* size of the tested vector array */ 308 # define ALIGN16(type, array) type array __attribute__ ((aligned (16))) 310 # define ALIGN16(type, array) type array __declspec(align(16)) /* GH: Does this work? */ 312 # define ALIGN16(type, array) type __align (16) array
|
| /external/mesa3d/src/mesa/swrast/ |
| s_bitmap.c | 86 span.array->x[count] = px + col; 87 span.array->y[count] = py + row; 108 span.array->x[count] = px + col; 109 span.array->y[count] = py + row; 144 * fragments, initializing the mask array to indicate which fragments to 183 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE; 203 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE;
|
| /external/mockito/src/main/java/org/mockito/internal/util/collections/ |
| HashCodeAndEqualsSafeSet.java | 15 import static java.lang.reflect.Array.*; 99 private <T> T[] unwrapTo(T[] array) { 101 for (int i = 0, objectsLength = array.length; i < objectsLength; i++) { 103 array[i] = (T) iterator.next(); 106 return array; 111 T[] array = typedArray.length >= size() ? typedArray : (T[]) newInstance(typedArray.getClass().getComponentType(), size()); local 112 return unwrapTo(array);
|
| /external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter6/ |
| ast.ml | 20 | Call of string * expr array 32 | Prototype of string * string array 33 | BinOpPrototype of string * string array * int
|