/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/Include/ |
arrays.h | 70 // TSmallArrayVector is used as the container for the set of sizes in TArraySizes. 77 // Almost all arrays could be handled by two sizes each fitting 79 // are more than 3 sizes or a size needing more than 16 bits. 83 TSmallArrayVector() : sizes(nullptr) { } 89 if (from.sizes == nullptr) 90 sizes = nullptr; 93 *sizes = *from.sizes; 101 if (sizes == nullptr) 103 return (int)sizes->size() 204 TVector<TArraySize>* sizes; \/\/ will either hold such a pointer, or in the future, hold the two array sizes member in struct:glslang::TSmallArrayVector 309 TSmallArrayVector sizes; member in struct:glslang::TArraySizes [all...] |
/external/ltp/testcases/kernel/syscalls/getrandom/ |
getrandom03.c | 39 static unsigned int sizes[] = { variable 55 TEST(tst_syscall(__NR_getrandom, buf, sizes[n], 0)); 57 if (TEST_RETURN != sizes[n]) { 59 TEST_RETURN, sizes[n]); 66 .tcnt = ARRAY_SIZE(sizes),
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_imgfile.py | 28 sizes = imgfile.getsizes(name)
39 sizes = imgfile.getsizes(name)
41 print 'Opening test image: %s, sizes: %s' % (name, str(sizes))
56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2])
60 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes))
62 # is scaled to the given x and y sizes. If the filter and blur [all...] |
/external/python/cpython2/Lib/test/ |
test_imgfile.py | 26 sizes = imgfile.getsizes(name) 37 sizes = imgfile.getsizes(name) 39 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 54 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 58 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 60 # is scaled to the given x and y sizes. If the filter and blu [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_imgfile.py | 28 sizes = imgfile.getsizes(name) 39 sizes = imgfile.getsizes(name) 41 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 60 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 62 # is scaled to the given x and y sizes. If the filter and blu [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_imgfile.py | 28 sizes = imgfile.getsizes(name) 39 sizes = imgfile.getsizes(name) 41 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 60 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 62 # is scaled to the given x and y sizes. If the filter and blu [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_imgfile.py | 28 sizes = imgfile.getsizes(name) 39 sizes = imgfile.getsizes(name) 41 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 60 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 62 # is scaled to the given x and y sizes. If the filter and blu [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_imgfile.py | 28 sizes = imgfile.getsizes(name) 39 sizes = imgfile.getsizes(name) 41 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 60 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 62 # is scaled to the given x and y sizes. If the filter and blu [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_ir_allocator.h | 37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0) 44 free(sizes); 52 sizes = (unsigned *)realloc(sizes, capacity * sizeof(unsigned)); 56 sizes[count] = size; 64 * Array of sizes for each allocation. The allocation unit is up to the 68 unsigned *sizes; member in class:brw::simple_allocator
|
/external/skia/tests/ |
YUVTest.cpp | 79 SkISize sizes[3]; local 81 sizes[0].set(128, 128); 82 sizes[1].set(64, 64); 83 sizes[2].set(64, 64); 84 codec_yuv(r, "images/color_wheel.jpg", sizes); 87 sizes[0].set(512, 512); 88 sizes[1].set(256, 256); 89 sizes[2].set(256, 256); 90 codec_yuv(r, "images/mandrill_512_q075.jpg", sizes); 93 sizes[1].set(512, 512) [all...] |
/external/skqp/tests/ |
YUVTest.cpp | 79 SkISize sizes[3]; local 81 sizes[0].set(128, 128); 82 sizes[1].set(64, 64); 83 sizes[2].set(64, 64); 84 codec_yuv(r, "images/color_wheel.jpg", sizes); 87 sizes[0].set(512, 512); 88 sizes[1].set(256, 256); 89 sizes[2].set(256, 256); 90 codec_yuv(r, "images/mandrill_512_q075.jpg", sizes); 93 sizes[1].set(512, 512) [all...] |
/external/tensorflow/tensorflow/compiler/aot/ |
runtime.h | 31 // aligned_buffer_bytes returns the sum of each size in `sizes`, skipping -1 32 // values. There are `n` entries in `sizes`. Each buffer is aligned to kAlign 34 size_t aligned_buffer_bytes(const intptr_t* sizes, size_t n); 37 // generated by tfcompile. `sizes` is an array of byte sizes for each buffer, 39 // `sizes`. If `annotate_initialized` is set, the allocated memory will be 47 void* MallocContiguousBuffers(const intptr_t* sizes, size_t n, void** bufs,
|
runtime.cc | 64 size_t aligned_buffer_bytes(const intptr_t* sizes, size_t n) { 67 if (sizes[i] != -1) { 68 total += align_to(sizes[i], kAlign); 74 void* MallocContiguousBuffers(const intptr_t* sizes, size_t n, void** bufs, 76 const size_t total = aligned_buffer_bytes(sizes, n); 88 if (sizes[i] == -1) { 92 pos += align_to(sizes[i], kAlign);
|
/external/skia/src/core/ |
SkVertices.cpp | 25 struct SkVertices::Sizes { 26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { 61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors)); 65 const SkVertices::Sizes& sizes) { 66 this->init(mode, vertexCount, indexCount, sizes); 70 const SkVertices::Sizes& sizes) { 71 if (!sizes.isValid()) { 75 void* storage = ::operator new (sizes.fTotal) [all...] |
/external/skqp/src/core/ |
SkVertices.cpp | 25 struct SkVertices::Sizes { 26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { 61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors)); 65 const SkVertices::Sizes& sizes) { 66 this->init(mode, vertexCount, indexCount, sizes); 70 const SkVertices::Sizes& sizes) { 71 if (!sizes.isValid()) { 75 void* storage = ::operator new (sizes.fTotal) [all...] |
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
UserActivityEmulator.java | 34 final String[] sizes = output.split(" ")[2].split("x"); local 35 mWidth = Integer.valueOf(sizes[0].trim()); 36 mHeight = Integer.valueOf(sizes[1].trim());
|
/frameworks/ml/nn/common/include/ |
CpuOperationUtils.h | 37 dims.sizes[i] = static_cast<int>(getSizeOfDimension(shape, src)); 39 dims.sizes[i] = 1; 45 dims.strides[i] = dims.strides[i-1] * dims.sizes[i-1];
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
tensor_test.cc | 26 EXPECT_THAT(d.sizes, ElementsAre(5, 4, 3, 2)); 32 EXPECT_THAT(d.sizes, ElementsAre(5, 4, 3, 1)); 38 EXPECT_THAT(d.sizes, ElementsAre(5, 4, 1, 1)); 44 EXPECT_THAT(d.sizes, ElementsAre(5, 1, 1, 1));
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/cris/ |
binop.s | 2 ; Generic binary operations supporting all sizes and their various
|
unop.s | 2 ; Generic unary operations supporting all sizes and their various
|
/external/skia/src/gpu/effects/ |
GrYUVtoRGBEffect.fp | 43 const SkISize sizes[3], 72 const SkISize sizes[3], 76 w[0] = SkIntToScalar(sizes[0].fWidth); 77 h[0] = SkIntToScalar(sizes[0].fHeight); 78 w[1] = SkIntToScalar(sizes[1].fWidth); 79 h[1] = SkIntToScalar(sizes[1].fHeight); 80 w[2] = SkIntToScalar(sizes[2].fWidth); 81 h[2] = SkIntToScalar(sizes[2].fHeight); 86 ((sizes[1].fWidth != sizes[0].fWidth) | [all...] |
/external/skia/src/sksl/ast/ |
SkSLASTType.h | 24 ASTType(int offset, StringFragment name, Kind kind, std::vector<int> sizes) 28 , fSizes(std::move(sizes)) {} 38 // array sizes, -1 meaning unspecified
|
/external/skqp/src/gpu/effects/ |
GrYUVtoRGBEffect.fp | 43 const SkISize sizes[3], 72 const SkISize sizes[3], 76 w[0] = SkIntToScalar(sizes[0].fWidth); 77 h[0] = SkIntToScalar(sizes[0].fHeight); 78 w[1] = SkIntToScalar(sizes[1].fWidth); 79 h[1] = SkIntToScalar(sizes[1].fHeight); 80 w[2] = SkIntToScalar(sizes[2].fWidth); 81 h[2] = SkIntToScalar(sizes[2].fHeight); 86 ((sizes[1].fWidth != sizes[0].fWidth) | [all...] |
/external/skqp/src/sksl/ast/ |
SkSLASTType.h | 24 ASTType(int offset, StringFragment name, Kind kind, std::vector<int> sizes) 28 , fSizes(std::move(sizes)) {} 38 // array sizes, -1 meaning unspecified
|
/external/eigen/bench/ |
dense_solvers.cpp | 12 std::vector<Array2i> sizes; variable 104 sizes.push_back(Array2i(small,small)); 105 sizes.push_back(Array2i(100,100)); 106 sizes.push_back(Array2i(1000,1000)); 107 sizes.push_back(Array2i(4000,4000)); 108 sizes.push_back(Array2i(10000,small)); 109 sizes.push_back(Array2i(10000,100)); 110 sizes.push_back(Array2i(10000,1000)); 111 sizes.push_back(Array2i(10000,4000)); 115 for(int k=0; k<sizes.size(); ++k [all...] |