Home
last modified time | relevance | path

Searched refs:size (Results 19676 - 19700 of 30191) sorted by relevance

1...<<781782783784785786787788789790>>...1208

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dinst_bindless_check_pass.cpp343 uint32_t size = 1; in ByteSize() local
346 size = v_ty->element_count(); in ByteSize()
352 return (size - 1) * matrix_stride + ByteSize(comp_ty_id, 0, false, false); in ByteSize()
359 size *= f_ty->width(); in ByteSize()
363 size *= i_ty->width(); in ByteSize()
367 size /= 8; in ByteSize()
368 return size; in ByteSize()
420 // by vector component size and save matrix stride for vector (row) in GenLastByteIdx()
441 // else multiply by component size in GenLastByteIdx()
631 // If length id not yet set, descriptor array is runtime size s in GenDescIdxCheckCode()
[all...]
H A Dinstrument_pass.cpp71 if (same_block_pre_.size() > 0) { in MovePostludeCode()
147 // Store record size in GenCommonStreamWriteCode()
300 uint32_t val_id_cnt = static_cast<uint32_t>(validation_ids.size()); in GenDebugStreamWrite()
319 uint32_t off_id_cnt = static_cast<uint32_t>(offset_ids.size()); in GenDebugDirectRead()
723 // Gen test if debug output buffer size will not be exceeded. in GetStreamWriteFunctionId()
731 // Fetch the current debug buffer written size atomically, adding the in GetStreamWriteFunctionId()
732 // size of the record to be written. in GetStreamWriteFunctionId()
740 // Compute new written size in GetStreamWriteFunctionId()
748 // Test that new written size is less than or equal to debug output in GetStreamWriteFunctionId()
916 if (new_blks.size() in InstrumentFunction()
[all...]
/third_party/skia/third_party/externals/libwebp/examples/
H A Dwebpinfo.c174 size_t size; in ReadFileToWebPData() local
175 if (!ImgIoUtilReadFile(filename, &data, &size)) return 0; in ReadFileToWebPData()
177 webp_data->size = size; in ReadFileToWebPData()
187 mem->end_ = webp_data->size; in InitMemBuffer()
198 static void Skip(MemBuffer* const mem, size_t size) { in Skip() argument
199 mem->start_ += size; in Skip()
393 { // Partition number and size. in ParseLossyHeader()
490 printf(" Tran. block size: %d\n", block_size); in ParseLosslessTransform()
599 LOG_ERROR("RIFF size i in ParseRIFFHeader()
[all...]
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Ddec.c173 static WEBP_INLINE void TrueMotion(uint8_t* dst, int size) { in TrueMotion() argument
177 for (y = 0; y < size; ++y) { in TrueMotion()
180 for (x = 0; x < size; ++x) { in TrueMotion()
595 int hstride, int vstride, int size, in FilterLoop26_C()
599 while (size-- > 0) { in FilterLoop26_C()
612 int hstride, int vstride, int size, in FilterLoop24_C()
616 while (size-- > 0) { in FilterLoop24_C()
594 FilterLoop26_C(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop26_C() argument
611 FilterLoop24_C(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop24_C() argument
/third_party/skia/third_party/externals/icu/source/io/
H A Duprntf_p.cpp114 /* buffer size for formatting */
1065 int32_t size = 0; in parseArguments() local
1105 if (pos > size) { in parseArguments()
1106 size = pos; in parseArguments()
1111 typelist = (ufmt_type_info*)uprv_malloc(sizeof(ufmt_type_info) * size); in parseArguments()
1112 islonglong = (UBool*)uprv_malloc(sizeof(UBool) * size); in parseArguments()
1113 arglist = (ufmt_args*)uprv_malloc(sizeof(ufmt_args) * size); in parseArguments()
1184 for (pos = 0; pos < size; pos++) { in parseArguments()
/third_party/skia/third_party/externals/opengl-registry/api/GLES/
H A Dgl.h433 GL_API void GL_APIENTRY glPointSize (GLfloat size);
447 GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
448 GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
458 GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
520 GL_API void GL_APIENTRY glPointSizex (GLfixed size);
534 GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
546 GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthStencilStateTests.cpp33 renderTargetDescriptor.size.width = kRTSize;
34 renderTargetDescriptor.size.height = kRTSize;
35 renderTargetDescriptor.size.depthOrArrayLayers = 1;
47 depthDescriptor.size.width = kRTSize;
48 depthDescriptor.size.height = kRTSize;
49 depthDescriptor.size.depthOrArrayLayers = 1;
298 for (size_t i = 0; i < testParams.size(); ++i) { in DoTest()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp19 // This can increase the size of the code exponentially (doubling it every time
98 Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"),
143 // Analyze loop. Check its size, calculate is it possible to unswitch
273 // Analyze loop. Check its size, calculate is it possible to unswitch
661 // Do not do non-trivial unswitch while optimizing for size. in processCurrentLoop()
1004 << loopHeader->getName() << " [" << L->getBlocks().size() in UnswitchTrivialCondition()
1219 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) { in SplitExitEdges()
1238 << loopHeader->getName() << " [" << L->getBlocks().size() in UnswitchNontrivialCondition()
1279 NewBlocks.reserve(LoopBlocks.size()); in UnswitchNontrivialCondition()
1281 for (unsigned i = 0, e = LoopBlocks.size(); in UnswitchNontrivialCondition()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp48 size_t size() const { return V.size(); } in size() function in __anon24981::BlockToIndexMapping
161 for (size_t I = 0, N = BV.size(); I < N; ++I) in dump()
168 for (size_t I = 0, N = Block.size(); I < N; ++I) { in dump()
180 const size_t N = Mapping.size(); in SuspendCrossingInfo()
414 unsigned IndexBits = std::max(1U, Log2_64_Ceil(Shape.CoroSuspends.size())); in buildFrameType()
460 S.setFieldIndex(Types.size()); in buildFrameType()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder_type_test.cc134 ASSERT_EQ(b.types().size(), 1u); in TEST_F()
162 ASSERT_EQ(b.types().size(), 1u); in TEST_F()
190 ASSERT_EQ(b.types().size(), 1u); in TEST_F()
220 EXPECT_EQ(b.types().size(), 3u); in TEST_F()
477 ASSERT_EQ(b.types().size(), 1u); in TEST_F()
505 EXPECT_EQ(b.types().size(), 2u); in TEST_F()
534 ASSERT_EQ(b.types().size(), 1u); in TEST_F()
/third_party/skia/third_party/externals/icu/source/common/
H A Dubidiln.cpp12 * tab size: 8 (not used)
684 if(pBiDi->insertPoints.size>0) { in ubidi_getRuns()
686 *limit=start+pBiDi->insertPoints.size; in ubidi_getRuns()
919 if(pBiDi->insertPoints.size>0) { in ubidi_getVisualIndex()
992 if(pBiDi->insertPoints.size==0 && pBiDi->controlCount==0) { in ubidi_getLogicalIndex()
1007 if(pBiDi->insertPoints.size>0) { in ubidi_getLogicalIndex()
1147 if(pBiDi->insertPoints.size>0) { in ubidi_getLogicalMap()
1245 if(pBiDi->insertPoints.size>0) { in ubidi_getVisualMap()
H A Dushape.cpp12 * tab size: 8 (not used)
401 invertBuffer(UChar *buffer, int32_t size, uint32_t /*options*/, int32_t lowlimit, int32_t highlimit) { in invertBuffer() argument
404 for(i=lowlimit,j=size-highlimit-1;i<j;i++,j--) { in invertBuffer()
463 countSpaces(UChar *dest, int32_t size, uint32_t /*options*/, int32_t *spacesCountl, int32_t *spacesCountr) { in countSpaces() argument
466 while((dest[i] == SPACE_CHAR) && (countl < size)) { in countSpaces()
470 if (countl < size) { /* the entire buffer is not all space */ in countSpaces()
471 while(dest[size-1] == SPACE_CHAR) { in countSpaces()
473 size--; in countSpaces()
715 * buffer size.
1071 * options user specifies. Also buffer size ca
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DRenderPassDescriptorValidationTests.cpp56 descriptor.size.width = width; in CreateTexture()
57 descriptor.size.height = height; in CreateTexture()
58 descriptor.size.depthOrArrayLayers = arrayLayerCount; in CreateTexture()
105 for (uint32_t i = 0; i < colorAttachments.size(); i++) { in TEST_F()
147 texDesc.size = {1, 1, 1}; in TEST_F()
156 // Attachments must have the same size
170 // Control case: all the same size (1x1) in TEST_F()
176 // One of the color attachments has a different size in TEST_F()
182 // The depth stencil attachment has a different size in TEST_F()
368 texDesc.size in TEST_F()
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Dpython_message.py909 # will call _Modified() and invalidate our byte size. Big deal.
1068 size = 0
1072 size = descriptor.fields_by_name['key']._sizer(self.key)
1073 size += descriptor.fields_by_name['value']._sizer(self.value)
1076 size += field_descriptor._sizer(field_value)
1078 size += len(tag_bytes) + len(value_bytes)
1080 self._cached_byte_size = size
1083 return size
1247 for field, value in list(self._fields.items()): # dict can change size!
/third_party/python/PC/
H A Dwinreg.c642 DWORD size = 0; in Py2Reg() local
673 size += Py_SAFE_DOWNCAST(len * sizeof(wchar_t), in Py2Reg() local
677 *retDataSize = size + 2; in Py2Reg()
692 assert(size > 0); in Py2Reg()
693 len = PyUnicode_AsWideChar(t, P, size); in Py2Reg()
695 assert((unsigned)len < size); in Py2Reg()
696 size -= (DWORD)len + 1; in Py2Reg()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DTextFormatTest.java1436 assertEquals(2, message.getStringToInt32Field().size()); in testMapShortForm()
1437 assertEquals(2, message.getInt32ToMessageField().size()); in testMapShortForm()
1447 assertEquals(0, message.getStringToInt32Field().size()); in testMapShortFormEmpty()
1448 assertEquals(0, message.getInt32ToMessageField().size()); in testMapShortFormEmpty()
1473 assertEquals(2, map.getInt32ToInt32Field().size()); in testMapOverwrite()
1483 assertEquals(2, map.getInt32ToInt32Field().size()); in testMapOverwrite()
1569 if (index < locs.size()) { in assertLocation()
/third_party/python/Lib/
H A Dimaplib.py114 Literal = re.compile(br'.*{(?P<size>\d+)}$', re.ASCII)
130 _Literal = br'.*{(?P<size>\d+)}$'
316 def read(self, size):
317 """Read 'size' bytes from remote."""
318 return self.file.read(size)
1027 self._mesg('write literal size %s' % len(literal))
1118 size = int(self.mo.group('size'))
1121 self._mesg('read literal size %s' % size)
[all...]
/third_party/selinux/libselinux/src/
H A Dlabel_file.c419 size_t size; in rolling_append() local
429 size = current_size + suffix_size; in rolling_append()
430 if (size < current_size || size < suffix_size) in rolling_append()
434 if (size >= (SIZE_MAX - 2)) in rolling_append()
437 size += 2; in rolling_append()
439 if (size > max) in rolling_append()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fNegativeStateApiTests.cpp559 std::vector<GLint> unusedParamsDst(invalidUniformIndices.size()); in init()
560 glGetActiveUniformsiv(program.getProgram(), (GLsizei)invalidUniformIndices.size(), &invalidUniformIndices[0], GL_UNIFORM_TYPE, &unusedParamsDst[0]); in init()
626 GLint size = -1; in init()
638 glGetActiveAttrib(-1, 0, 32, &length, &size, &type, &name[0]); in init()
643 glGetActiveAttrib(shader, 0, 32, &length, &size, &type, &name[0]); in init()
648 glGetActiveAttrib(program.getProgram(), numActiveAttributes, (int)sizeof(name), &length, &size, &type, &name[0]); in init()
653 glGetActiveAttrib(program.getProgram(), 0, -1, &length, &size, &type, &name[0]); in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineStencilTests.cpp494 (deUint32)attachmentBindInfos.size(), // deUint32 attachmentCount;
665 1024u, // VkDeviceSize size;
684 deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4RGBA));
746 0u, DE_NULL, 0u, DE_NULL, (deUint32)imageLayoutBarriers.size(), imageLayoutBarriers.data());
748 beginRenderPass(vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_renderSize.x(), m_renderSize.y()), (deUint32)attachmentClearValues.size(), attachmentClearValues.data());
750 const VkDeviceSize quadOffset = (m_vertices.size() / StencilTest::QUAD_COUNT) * sizeof(Vertex4RGBA);
758 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / StencilTest::QUAD_COUNT), 1, 0, 0);
812 for (size_t vertexNdx = 0; vertexNdx < cwVertices.size() - 2; vertexNdx += 3) in verifyImage()
/third_party/vk-gl-cts/framework/qphelper/
H A DqpTestLog.c703 size_t size; member
710 buffer->size = 0; in Buffer_init()
731 memcpy(newData, buffer->data, buffer->size); in Buffer_resize()
738 buffer->size = newSize; in Buffer_resize()
744 size_t offset = buffer->size; in Buffer_append()
746 if (!Buffer_resize(buffer, buffer->size + numBytes)) in Buffer_append()
952 writeDataBytes = compressedBuffer.size; in qpTestLog_writeImage()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dbitset_utils.h28 // It's undefined behavior if the shift size is equal to or larger than the width of the type. in Bit()
129 constexpr std::size_t size() const { return N; } in size() function in angle::final
176 static_assert(N <= sizeof(BitsT) * 8, "Bitset type cannot support a size this large."); in BitSetT()
627 constexpr std::size_t size() const { return N; } in size() function in angle::final
660 ASSERT(pos < size()); in operator []()
697 static_assert(N > priv::kDefaultBitSetSize, "BitSetArray type can't support requested size."); in BitSetArray()
870 ASSERT(pos < size()); in operator []()
890 ASSERT(pos < size());
911 ASSERT(pos < size());
918 ASSERT(pos < size());
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DVaryingPacking.cpp334 // "Arrays of size N are assumed to take N times the size of the base type" in packVaryingIntoRegisterMap()
340 unsigned int maxVaryingVectors = static_cast<unsigned int>(mRegisterMap.size()); in packVaryingIntoRegisterMap()
379 // "1 component variables have their own packing rule. They are packed in order of size, largest in packVaryingIntoRegisterMap()
460 ASSERT(registerRow + row < mRegisterMap.size()); in isRegisterRangeFree()
678 for (GLuint fieldIndex = 0; fieldIndex < varying.fields.size(); ++fieldIndex) in collectVarying()
694 for (GLuint nestedIndex = 0; nestedIndex < fieldVarying.fields.size(); in collectVarying()
704 for (GLuint nestedIndex = 0; nestedIndex < fieldVarying.fields.size(); in collectVarying()
768 for (fieldIndex = 0; fieldIndex < input->fields.size(); ++fieldIndex) in collectTFVarying()
774 nestedIndex < input->fields[fieldIndex].fields.size(); nestedInde in collectTFVarying()
[all...]
/third_party/ffmpeg/fftools/
H A Dffmpeg.c879 fprintf(vstats_file,"f_size= %6d ", pkt->size); in update_video_stats()
885 bitrate = (pkt->size * 8) / av_q2d(enc->time_base) / 1000.0; in update_video_stats()
1061 pkt->size = subtitle_out_size; in do_subtitle_out()
1331 * Unlike video, with audio the audio frame size matters. in reap_filters()
1333 * do the buffering deed for us, and thus the frame size parameter in reap_filters()
1335 * frame size? From the initialized AVCodecContext of an audio in reap_filters()
1643 if (total_size < 0) av_bprintf(&buf, "size=N/A time="); in print_report()
1644 else av_bprintf(&buf, "size=%8.0fkB time=", total_size / 1024.0); in print_report()
1701 FFMIN(buf_script.len, buf_script.size - 1)); in print_report()
1867 int duration = av_get_audio_frame_duration(ist->dec_ctx, pkt->size); in do_streamcopy()
2871 int n = 1, i, size, index = 0; parse_forced_key_frames() local
[all...]
/third_party/backends/backend/
H A Dhs2p.c134 size_t size, max_size = 0; in max_string_size() local
140 size = strlen (strings[i]) + 1; in max_string_size()
141 if (size > max_size) in max_string_size()
142 max_size = size; in max_string_size()
207 s->opt[i].size = sizeof (SANE_Word); in init_options()
241 s->opt[OPT_INQUIRY].size = sizeof (inquiry_data); in init_options()
252 s->opt[OPT_SCAN_MODE].size = in init_options()
296 s->opt[OPT_COMPRESSION].size = in init_options()
354 s->opt[OPT_PAGE_ORIENTATION].size = max_string_size (orientation_list); in init_options()
364 s->opt[OPT_PAPER_SIZE].size in init_options()
[all...]

Completed in 56 milliseconds

1...<<781782783784785786787788789790>>...1208