Home
last modified time | relevance | path

Searched refs:size (Results 3776 - 3800 of 21408) sorted by relevance

1...<<151152153154155156157158159160>>...857

/third_party/mesa3d/src/mesa/main/
H A Dfeedback.c52 _mesa_FeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ) in _mesa_FeedbackBuffer() argument
60 if (size<0) { in _mesa_FeedbackBuffer()
61 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); in _mesa_FeedbackBuffer()
64 if (!buffer && size > 0) { in _mesa_FeedbackBuffer()
93 ctx->Feedback.BufferSize = size; in _mesa_FeedbackBuffer()
151 * \param size buffer size.
162 _mesa_SelectBuffer( GLsizei size, GLuint *buffer ) in _mesa_SelectBuffer() argument
166 if (size < 0) { in _mesa_SelectBuffer()
167 _mesa_error(ctx, GL_INVALID_VALUE, "glSelectBuffer(size)"); in _mesa_SelectBuffer()
343 unsigned size = s->ResultOffset; update_hit_record() local
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_target.cpp193 CodeEmitter::setCodeLocation(void *ptr, uint32_t size) in setCodeLocation() argument
197 codeSizeLimit = size; in setCodeLocation()
213 static inline uint32_t sizeToBundlesNVE4(uint32_t size) in sizeToBundlesNVE4() argument
215 return (size + 55) / 56; in sizeToBundlesNVE4()
296 // determine encoding size, try to group short instructions in prepareEmission()
407 size_t size = sizeof(RelocInfo) + n * sizeof(RelocEntry); in addReloc() local
409 REALLOC(relocInfo, n ? size : 0, in addReloc()
410 size + RELOC_ALLOC_INCREMENT * sizeof(RelocEntry))); in addReloc()
433 size_t size = sizeof(FixupInfo) + n * sizeof(FixupEntry); in addInterp() local
435 REALLOC(fixupInfo, n ? size in addInterp()
510 nv50_ir_get_target_library(uint32_t chipset, const uint32_t **code, uint32_t *size) nv50_ir_get_target_library() argument
[all...]
/third_party/littlefs/scripts/
H A Dreadmdir.py47 size = int(args[2], str) if args[2] not in 'x.' else 0x3ff
49 size = args[2]
51 self.tag = (type << 20) | (id << 10) | size
88 def size(self): member in Tag
93 return 4 + (self.size if self.size != 0x3ff else 0)
122 ntag = Tag(self.type, nid, self.size)
155 return repr(self.size) if self.size != 0x3ff else 'x'
158 return 'Tag(%r, %d, %d)' % (self.typerepr(), self.id, self.size)
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dcode-factory.cc377 Builtin CodeFactory::GetTSANStoreStub(SaveFPRegsMode fp_mode, int size, in GetTSANStoreStub() argument
380 if (size == kInt8Size) { in GetTSANStoreStub()
384 } else if (size == kInt16Size) { in GetTSANStoreStub()
388 } else if (size == kInt32Size) { in GetTSANStoreStub()
393 CHECK_EQ(size, kInt64Size); in GetTSANStoreStub()
400 if (size == kInt8Size) { in GetTSANStoreStub()
404 } else if (size == kInt16Size) { in GetTSANStoreStub()
408 } else if (size == kInt32Size) { in GetTSANStoreStub()
413 CHECK_EQ(size, kInt64Size); in GetTSANStoreStub()
422 Builtin CodeFactory::GetTSANRelaxedLoadStub(SaveFPRegsMode fp_mode, int size) { in GetTSANRelaxedLoadStub() argument
[all...]
/third_party/node/deps/v8/src/snapshot/embedded/
H A Dplatform-embedded-file-writer-win.cc89 for (size_t i = 0; i < xdata.size(); i++) { in EmitUnwindData()
156 for (size_t j = 0; j < xdata_desc.size(); j++) { in EmitUnwindData()
159 (j < xdata_desc.size() - 1) ? xdata_desc[j + 1] : builtin_size; in EmitUnwindData()
213 DCHECK_EQ(xdata_desc.size(), xdata_fp_adjustments.size());
215 for (size_t j = 0; j < xdata_desc.size(); j++) {
218 (j < xdata_desc.size() - 1) ? xdata_desc[j + 1] : builtin_size;
231 code_chunks.size());
246 for (size_t i = 0; i < code_chunks.size(); i++) {
255 for (size_t j = 0; j < xdata.size();
510 DeclareFunctionBegin(const char* name, uint32_t size) DeclareFunctionBegin() argument
678 DeclareFunctionBegin(const char* name, uint32_t size) DeclareFunctionBegin() argument
[all...]
/third_party/node/deps/v8/src/torque/
H A Ddeclaration-visitor.cc23 DCHECK_EQ(1, existing_namespaces.size()); in GetOrCreateNamespace()
83 i < signature.parameter_types.types.size(); ++i) { in CreateBuiltin()
94 for (size_t i = 0; i < signature.types().size(); ++i) { in CreateBuiltin()
131 if (signature.parameter_types.types.size() == 0) { in Visit()
245 if (generic_list.size() == 0) { in Visit()
300 key.generic->generic_parameters().size(); in DeclareSpecializedTypes()
301 if (generic_parameter_count != key.specialized_types.size()) { in DeclareSpecializedTypes()
305 << ", actual: " << key.specialized_types.size(); in DeclareSpecializedTypes()
355 size_t generic_parameter_count = key.generic->generic_parameters().size(); in Specialize()
356 if (generic_parameter_count != key.specialized_types.size()) { in Specialize()
[all...]
H A Dearley-parser.cc78 DCHECK_EQ(children.size(), right().size()); in Children()
83 if (right().size() == 1) { in SplitByChildren()
120 InputPosition const end = begin + input.size(); in RunLexer()
174 if (static_cast<size_t>(end - token_start) < keyword.size()) continue; in MatchToken()
175 if (keyword.size() >= pattern_size && in MatchToken()
176 keyword == std::string(token_start, token_start + keyword.size())) { in MatchToken()
177 *pos = token_start + keyword.size(); in MatchToken()
211 size_t input_length = tokens.token_symbols.size(); in RunEarleyAlgorithm()
236 if (pos < tokens.token_symbols.size() in RunEarleyAlgorithm()
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_blorp.c51 unsigned size, in stream_state()
59 u_upload_alloc(uploader, 0, size, alignment, out_offset, &res, &ptr); in stream_state()
65 bo->address + *out_offset, size); in stream_state()
131 uint32_t size, in blorp_alloc_dynamic_state()
139 size, alignment, offset, NULL); in blorp_alloc_dynamic_state()
144 uint32_t size, in blorp_alloc_general_state()
149 return blorp_alloc_dynamic_state(blorp_batch, size, alignment, offset); in blorp_alloc_general_state()
195 uint32_t size, in blorp_alloc_vertex_buffer()
203 void *map = stream_state(batch, ice->ctx.const_uploader, size, 64, in blorp_alloc_vertex_buffer()
267 UNUSED size_t size) in blorp_flush_range()
49 stream_state(struct iris_batch *batch, struct u_upload_mgr *uploader, unsigned size, unsigned alignment, uint32_t *out_offset, struct iris_bo **out_bo) stream_state() argument
130 blorp_alloc_dynamic_state(struct blorp_batch *blorp_batch, uint32_t size, uint32_t alignment, uint32_t *offset) blorp_alloc_dynamic_state() argument
143 blorp_alloc_general_state(struct blorp_batch *blorp_batch, uint32_t size, uint32_t alignment, uint32_t *offset) blorp_alloc_general_state() argument
194 blorp_alloc_vertex_buffer(struct blorp_batch *blorp_batch, uint32_t size, struct blorp_address *addr) blorp_alloc_vertex_buffer() argument
265 blorp_flush_range(UNUSED struct blorp_batch *blorp_batch, UNUSED void *start, UNUSED size_t size) blorp_flush_range() argument
[all...]
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DUnknownFieldSetTest.java103 assertEquals(1, field.getVarintList().size()); in testVarint()
110 assertEquals(1, field.getFixed32List().size()); in testFixed32()
117 assertEquals(1, field.getFixed64List().size()); in testFixed64()
124 assertEquals(1, field.getLengthDelimitedList().size()); in testLengthDelimited()
135 assertEquals(1, field.getGroupList().size()); in testGroup()
138 assertEquals(1, group.asMap().size()); in testGroup()
143 assertEquals(1, nestedField.getVarintList().size()); in testGroup()
222 assertEquals(1, destination.getUnknownFields().asMap().size()); in testParseKnownAndUnknown()
226 assertEquals(1, field.getVarintList().size()); in testParseKnownAndUnknown()
250 assertEquals(unknownFields.asMap().size(), in testUnknownExtensions()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp62 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream()
101 if (Entry.size() >= Size) { in readBytes()
131 std::make_pair(CacheItem.first, CacheItem.first + CachedAlloc.size()); in readBytes()
207 // block size can be filled with a reference if, from the starting offset, in tryReadContiguously()
245 if (auto EC = checkOffsetForRead(Offset, Buffer.size())) in readBytes()
248 uint32_t BytesLeft = Buffer.size(); in readBytes()
283 if (Offset + Data.size() < MapEntry.first) in fixCacheAfterWrite()
288 if (MapEntry.first + Alloc.size() < Offset) in fixCacheAfterWrite()
292 Interval WriteInterval = std::make_pair(Offset, Offset + Data.size()); in fixCacheAfterWrite()
294 std::make_pair(MapEntry.first, MapEntry.first + Alloc.size()); in fixCacheAfterWrite()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Ddef_use_test.cpp96 ASSERT_EQ(expected_defs_uses.defs.size(), actual_defs.size()); in CheckDef()
97 for (uint32_t i = 0; i < expected_defs_uses.defs.size(); ++i) { in CheckDef()
134 ASSERT_EQ(expected_defs_uses.uses.size(), actual_uses.size()); in CheckUse()
135 for (uint32_t i = 0; i < expected_defs_uses.uses.size(); ++i) { in CheckUse()
142 ASSERT_EQ(expected_uses.size(), uses.size()) in CheckUse()
143 << "id [" << id << "] # uses: expected: " << expected_uses.size() in CheckUse()
144 << " actual: " << uses.size(); in CheckUse()
[all...]
/third_party/skia/samplecode/
H A DSampleSlides.cpp243 static sk_sp<SkShader> make_shader0(SkIPoint* size) { in make_shader0() argument
247 size->set(bm.width(), bm.height()); in make_shader0()
251 static sk_sp<SkShader> make_shader1(const SkIPoint& size) { in make_shader1() argument
253 { SkIntToScalar(size.fX), SkIntToScalar(size.fY) } }; in make_shader1()
354 SkIPoint size; in mesh_slide() local
356 auto fShader0 = make_shader0(&size); in mesh_slide()
357 auto fShader1 = make_shader1(size); in mesh_slide()
359 make_strip(&fRecs[0], size.fX, size in mesh_slide()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Ddef_use_test.cpp96 ASSERT_EQ(expected_defs_uses.defs.size(), actual_defs.size()); in CheckDef()
97 for (uint32_t i = 0; i < expected_defs_uses.defs.size(); ++i) { in CheckDef()
134 ASSERT_EQ(expected_defs_uses.uses.size(), actual_uses.size()); in CheckUse()
135 for (uint32_t i = 0; i < expected_defs_uses.uses.size(); ++i) { in CheckUse()
142 ASSERT_EQ(expected_uses.size(), uses.size()) in CheckUse()
143 << "id [" << id << "] # uses: expected: " << expected_uses.size() in CheckUse()
144 << " actual: " << uses.size(); in CheckUse()
[all...]
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dbuffer_dec.c77 const uint64_t size = in CheckDecBuffer() local
79 ok &= (size <= buf->size); in CheckDecBuffer()
103 uint64_t size; in AllocateBuffer() local
109 size = (uint64_t)stride * h; in AllocateBuffer()
118 total_size = size + 2 * uv_size + a_size; in AllocateBuffer()
130 buf->y_size = (size_t)size; in AllocateBuffer()
131 buf->u = output + size; in AllocateBuffer()
134 buf->v = output + size + uv_size; in AllocateBuffer()
138 buf->a = output + size in AllocateBuffer()
[all...]
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_get_sendfile.c60 size_t size; member
64 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx) in copyBuffer() argument
68 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
70 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
71 cbc->pos += size * nmemb; in copyBuffer()
72 return size * nmemb; in copyBuffer()
126 cbc.size = 2048; in testInternalGet()
175 cbc.size = 2048; in testMultithreadedGet()
224 cbc.size in testMultithreadedPoolGet()
[all...]
/third_party/skia/src/pdf/
H A DSkPDFMetadata.cpp104 return utf8_is_pdfdocencoding(s.c_str(), s.size()) ? s : to_utf16be(s.c_str(), s.size()); in convert()
126 if (value.size() > 0) { in MakeDocumentInformationDict()
157 md5.write(value.c_str(), value.size()); in CreateUUID()
221 dict.insertInt("Length", fXML.size());
228 stream->write(fXML.c_str(), fXML.size());
240 for (size_t i = 0; i < input.size(); ++i) { in count_xml_escape_size()
253 if (input.size() == 0) { in escape_xml()
262 SkString output(input.size() + extra + beforeLen + afterLen); in escape_xml()
270 for (size_t i = 0; i < input.size(); in escape_xml()
[all...]
/third_party/skia/src/ports/
H A DSkFontConfigInterface_direct.cpp65 size_t size = sizeof(fID) + sizeof(fTTCIndex); in writeToMemory() local
66 size += sizeof(int32_t) + sizeof(int32_t) + sizeof(uint8_t); // weight, width, italic in writeToMemory()
67 size += sizeof(int32_t) + fString.size(); // store length+data in writeToMemory()
69 SkWBuffer buffer(addr, size); in writeToMemory()
73 buffer.write32(fString.size()); in writeToMemory()
77 buffer.write(fString.c_str(), fString.size()); in writeToMemory()
80 SkASSERT(buffer.pos() == size); in writeToMemory()
82 return size; in writeToMemory()
86 size_t size) { in readFromMemory()
85 readFromMemory(const void* addr, size_t size) readFromMemory() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dmd5.c34 * optimizations are not included to reduce source code size and avoid
100 static const void *body(MD5_CTX *ctx, const void *data, unsigned long size) in body() argument
197 } while (size -= 64); in body()
218 void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size) in MD5_Update() argument
224 if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) in MD5_Update()
226 ctx->hi += size >> 29; in MD5_Update()
233 if (size < available) { in MD5_Update()
234 memcpy(&ctx->buffer[used], data, size); in MD5_Update()
240 size -= available; in MD5_Update()
244 if (size > in MD5_Update()
[all...]
/third_party/pulseaudio/src/modules/rtp/
H A Drtp-native.c193 int size; in pa_rtp_recv() local
212 if (ioctl(c->fd, FIONREAD, &size) < 0) { in pa_rtp_recv()
217 if (size <= 0) { in pa_rtp_recv()
218 /* size can be 0 due to any of the following reasons: in pa_rtp_recv()
223 * It is unknown whether size can actually be less than zero. in pa_rtp_recv()
236 * size to 1. in pa_rtp_recv()
238 size = 1; in pa_rtp_recv()
241 if (c->recv_buf_size < (size_t) size) { in pa_rtp_recv()
244 while (c->recv_buf_size < (size_t) size); in pa_rtp_recv()
249 pa_assert(c->recv_buf_size >= (size_t) size); in pa_rtp_recv()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dthread.cpp93 DWORD size = sizeof(info); in getProcessorGroups()
94 CHECK_WIN32(GetLogicalProcessorInformationEx(RelationGroup, info, &size)); in getProcessorGroups()
95 DWORD count = size / sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX); in getProcessorGroups()
126 cores.reserve(list.size()); in Affinity()
233 return cores.size(); in count()
259 for (size_t i = 0; i < cores.size(); i++) { in remove()
262 cores.resize(cores.size() - 1); in remove()
284 SIZE_T size = 0; in Thread() local
285 InitializeProcThreadAttributeList(nullptr, 1, 0, &size); in Thread()
286 MARL_ASSERT(size > in Thread()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DparserRealSource4.js198 constructor (public size: number, public hashFn: (key) =>number,
200 for (var i: number = 0; i < this.size; i++) {
209 val = val % this.size;
225 val = val % this.size;
251 val = val % this.size;
469 function HashTable(size, hashFn, equalsFn) {
470 this.size = size;
475 for (var i = 0; i < this.size; i++) {
483 val = val % this.size;
[all...]
/third_party/protobuf/src/google/protobuf/compiler/csharp/
H A Dcsharp_helpers.cc148 for (int i = 0; i < input.size(); i++) { in UnderscoresToCamelCase()
177 if (input.size() > 0 && input[input.size() - 1] == '#') { in UnderscoresToCamelCase()
201 for (int i = 0; i < input.size(); i++) { in ShoutyToPascalCase()
230 for (size_t i = 0; i < prefix.size(); i++) { in TryRemovePrefix()
239 prefix_index < prefix_to_match.size() && value_index < value.size(); in TryRemovePrefix()
252 if (prefix_index < prefix_to_match.size()) { in TryRemovePrefix()
257 while (value_index < value.size() && value[value_index] == '_') { in TryRemovePrefix()
262 if (value_index == value.size()) { in TryRemovePrefix()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
H A Dint128_benchmark.cc54 while (state.KeepRunningBatch(values.size())) { in BM_DivideClass128UniformDivisor()
66 while (state.KeepRunningBatch(values.size())) { in BM_RemainderClass128UniformDivisor()
94 while (state.KeepRunningBatch(values.size())) { in BM_DivideClass128SmallDivisor()
106 while (state.KeepRunningBatch(values.size())) { in BM_RemainderClass128SmallDivisor()
130 while (state.KeepRunningBatch(values.size())) { in BM_MultiplyClass128()
140 while (state.KeepRunningBatch(values.size())) { in BM_AddClass128()
186 while (state.KeepRunningBatch(values.size())) { in BM_DivideIntrinsic128UniformDivisor()
198 while (state.KeepRunningBatch(values.size())) { in BM_RemainderIntrinsic128UniformDivisor()
227 while (state.KeepRunningBatch(values.size())) { in BM_DivideIntrinsic128SmallDivisor()
239 while (state.KeepRunningBatch(values.size())) { in BM_RemainderIntrinsic128SmallDivisor()
[all...]
/third_party/skia/include/core/
H A DSkStream.h51 /** Reads or skips size number of bytes.
52 * If buffer == NULL, skip size bytes, return how many were skipped.
53 * If buffer != NULL, copy size bytes into buffer, return how many were copied.
54 * @param buffer when NULL skip size bytes, otherwise copy size bytes into buffer
55 * @param size the number of bytes to skip or copy
58 virtual size_t read(void* buffer, size_t size) = 0;
60 /** Skip size number of bytes.
63 size_t skip(size_t size) { in skip() argument
64 return this->read(nullptr, size); in skip()
[all...]
/third_party/spirv-tools/test/opt/
H A Ddef_use_test.cpp95 ASSERT_EQ(expected_defs_uses.defs.size(), actual_defs.size()); in CheckDef()
96 for (uint32_t i = 0; i < expected_defs_uses.defs.size(); ++i) { in CheckDef()
133 ASSERT_EQ(expected_defs_uses.uses.size(), actual_uses.size()); in CheckUse()
134 for (uint32_t i = 0; i < expected_defs_uses.uses.size(); ++i) { in CheckUse()
141 ASSERT_EQ(expected_uses.size(), uses.size()) in CheckUse()
142 << "id [" << id << "] # uses: expected: " << expected_uses.size() in CheckUse()
143 << " actual: " << uses.size(); in CheckUse()
[all...]

Completed in 20 milliseconds

1...<<151152153154155156157158159160>>...857