Home
last modified time | relevance | path

Searched refs:size (Results 4551 - 4575 of 20465) sorted by relevance

1...<<181182183184185186187188189190>>...819

/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Ddemo_https.c283 break; /* more than SIZE_T _index_ size? Too big for us */ in list_directory()
306 static size_t initial_allocation = 32 * 1024; /* initial size for response buffer */ in update_directory()
425 * Append the 'size' bytes from 'data' to '*ret', adding
430 * @param size number of bytes in 'data'
436 size_t size) in do_append()
445 buf = malloc (old_len + size + 1); in do_append()
451 memcpy (&buf[old_len], data, size); in do_append()
452 buf[old_len + size] = '\0'; in do_append()
470 * @param data pointer to size bytes of data at the
473 * @param size numbe
434 do_append(char **ret, const char *data, size_t size) do_append() argument
478 process_upload_data(void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *data, uint64_t off, size_t size) process_upload_data() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DCommandValidation.cpp34 for (size_t i = 0; i < scope.bufferUsages.size(); ++i) { in ValidateSyncScopeResourceUsage()
47 for (size_t i = 0; i < scope.textureUsages.size(); ++i) { in ValidateSyncScopeResourceUsage()
79 uint64_t size) { in ValidateWriteBuffer()
85 DAWN_INVALID_IF(size % 4 != 0, "Size (%u) is not a multiple of 4.", size); in ValidateWriteBuffer()
88 DAWN_INVALID_IF(bufferOffset > bufferSize || size > (bufferSize - bufferOffset), in ValidateWriteBuffer()
89 "Write range (bufferOffset: %u, size: %u) does not fit in %s size (%u).", in ValidateWriteBuffer()
90 bufferOffset, size, buffer, bufferSize); in ValidateWriteBuffer()
162 uint64_t size) { in ValidateCopySizeFitsInBuffer()
76 ValidateWriteBuffer(const DeviceBase* device, const BufferBase* buffer, uint64_t bufferOffset, uint64_t size) ValidateWriteBuffer() argument
160 ValidateCopySizeFitsInBuffer(const Ref<BufferBase>& buffer, uint64_t offset, uint64_t size) ValidateCopySizeFitsInBuffer() argument
[all...]
H A DQueue.cpp256 size_t size) { in APIWriteBuffer()
257 GetDevice()->ConsumedError(WriteBuffer(buffer, bufferOffset, data, size)); in APIWriteBuffer()
263 size_t size) { in WriteBuffer()
266 DAWN_TRY(ValidateWriteBuffer(GetDevice(), buffer, bufferOffset, size)); in WriteBuffer()
268 return WriteBufferImpl(buffer, bufferOffset, data, size); in WriteBuffer()
274 size_t size) { in WriteBufferImpl()
275 if (size == 0) { in WriteBufferImpl()
283 size, device->GetPendingCommandSerial(), in WriteBufferImpl()
287 memcpy(uploadHandle.mappedBuffer, data, size); in WriteBufferImpl()
292 buffer, bufferOffset, size); in WriteBufferImpl()
253 APIWriteBuffer(BufferBase* buffer, uint64_t bufferOffset, const void* data, size_t size) APIWriteBuffer() argument
260 WriteBuffer(BufferBase* buffer, uint64_t bufferOffset, const void* data, size_t size) WriteBuffer() argument
271 WriteBufferImpl(BufferBase* buffer, uint64_t bufferOffset, const void* data, size_t size) WriteBufferImpl() argument
[all...]
/third_party/python/Modules/
H A D_gdbmmodule.c150 Py_ssize_t size = 0; in gdbm_length()
153 size++; in gdbm_length()
159 dp->di_size = size; in gdbm_length()
165 // Wrapper function for PyArg_Parse(o, "s#", &d.dptr, &d.size).
171 Py_ssize_t size; in parse_datum() local
172 if (!PyArg_Parse(o, "s#", &d->dptr, &size)) { in parse_datum()
178 if (INT_MAX < size) { in parse_datum()
179 PyErr_SetString(PyExc_OverflowError, "size does not fit in an int"); in parse_datum()
182 d->dsize = size; in parse_datum()
381 Py_ssize_t size; in gdbm_contains() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
H A Dmemory.h34 // pageSize() returns the size in bytes of a virtual memory page for the host
72 size_t size = 0; // The size of the allocation in bytes. member
166 allocation.request.size = sizeof(T) * count; in operator ()()
178 request.size = sizeof(T); in create()
193 alloc.request.size = sizeof(T); in destroy()
211 request.size = sizeof(T) * n; in make_unique_n()
223 request.size = sizeof(T); in make_shared()
242 // total allocation size in bytes (as requested, may be higher due to
305 usageStats.bytes += request.size; in allocate()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64PBQPRegAlloc.cpp190 PBQPRAGraph::RawMatrix costs(vRdAllowed->size() + 1, in addIntraChainConstraint()
191 vRaAllowed->size() + 1, 0); in addIntraChainConstraint()
192 for (unsigned i = 0, ie = vRdAllowed->size(); i != ie; ++i) { in addIntraChainConstraint()
194 for (unsigned j = 0, je = vRaAllowed->size(); j != je; ++j) { in addIntraChainConstraint()
213 for (unsigned i = 0, ie = vRdAllowed->size(); i != ie; ++i) { in addIntraChainConstraint()
219 for (unsigned j = 0, je = vRaAllowed->size(); j != je; ++j) { in addIntraChainConstraint()
230 for (unsigned j = 0, je = vRaAllowed->size(); j != je; ++j) { in addIntraChainConstraint()
290 for (unsigned i = 0, ie = vRdAllowed->size(); i != ie; ++i) { in addInterChainConstraint()
296 for (unsigned j = 0, je = vRrAllowed->size(); j != je; ++j) { in addInterChainConstraint()
307 for (unsigned j = 0, je = vRrAllowed->size(); in addInterChainConstraint()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h59 for (unsigned i = 0, e = static_cast<unsigned>(BlockInfoRecords.size()); in getBlockInfo()
87 /// follow the word size of the host machine for efficiency. We use word_t in
112 return pos <= BitcodeBytes.size(); in canSkipToPos()
116 return BitsInCurWord == 0 && BitcodeBytes.size() <= NextChar; in AtEndOfStream()
164 if (NextChar >= BitcodeBytes.size()) in fillCurWord()
167 NextChar, BitcodeBytes.size()); in fillCurWord()
172 if (BitcodeBytes.size() >= NextChar + sizeof(word_t)) { in fillCurWord()
179 BytesRead = BitcodeBytes.size() - NextChar; in fillCurWord()
257 // Read a VBR that may have a value up to 64-bits in size. The chunk size o
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DInternal.java259 if (a.size() != b.size()) return false; in equals()
260 for (int i = 0; i < a.size(); ++i) { in equals()
316 if (a.size() != b.size()) { in equalsByteBuffer()
319 for (int i = 0; i < a.size(); ++i) { in equalsByteBuffer()
415 public int size() { in size() method in Internal.ListAdapter
416 return fromList.size(); in size()
490 public int size() { in size() method in Internal.MapAdapter.SetAdapter
491 return realSet.size(); in size()
[all...]
/third_party/protobuf/php/ext/google/protobuf/
H A Dconvert.c392 size_t size; in Convert_PhpToUpb() local
396 size = Z_STRLEN_P(php_val); in Convert_PhpToUpb()
401 ptr = upb_arena_malloc(arena, size); in Convert_PhpToUpb()
402 memcpy(ptr, Z_STRVAL_P(php_val), size); in Convert_PhpToUpb()
407 upb_val->str_val = upb_strview_make(ptr, size); in Convert_PhpToUpb()
428 int size = sprintf(buf, "%lld", upb_val.int64_val); in Convert_UpbToPhp()
429 ZVAL_NEW_STR(php_val, zend_string_init(buf, size, 0)); in Convert_UpbToPhp()
439 int size = sprintf(buf, "%lld", (int64_t)upb_val.uint64_val); in Convert_UpbToPhp()
440 ZVAL_NEW_STR(php_val, zend_string_init(buf, size, 0)); in Convert_UpbToPhp()
466 ZVAL_NEW_STR(php_val, zend_string_init(str.data, str.size, in Convert_UpbToPhp()
[all...]
/third_party/python/Objects/
H A Dstructseq.c54 Py_ssize_t size = REAL_SIZE_TP(type), i; in PyStructSequence_New() local
55 if (size < 0) { in PyStructSequence_New()
63 obj = PyObject_GC_NewVar(PyStructSequence, type, size); in PyStructSequence_New()
66 /* Hack the size of the variable object, so invisible fields don't appear in PyStructSequence_New()
69 for (i = 0; i < size; i++) in PyStructSequence_New()
94 Py_ssize_t i, size; in structseq_traverse() local
95 size = REAL_SIZE(obj); in structseq_traverse()
96 for (i = 0; i < size; ++i) { in structseq_traverse()
105 Py_ssize_t i, size; in structseq_dealloc() local
109 size in structseq_dealloc()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
H A Dint128.cc211 if (static_cast<size_t>(width) > rep.size()) {
214 rep.append(width - rep.size(), os.fill());
218 rep.insert(2, width - rep.size(), os.fill());
220 rep.insert(0, width - rep.size(), os.fill());
308 if (static_cast<size_t>(width) > rep.size()) {
311 rep.append(width - rep.size(), os.fill());
315 rep.insert(1, width - rep.size(), os.fill());
318 rep.insert(2, width - rep.size(), os.fill());
320 rep.insert(0, width - rep.size(), os.fill());
324 rep.insert(0, width - rep.size(), o
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstr_split_internal.h110 pos_ = splitter_->text().size(); in SplitIterator()
115 pos_ = splitter_->text().size(); in SplitIterator()
134 if (d.data() == text.data() + text.size()) state_ = kLastState; in operator ++()
136 pos_ += curr_.size() + d.size(); in operator ++()
340 size_t size; in operator ()() member
342 return {data, size}; in operator ()()
351 ar[index].size = it->size(); in operator ()()
353 } while (++index != ar.size() in operator ()()
[all...]
/third_party/skia/gm/
H A Dimagefilterstransformed.cpp91 const SkScalar size = SkIntToScalar(60); variable
102 canvas->translate(size * SK_ScalarHalf, size * SK_ScalarHalf);
109 canvas->translate(-size * SK_ScalarHalf, -size * SK_ScalarHalf);
110 canvas->drawOval(SkRect::MakeXYWH(0, size * SkDoubleToScalar(0.1),
111 size, size * SkDoubleToScalar(0.6)), paint);
113 canvas->translate(size + margin, 0);
116 canvas->translate(0, size
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessUtil.cpp94 extensionPtrs.resize(nonCoreExtensions.size()); in createRobustBufferAccessDevice()
96 for (size_t ndx = 0; ndx < nonCoreExtensions.size(); ++ndx) in createRobustBufferAccessDevice()
131 memReservationInfo.pipelinePoolSizeCount = deUint32(poolSizes.size()); in createRobustBufferAccessDevice()
146 (deUint32)extensionPtrs.size(), // deUint32 enabledExtensionCount; in createRobustBufferAccessDevice()
246 void populateBufferWithTestValues (void* buffer, VkDeviceSize size, VkFormat format) in populateBufferWithTestValues() argument
249 for (VkDeviceSize scalarNdx = 0; scalarNdx < size / 4; scalarNdx++) in populateBufferWithTestValues()
464 (deUint32)vertexBindings.size(), // deUint32 vertexBindingDescriptionCount; in GraphicsEnvironment()
466 (deUint32)vertexAttributes.size(), // deUint32 vertexAttributeDescriptionCount; in GraphicsEnvironment()
540 const std::vector<VkDeviceSize> vertexBufferOffsets(drawConfig.vertexBuffers.size(), 0ull); in GraphicsEnvironment()
544 vk.cmdBindVertexBuffers(*m_commandBuffer, 0, (deUint32)drawConfig.vertexBuffers.size(), drawConfi in GraphicsEnvironment()
[all...]
/third_party/ffmpeg/libavformat/
H A Dmpegtsenc.c1052 av_log(s, AV_LOG_WARNING, "frame size not set\n"); in enable_pcr_generation_for_stream()
1434 /* Extend the adaptation field by size bytes */
1435 static void extend_af(uint8_t *pkt, int size) in extend_af() argument
1439 pkt[4] += size; in extend_af()
1732 /* header size */ in mpegts_write_pes()
1742 /* stuffing already present: increase its size */ in mpegts_write_pes()
1777 if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001 && AV_RB24(pkt->data) != 0x000001) { in ff_check_h264_startcode()
1784 av_log(s, AV_LOG_WARNING, "H.264 bitstream error, startcode missing, size %d", pkt->size); in ff_check_h264_startcode()
1785 if (pkt->size) in ff_check_h264_startcode()
1862 int size = pkt->size; mpegts_write_packet_internal() local
[all...]
H A Dmovenccenc.h63 int ff_mov_cenc_write_packet(MOVMuxCencContext* ctx, AVIOContext *pb, const uint8_t *buf_in, int size);
66 * Parse AVC NAL units from annex B format, the nal size and type are written in the clear while the body is encrypted
68 int ff_mov_cenc_avc_parse_nal_units(MOVMuxCencContext* ctx, AVIOContext *pb, const uint8_t *buf_in, int size);
71 * Write AVC NAL units that are in MP4 format, the nal size and type are written in the clear while the body is encrypted
74 AVIOContext *pb, const uint8_t *buf_in, int size);
/third_party/node/deps/v8/src/wasm/
H A Dgraph-builder-interface.cc420 locals->insert(locals->begin(), local_values.size(), nullptr); in AllocateLocals()
421 for (uint32_t i = 0; i < local_values.size(); i++) { in AllocateLocals()
643 if (FLAG_wasm_speculative_inlining && type_feedback_.size() > 0) { in CallDirect()
644 DCHECK_LT(feedback_instruction_index_, type_feedback_.size()); in CallDirect()
653 if (FLAG_wasm_speculative_inlining && type_feedback_.size() > 0) { in ReturnCall()
654 DCHECK_LT(feedback_instruction_index_, type_feedback_.size()); in ReturnCall()
682 if (FLAG_wasm_speculative_inlining && type_feedback_.size() > 0) { in CallRef()
683 DCHECK_LT(feedback_instruction_index_, type_feedback_.size()); in CallRef()
752 if (FLAG_wasm_speculative_inlining && type_feedback_.size() > 0) { in ReturnCallRef()
753 DCHECK_LT(feedback_instruction_index_, type_feedback_.size()); in ReturnCallRef()
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dtype.pb.h268 void SetCachedSize(int size) const final;
331 void set_oneofs(int index, const char* value, size_t size);
336 void add_oneofs(const char* value, size_t size);
368 void set_name(const char* value, size_t size);
509 void SetCachedSize(int size) const final;
669 void set_name(const char* value, size_t size);
685 void set_type_url(const char* value, size_t size);
701 void set_json_name(const char* value, size_t size);
717 void set_default_value(const char* value, size_t size);
880 void SetCachedSize(int size) cons
1393 set_name(const char* value, size_t size) set_name() argument
1397 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local
1496 set_oneofs(int index, const char* value, size_t size) set_oneofs() argument
1498 reinterpret_cast<const char*>(value), size); set_oneofs() local
1517 add_oneofs(const char* value, size_t size) add_oneofs() argument
1518 oneofs_.Add()->assign(reinterpret_cast<const char*>(value), size); add_oneofs() local
1768 set_name(const char* value, size_t size) set_name() argument
1772 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local
1830 set_type_url(const char* value, size_t size) set_type_url() argument
1834 reinterpret_cast<const char*>(value), size), GetArena()); set_type_url() local
1971 set_json_name(const char* value, size_t size) set_json_name() argument
1975 reinterpret_cast<const char*>(value), size), GetArena()); set_json_name() local
2033 set_default_value(const char* value, size_t size) set_default_value() argument
2037 reinterpret_cast<const char*>(value), size), GetArena()); set_default_value() local
2099 set_name(const char* value, size_t size) set_name() argument
2103 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local
2340 set_name(const char* value, size_t size) set_name() argument
2344 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local
2465 set_name(const char* value, size_t size) set_name() argument
2469 reinterpret_cast<const char*>(value), size), GetArena()); set_name() local
[all...]
/applications/standard/calendardata/calendarmanager/test/unittest/src/
H A Dget_self_permissions.cpp28 auto perms = std::make_unique<const char *[]>(permission.size()); in SetAccessTokenPermission()
29 for (size_t i = 0; i < permission.size(); i++) { in SetAccessTokenPermission()
35 .permsNum = permission.size(), in SetAccessTokenPermission()
/test/ostest/wukong/report/src/
H A Dformat_json.cpp34 for (uint32_t row = 0; row < record.size(); row++) { in FormatDetail()
36 for (uint32_t col = 0; col < header.size(); col++) { in FormatDetail()
38 if (col == (header.size() - 1)) { in FormatDetail()
/test/xts/acts/iothardware_lite/peripheral_hal/src/
H A Diot_flash_test.c25 unsigned int size,
28 unsigned int (*g_ioTFlashRead)(unsigned int flashOffset, unsigned int size, unsigned char *ramData);
29 unsigned int (*g_ioTFlashErase)(unsigned int flashOffset, unsigned int size);
/test/xts/device_attest_lite/services/core/include/utils/
H A Dattest_utils.h40 void *AttestMemAlloc(uint32_t size, const char* file, uint32_t line, const char* func);
42 #define ATTEST_MEM_MALLOC(size) AttestMemAlloc(size, __FILE__, __LINE__, __FUNCTION__)
/third_party/ffmpeg/libavcodec/
H A Daac_parser.c35 int size; in aac_sync() local
45 if ((size = ff_adts_header_parse(&bits, &hdr)) < 0) in aac_sync()
53 return size; in aac_sync()
H A Dvt_internal.h29 // The current size of the bitstream.
32 // The reference size used for fast reallocation.
58 uint32_t size);
62 uint32_t size);
65 uint32_t size);
/third_party/curl/tests/libtest/
H A Dlib1556.c34 static size_t header(void *ptr, size_t size, size_t nmemb, void *stream) in header() argument
36 size_t headersize = size * nmemb; in header()
44 return nmemb * size; in header()

Completed in 27 milliseconds

1...<<181182183184185186187188189190>>...819