/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_deint_filter.c | 124 struct vertex2f *sizes, bool spatial_filter) 167 ureg_imm4f(shader, sizes->x * 0.5f, sizes->y * -0.5f, 0, 0)); 169 ureg_imm4f(shader, sizes->x * -0.5f, sizes->y * 0.5f, 1.0f, 0)); 201 ureg_ADD(shader, t_comp_top, ureg_src(t_tex), ureg_imm4f(shader, 0, sizes->y * -1.0f, 1.0f, 0)); 208 ureg_ADD(shader, t_comp_bot, ureg_src(t_tex), ureg_imm4f(shader, 0, sizes->y * 1.0f, 0, 0)); 244 struct vertex2f sizes; local 323 sizes.x = 1.0f / video_width; 324 sizes.y = 1.0f / video_height [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
functional.hpp | 251 struct sizes { struct in namespace:clover
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
decode.c | 527 vlVdpDecoderFixVC1Startcode(uint32_t *num_buffers, const void *buffers[], unsigned sizes[]) 534 vl_vlc_init(&vlc, *num_buffers, buffers, sizes); 548 sizes[i] = sizes[i - 1]; 552 sizes[0] = 4; 566 unsigned sizes[bitstream_buffer_count + 1]; local 645 sizes[i] = bitstream_buffers[i].bitstream_bytes; 659 vlVdpDecoderFixVC1Startcode(&bitstream_buffer_count, buffers, sizes); 679 dec->decode_bitstream(dec, vlsurf->video_buffer, &desc.base, bitstream_buffer_count, buffers, sizes);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
SampleList.java | 19 long[] sizes; field in class:SampleList 55 sizes = new long[l2i(sampleSizeBox.getSampleCount())]; 56 Arrays.fill(sizes, sampleSizeBox.getSampleSize()); 58 sizes = sampleSizeBox.getSampleSizes(); 60 offsets = new long[sizes.length]; 66 long sampleSize = sizes[sampleIndex]; 90 if (sizes == null || offsets == null) { 91 sizes = new long[0]; 98 // We have now a map from all sample offsets to their sizes 105 long[] nuSizes = new long[sizes.length + keys.size()] [all...] |
/external/python/cpython2/Mac/Modules/snd/ |
_Sndihooks.c | 44 Handle sizes; member in struct:SampleSizeAvailable_arg 399 arg.sizes = NULL; 407 fsizes = (short *)*(arg.sizes);
|
/external/python/cpython3/Lib/test/ |
test_gzip.py | 401 def sizes(): function in function:TestGzip.test_peek 409 for n in sizes():
|
/external/skia/tests/ |
DataRefTest.cpp | 69 size_t sizes[SK_ARRAY_COUNT(str)]; local 71 sizes[i] = strlen(str[i]) + 1; 74 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count)); 79 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]); 82 REPORTER_ASSERT(reporter, size == sizes[i]);
|
/external/skqp/tests/ |
DataRefTest.cpp | 69 size_t sizes[SK_ARRAY_COUNT(str)]; local 71 sizes[i] = strlen(str[i]) + 1; 74 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count)); 79 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]); 82 REPORTER_ASSERT(reporter, size == sizes[i]);
|
StreamTest.cpp | 141 const size_t sizes[] = { local 152 for (i = 0; i < SK_ARRAY_COUNT(sizes); ++i) { 153 bool success = wstream.writePackedUInt(sizes[i]); 158 for (i = 0; i < SK_ARRAY_COUNT(sizes); ++i) { 160 if (sizes[i] != n) { 161 ERRORF(reporter, "sizes:%x != n:%x\n", i, sizes[i], n);
|
/external/tensorflow/tensorflow/contrib/lite/java/src/main/java/org/tensorflow/lite/ |
NativeInterpreterWrapper.java | 70 Object[] sizes = new Object[inputs.length]; local 82 sizes[i] = getInputDims(interpreterHandle, i, numsOfBytes[i]); 85 sizes[i] = dims; 95 run(interpreterHandle, errorHandle, sizes, dataTypes, numsOfBytes, inputs); 109 Object[] sizes,
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_bfc_allocator_test.cc | 79 // Allocate 256 raw pointers of sizes between 100 bytes and about 143 // Allocate several buffers of different sizes, and then clean them 208 // Allocate 10 raw pointers of sizes between 100 bytes and about 277 // Exercise a few different allocation sizes 278 std::vector<size_t> sizes = {256, 4096, 16384, 524288, local 284 size_t bytes = sizes[size_index++ % sizes.size()]; 301 // Exercise a few different allocation sizes 302 std::vector<int> sizes = {256, 4096, 16384, 524288, 306 int bytes = sizes[size_index++ % sizes.size()] 330 std::vector<int> sizes = {256, 4096, 16384, 4096, 512, 1024, 1024}; local [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
step_stats_collector.cc | 48 auto sizes = tracking_allocator->GetSizes(); local 49 memory->set_total_bytes(std::get<0>(sizes)); 50 memory->set_peak_bytes(std::get<1>(sizes)); 51 memory->set_live_bytes(std::get<2>(sizes));
|
/external/tensorflow/tensorflow/core/framework/ |
tensor_shape_test.cc | 208 /// Manages the dimensions of a Tensor and their sizes. 211 /// \brief Construct a `TensorShape` from the provided sizes. 268 /// Returns sizes of all dimensions. 277 /// Returns true if `*this` and `b` have the same sizes. Ignores 290 /// which case we pad the rest of the sizes with 1. 310 // for the sizes. 435 // sizes. 515 LOG(INFO) << "Sizes: " << sizeof(TensorShape) << " vs " 553 std::vector<int64> sizes; local 558 sizes.push_back(sz) 659 std::vector<int64> sizes; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
slice_op.cc | 219 Eigen::DSizes<Eigen::DenseIndex, NDIM> sizes; local 222 sizes[i] = size[i]; 227 context->input(0).tensor<T, NDIM>(), indices, sizes); 292 // except slice_dim and if sizes of all the dimensions of the slice are same 293 // as the sizes of all the dimensions of the input except slice_dim, then 313 // If indices for slice are 0 in all dims except one dimension and if sizes of 314 // all dimensions of slice are same as sizes of all dimensions of inputs 403 Eigen::DSizes<Eigen::DenseIndex, NDIM> sizes; local 406 sizes[i] = size[i]; 411 context->input(0).tensor<T, NDIM>(), indices, sizes); [all...] |
tile_ops.cc | 60 const Eigen::DSizes<Eigen::DenseIndex, NDIM>& sizes, 382 Eigen::DSizes<Eigen::DenseIndex, NDIM> sizes; local 388 sizes[i] = input_dims[i] / multiples_array[i]; 396 context->input(0).tensor<T, NDIM>(), indices, sizes, first); 400 while (i < NDIM && indices[i] / sizes[i] == multiples_array[i] - 1) { 409 indices[i] += sizes[i];
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
summarize_graph_main.cc | 80 std::vector<int64> sizes; local 93 sizes.reserve(shape.dims()); 95 sizes.push_back(shape.dim_size(i)); 97 sizes_string = str_util::Join(sizes, ",");
|
/external/vboot_reference/futility/ |
cmd_gbb_utility.c | 129 char *str, *sizes, *param, *e = NULL; local 137 sizes = strdup(desc); 138 if (!sizes) { 145 for (str = sizes; (param = strtok(str, ", ")) != NULL; str = NULL) { 152 free(sizes); 165 free(sizes); 195 free(sizes);
|
/frameworks/av/services/camera/libcameraservice/ |
CameraFlashlight.cpp | 459 Vector<Size> sizes; local 461 mParameters.getSupportedPreviewSizes(sizes); 462 for (size_t i = 0; i < sizes.size(); i++) { 463 Size s = sizes[i];
|
/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...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
ParameterUtils.java | 243 * Convert a camera API1 list of sizes into a util list of sizes 248 List<Size> sizes = new ArrayList<>(sizeList.size()); local 250 sizes.add(new Size(s.width, s.height)); 252 return sizes; 256 * Convert a camera API1 list of sizes into an array of sizes 270 * Check if the camera API1 list of sizes contains a size with the given dimens. 448 // Sizes are sorted largest-to-smallest, so once the available crop is too small, [all...] |
/packages/apps/DeskClock/src/com/android/alarmclock/ |
DigitalAppWidgetProvider.java | 93 * This widget is scaling the font sizes to fit within the widget bounds chosen by the user without 94 * any clipping. To do so it measures layouts offscreen using a range of font sizes in order to 177 * Called when the app widget changes sizes. 189 * Compute optimal font and icon sizes offscreen for both portrait and landscape orientations 202 * Compute optimal font and icon sizes offscreen for the given orientation. 249 final Sizes template = new Sizes(targetWidthPx, targetHeightPx, largestClockFontSizePx); 251 // Compute optimal font sizes and icon sizes to fit within the widget bounds. 252 final Sizes sizes = optimizeSizes(context, template, nextAlarmTime) local [all...] |
/art/test/906-iterate-heap/src/art/ |
Test906.java | 71 long sizes[] = new long[100]; local 75 int n = iterateThroughHeapData(HEAP_FILTER_OUT_UNTAGGED, null, classTags, sizes, tags, lengths); 76 System.out.println(sort(n, classTags, sizes, tags, lengths)); 79 n = iterateThroughHeapData(HEAP_FILTER_OUT_UNTAGGED, null, classTags, sizes, tags, lengths); 80 System.out.println(sort(n, classTags, sizes, tags, lengths)); 240 private static ArrayList<HeapElem> sort(int n, long classTags[], long sizes[], long tags[], 246 elem.size = sizes[i]; 296 Class<?> klassFilter, long classTags[], long sizes[], long tags[], int lengths[]);
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/ |
poc.c | 64 __u64 sizes; /* Ptr to u32 type array, holindg sizes of memory member in struct:nvmap_cache_op_list 166 g_op_list.sizes = (__u64)malloc(MAX_HANDLE_NUM * 4); 168 ((int*)(g_op_list.sizes))[i] = 0xFFFF0000;
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
ImageWriterTest.java | 154 List<Size> sizes = getSortedSizesForFormat(mCamera.getId(), mCameraManager, format, null); local 155 Size maxSize = sizes.get(0);
|
/external/ImageMagick/coders/ |
icon.c | 175 sizes[MAX_SIZES]={256,192,128,96,64,48,40,32,24,16}; 194 sizes[i++]=size; 205 resized=ResizeImage(image,sizes[i],sizes[i],image->filter,exception); 171 sizes[MAX_SIZES]={256,192,128,96,64,48,40,32,24,16}; local [all...] |