/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | bytecode_gen.cpp | 93 uint32_t ByteCodeGen::Align(uint32_t size) const 95 return needAlign_ ? ((size + ALIGN_SIZE - 1) & (~(ALIGN_SIZE - 1))) : size; 116 Write(data.c_str(), static_cast<uint32_t>(data.size() + 1)); 123 uint32_t size = sizeof(data); 125 Write(d, size); 128 void ByteCodeGen::Write(const char *data, uint32_t size) 130 FsWrite(data, size); 131 auto alignSize = Align(size); 132 auto stubSize = alignSize - size; [all...] |
/third_party/backends/sanei/ |
H A D | sanei_config.c | 251 int size=0; in sanei_configure_attach() local 316 size=config->descriptors[i]->size; in sanei_configure_attach() 317 value = malloc (size); in sanei_configure_attach() 319 count = config->descriptors[i]->size / sizeof (SANE_Word); in sanei_configure_attach() 334 size=config->descriptors[i]->size; in sanei_configure_attach() 335 value = malloc (size); in sanei_configure_attach() 337 count = config->descriptors[i]->size / sizeof (SANE_Bool); in sanei_configure_attach() 368 size in sanei_configure_attach() [all...] |
/third_party/gn/src/gn/ |
H A D | string_utils.cc | 25 size_t size, in ErrInsideStringToken() 34 static_cast<int>(size)); in ErrInsideStringToken() 122 token, identifier.data() - token.value().data() - 1, identifier.size(), in AppendInterpolatedIdentifier() 143 size_t size, in AppendStringInterpolation() 159 while (*i < size && input[*i] != '}') { in AppendStringInterpolation() 163 if (*i == size) { in AppendStringInterpolation() 192 while (*i < size && Tokenizer::IsIdentifierContinuingChar(input[*i])) in AppendStringInterpolation() 211 size_t size, in AppendHexByte() 217 if (*i + 3 >= size || input[*i + 1] != 'x' || !std::isxdigit(input[*i + 2]) || in AppendHexByte() 242 DCHECK(literal.value().size() > in ExpandStringLiteral() 23 ErrInsideStringToken(const Token& token, size_t offset, size_t size, const std::string& msg, const std::string& help = std::string()) ErrInsideStringToken() argument 140 AppendStringInterpolation(Scope* scope, const Token& token, const char* input, size_t size, size_t* i, std::string* output, Err* err) AppendStringInterpolation() argument 208 AppendHexByte(Scope* scope, const Token& token, const char* input, size_t size, size_t* i, std::string* output, Err* err) AppendHexByte() argument 247 size_t size = literal.value().size() - 2; ExpandStringLiteral() local [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | assembler.cc | 99 explicit DefaultAssemblerBuffer(int size) in DefaultAssemblerBuffer() argument 101 std::max(AssemblerBase::kMinimalBufferSize, size))) { in DefaultAssemblerBuffer() 103 ZapCode(reinterpret_cast<Address>(buffer_.start()), buffer_.size()); in DefaultAssemblerBuffer() 109 int size() const override { return static_cast<int>(buffer_.size()); } 112 DCHECK_LT(size(), new_size); 122 ExternalAssemblerBufferImpl(byte* start, int size) in ExternalAssemblerBufferImpl() argument 123 : start_(start), size_(size) {} in ExternalAssemblerBufferImpl() 127 int size() const override { return size_; } 168 int size) { in ExternalAssemblerBuffer() 167 ExternalAssemblerBuffer(void* start, int size) ExternalAssemblerBuffer() argument 173 NewAssemblerBuffer(int size) NewAssemblerBuffer() argument 318 int size = pc_offset() - offset; WriteCodeComments() local [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | memcopy.h | 34 V8_EXPORT_PRIVATE void MemMove(void* dest, const void* src, size_t size); 35 using MemMoveFunction = void (*)(void* dest, const void* src, size_t size); 39 V8_INLINE void MemCopy(void* dest, const void* src, size_t size) { in MemCopy() argument 40 MemMove(dest, src, size); in MemCopy() 44 size_t size); 52 V8_INLINE void MemCopy(void* dest, const void* src, size_t size) { in MemCopy() argument 54 reinterpret_cast<const uint8_t*>(src), size); in MemCopy() local 57 size_t size) { in MemMove() 58 memmove(dest, src, size); in MemMove() 65 size_t size); 56 MemMove(void* dest, const void* src, size_t size) MemMove() argument 73 MemCopy(void* dest, const void* src, size_t size) MemCopy() argument 75 reinterpret_cast<const uint8_t*>(src), size); MemCopy() local 77 MemMove(void* dest, const void* src, size_t size) MemMove() argument 83 MemCopy(void* dest, const void* src, size_t size) MemCopy() argument 114 MemMove(void* dest, const void* src, size_t size) MemMove() argument [all...] |
/third_party/libcoap/src/ |
H A D | coap_mem.c | 37 * The maximum size of a string on platforms that allocate fixed-size 46 * fixed-size memory blocks. 54 * fixed-size memory blocks. 62 * fixed-size memory blocks. 70 * fixed-size memory blocks. Default is #COAP_MAX_RESOURCES * 4. 79 * and values on platforms that allocate fixed-size memory blocks. 88 * The maximum size of attribute names or values and values on 89 * platforms that allocate fixed-size memory blocks. 97 * fixed-size memor 409 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument 435 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument 465 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument 471 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument 492 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument 497 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | utils.c | 120 static void AddMem(void* ptr, size_t size) { in AddMem() argument 127 b->size_ = size; in AddMem() 128 total_mem += size; in AddMem() 129 total_mem_allocated += size; in AddMem() 135 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); in AddMem() 170 // Returns 0 in case of overflow of nmemb * size. 171 static int CheckSizeArgumentsOverflow(uint64_t nmemb, size_t size) { in CheckSizeArgumentsOverflow() argument 172 const uint64_t total_size = nmemb * size; in CheckSizeArgumentsOverflow() 174 if ((uint64_t)size > WEBP_MAX_ALLOCABLE_MEMORY / nmemb) return 0; in CheckSizeArgumentsOverflow() 194 void* WebPSafeMalloc(uint64_t nmemb, size_t size) { in WebPSafeMalloc() argument 204 WebPSafeCalloc(uint64_t nmemb, size_t size) WebPSafeCalloc() argument 224 WebPMalloc(size_t size) WebPMalloc() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/ |
H A D | GPUTestExpectationsParser_unittest.cpp | 208 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 209 if (parser.getErrorMessages().size() >= 1) in TEST_P() 225 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 226 if (parser.getErrorMessages().size() >= 1) in TEST_P() 240 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 241 if (parser.getErrorMessages().size() >= 1) in TEST_P() 270 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 271 if (parser.getErrorMessages().size() >= 1) in TEST_P() 285 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 286 if (parser.getErrorMessages().size() > in TEST_P() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os.h | 259 * @size: Number of bytes to allocate 264 void * os_zalloc(size_t size); 269 * @size: Number of bytes in each member 272 * This function can be used as a wrapper for os_zalloc(nmemb * size) when an 278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() argument 280 if (size && nmemb > (~(size_t) 0) / size) in os_calloc() 282 return os_zalloc(nmemb * size); in os_calloc() 306 * @size: Size of the buffer to allocate 311 void * os_malloc(size_t size); 560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument 566 os_realloc_array(void *ptr, size_t nmemb, size_t size) os_realloc_array() argument 580 os_remove_in_array(void *ptr, size_t nmemb, size_t size, size_t idx) os_remove_in_array() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os.h | 259 * @size: Number of bytes to allocate 264 void * os_zalloc(size_t size); 269 * @size: Number of bytes in each member 272 * This function can be used as a wrapper for os_zalloc(nmemb * size) when an 278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() argument 280 if (size && nmemb > (~(size_t) 0) / size) in os_calloc() 282 return os_zalloc(nmemb * size); in os_calloc() 306 * @size: Size of the buffer to allocate 311 void * os_malloc(size_t size); 560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument 566 os_realloc_array(void *ptr, size_t nmemb, size_t size) os_realloc_array() argument 580 os_remove_in_array(void *ptr, size_t nmemb, size_t size, size_t idx) os_remove_in_array() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | kernel.cpp | 49 mconst.size, mconst.data.data()); in kernel() 58 w.resize(q.device().max_block_size().size(), x); in pad_vector() 85 0, exec.samplers.size(), in launch() 89 exec.sviews.size(), 0, false, exec.sviews.data()); in launch() 91 exec.iviews.size(), 0, exec.iviews.data()); in launch() 92 q.pipe->set_compute_resources(q.pipe, 0, exec.resources.size(), in launch() 94 q.pipe->set_global_binding(q.pipe, 0, exec.g_buffers.size(), in launch() 98 info.work_dim = grid_size.size(); in launch() 106 q.pipe->set_global_binding(q.pipe, 0, exec.g_buffers.size(), NULL, NULL); in launch() 107 q.pipe->set_compute_resources(q.pipe, 0, exec.resources.size(), NUL in launch() 431 scalar_argument(size_t size) scalar_argument() argument 435 set(size_t size, const void *value) set() argument 465 set(size_t size, const void *value) set() argument 519 set(size_t size, const void *value) set() argument 552 set(size_t size, const void *value) set() argument 591 set(size_t size, const void *value) set() argument 622 set(size_t size, const void *value) set() argument 653 set(size_t size, const void *value) set() argument [all...] |
/drivers/hdf_core/framework/model/storage/src/mmc/ |
H A D | mmc_sdio.c | 15 uint8_t *data, uint32_t addr, uint32_t size) in SdioDeviceDefaultIncrAddrReadBytes() 36 if (size == 1) { in SdioDeviceDefaultIncrAddrReadBytes() 38 } else if (size > 1) { in SdioDeviceDefaultIncrAddrReadBytes() 42 info.size = size; in SdioDeviceDefaultIncrAddrReadBytes() 46 HDF_LOGE("SdioDeviceDefaultIncrAddrReadBytes: fail, data size is 0!"); in SdioDeviceDefaultIncrAddrReadBytes() 51 uint8_t *data, uint32_t addr, uint32_t size) in SdioDeviceDefaultIncrAddrWriteBytes() 72 if (size == 1) { in SdioDeviceDefaultIncrAddrWriteBytes() 74 } else if (size > 1) { in SdioDeviceDefaultIncrAddrWriteBytes() 78 info.size in SdioDeviceDefaultIncrAddrWriteBytes() 14 SdioDeviceDefaultIncrAddrReadBytes(struct SdioDevice *dev, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceDefaultIncrAddrReadBytes() argument 50 SdioDeviceDefaultIncrAddrWriteBytes(struct SdioDevice *dev, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceDefaultIncrAddrWriteBytes() argument 86 SdioDeviceDefaultFixedAddrReadBytes(struct SdioDevice *dev, uint8_t *data, uint32_t addr, uint32_t size, uint32_t scatterLen) SdioDeviceDefaultFixedAddrReadBytes() argument 120 SdioDeviceDefaultFixedAddrWriteBytes(struct SdioDevice *dev, uint8_t *data, uint32_t addr, uint32_t size, uint32_t scatterLen) SdioDeviceDefaultFixedAddrWriteBytes() argument 154 SdioDeviceDefaultFunc0ReadBytes(struct SdioDevice *dev, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceDefaultFunc0ReadBytes() argument 186 SdioDeviceDefaultFunc0WriteBytes(struct SdioDevice *dev, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceDefaultFunc0WriteBytes() argument 529 SdioDeviceIncrAddrReadBytes(struct SdioDevice *sdio, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceIncrAddrReadBytes() argument 543 SdioDeviceIncrAddrWriteBytes(struct SdioDevice *sdio, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceIncrAddrWriteBytes() argument 557 SdioDeviceFixedAddrReadBytes(struct SdioDevice *sdio, uint8_t *data, uint32_t addr, uint32_t size, uint32_t scatterLen) SdioDeviceFixedAddrReadBytes() argument 571 SdioDeviceFixedAddrWriteBytes(struct SdioDevice *sdio, uint8_t *data, uint32_t addr, uint32_t size, uint32_t scatterLen) SdioDeviceFixedAddrWriteBytes() argument 585 SdioDeviceFunc0ReadBytes(struct SdioDevice *sdio, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceFunc0ReadBytes() argument 599 SdioDeviceFunc0WriteBytes(struct SdioDevice *sdio, uint8_t *data, uint32_t addr, uint32_t size) SdioDeviceFunc0WriteBytes() argument [all...] |
/third_party/mesa3d/src/freedreno/drm/msm/ |
H A D | msm_ringbuffer.c | 73 unsigned size; member 82 cmd->size = 0; in cmd_new() 123 msm_ringbuffer_init(struct msm_ringbuffer *msm_ring, uint32_t size, 179 struct msm_ringbuffer *msm_ring, uint32_t size) in msm_submit_suballoc_ring_bo() 195 if ((size + suballoc_offset) > suballoc_bo->size) { in msm_submit_suballoc_ring_bo() 201 // TODO possibly larger size for streaming bo? in msm_submit_suballoc_ring_bo() 218 msm_submit_new_ringbuffer(struct fd_submit *submit, uint32_t size, in msm_submit_new_ringbuffer() argument 234 msm_submit_suballoc_ring_bo(submit, msm_ring, size); in msm_submit_new_ringbuffer() 237 size in msm_submit_new_ringbuffer() 178 msm_submit_suballoc_ring_bo(struct fd_submit *submit, struct msm_ringbuffer *msm_ring, uint32_t size) msm_submit_suballoc_ring_bo() argument 458 msm_ringbuffer_grow(struct fd_ringbuffer *ring, uint32_t size) msm_ringbuffer_grow() argument 554 uint32_t size; msm_ringbuffer_emit_reloc_ring() local 659 msm_ringbuffer_init(struct msm_ringbuffer *msm_ring, uint32_t size, enum fd_ringbuffer_flags flags) msm_ringbuffer_init() argument 685 msm_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size) msm_ringbuffer_new_object() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleResolveRenderAreaTests.cpp | 25 * attachment size. 191 (deUint32)attachmentDescriptions.size(), // uint32_t attachmentCount; in makeRenderPass() 302 float size = 0.5f; in iterate() local 304 pVertices[0] = tcu::Vec4(size, -size, 0.0f, 1.0f); in iterate() 305 pVertices[1] = tcu::Vec4(-size, -size, 0.0f, 1.0f); in iterate() 306 pVertices[2] = tcu::Vec4(-size, size, 0.0f, 1.0f); in iterate() 308 pVertices[3] = tcu::Vec4(-size, siz in iterate() 315 float size = 0.5f; iterate() local 328 float size = 0.3125f; iterate() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/mux/ |
H A D | muxread.c | 72 chunk_data.size = chunk_size; in ChunkVerifyAndAssign() 83 VP8LGetInfo(image->bytes, image->size, &w, &h, &vp8l_has_alpha) : in MuxImageFinalize() 84 VP8GetInfo(image->bytes, image->size, image->size, &w, &h); in MuxImageFinalize() 102 size_t size = chunk->data_.size; in MuxImageParse() local 103 const uint8_t* const last = (bytes == NULL) ? NULL : bytes + size; in MuxImageParse() 116 // Each of ANMF chunk contain a header at the beginning. So, its size should in MuxImageParse() 118 if (size < hdr_size) goto Fail; in MuxImageParse() 127 size in MuxImageParse() 182 size_t size; WebPMuxCreateInternal() local 395 const size_t size = RIFF_HEADER_SIZE + vp8x_size + alpha_size + SynthesizeBitstream() local [all...] |
/third_party/python/Modules/_io/ |
H A D | stringio.c | 71 /* Internal routine for changing the size, in terms of characters, of the 72 buffer of StringIO objects. The caller should ensure that the 'size' 75 resize_buffer(stringio *self, size_t size) in resize_buffer() argument 85 size = size + 1; in resize_buffer() 88 if (size > PY_SSIZE_T_MAX) in resize_buffer() 91 if (size < alloc / 2) { in resize_buffer() 92 /* Major downsize; resize down to exact size. */ in resize_buffer() 93 alloc = size + 1; in resize_buffer() 95 else if (size < allo in resize_buffer() 315 _io_StringIO_read_impl(stringio *self, Py_ssize_t size) _io_StringIO_read_impl() argument 386 _io_StringIO_readline_impl(stringio *self, Py_ssize_t size) _io_StringIO_readline_impl() argument 447 _io_StringIO_truncate_impl(stringio *self, Py_ssize_t size) _io_StringIO_truncate_impl() argument 537 Py_ssize_t size; _io_StringIO_write() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleResolveRenderAreaTests.cpp | 23 * attachment size. 189 (deUint32)attachmentDescriptions.size(), // uint32_t attachmentCount; in makeRenderPass() 296 float size = 0.5f; in iterate() local 298 pVertices[0] = tcu::Vec4(size, -size, 0.0f, 1.0f); in iterate() 299 pVertices[1] = tcu::Vec4(-size, -size, 0.0f, 1.0f); in iterate() 300 pVertices[2] = tcu::Vec4(-size, size, 0.0f, 1.0f); in iterate() 302 pVertices[3] = tcu::Vec4(-size, siz in iterate() 309 float size = 0.5f; iterate() local 322 float size = 0.3125f; iterate() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | repeated_field_unittest.cc | 73 EXPECT_EQ(field.size(), 0); in TEST() 78 EXPECT_EQ(field.size(), 1); in TEST() 85 EXPECT_EQ(field.size(), 2); in TEST() 94 EXPECT_EQ(field.size(), 2); in TEST() 103 EXPECT_EQ(field.size(), 2); in TEST() 112 EXPECT_EQ(field.size(), 1); in TEST() 119 EXPECT_EQ(field.size(), 0); in TEST() 136 EXPECT_EQ(field.size(), 16); in TEST() 155 EXPECT_EQ(field1.size(), 2); in TEST() 160 EXPECT_EQ(field2.size(), in TEST() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | types.cc | 692 int size; in Intersect() local 693 if (base::bits::SignedAddOverflow32(size1, size2, &size)) return Any(); in Intersect() 694 if (base::bits::SignedAddOverflow32(size, 2, &size)) return Any(); in Intersect() 695 UnionType* result = UnionType::New(size, zone); in Intersect() 696 size = 0; in Intersect() 699 result->Set(size++, NewBitset(bits)); in Intersect() 702 size = IntersectAux(type1, type2, result, size, &lims, zone); in Intersect() 707 size in Intersect() 717 UpdateRange(Type range, UnionType* result, int size, Zone* zone) UpdateRange() argument 755 IntersectAux(Type lhs, Type rhs, UnionType* result, int size, RangeType::Limits* lims, Zone* zone) IntersectAux() argument 899 int size; Union() local 934 AddToUnion(Type type, UnionType* result, int size, Zone* zone) AddToUnion() argument 949 NormalizeUnion(UnionType* unioned, int size, Zone* zone) NormalizeUnion() argument [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | linkValidate.cpp | 255 error(infoSink, "Contradictory local size"); in mergeModes() 261 error(infoSink, "Contradictory local size specialization ids"); in mergeModes() 282 for (size_t b = 0; b < xfbBuffers.size(); ++b) { in mergeModes() 301 for (unsigned int i = 0; i < unit.shiftBinding.size(); ++i) { in mergeModes() 306 for (unsigned int i = 0; i < unit.shiftBindingForSet.size(); ++i) { in mergeModes() 499 for (unsigned int child = 0; child < globals.size() - 1; ++child) { in mergeBodies() 500 for (unsigned int unitChild = 0; unitChild < unitGlobals.size() - 1; ++unitChild) { in mergeBodies() 576 // push back on original list; won't change the size of the list we're iterating over in mergeGlobalUniformBlocks() 601 size_t memberListStartSize = memberList->size(); in mergeBlockDefinitions() 602 for (unsigned int i = 0; i < unitMemberList->size(); in mergeBlockDefinitions() 1641 int size; addUsedLocation() local 1843 int size = 0; computeTypeLocationSize() local 1900 int size = 0; computeTypeUniformLocationSize() local 1923 unsigned int size = computeTypeXfbSize(type, buffer.contains64BitType, buffer.contains32BitType, buffer.contains16BitType); addXfbBufferOffset() local 1963 unsigned int size = 0; computeTypeXfbSize() local 2033 getBaseAlignmentScalar(const TType& type, int& size) getBaseAlignmentScalar() argument 2072 getBaseAlignment(const TType& type, int& size, int& stride, TLayoutPacking layoutPacking, bool rowMajor) getBaseAlignment() argument 2220 improperStraddle(const TType& type, int size, int offset) improperStraddle() argument 2229 getScalarAlignment(const TType& type, int& size, int& stride, bool rowMajor) getScalarAlignment() argument 2295 getMemberAlignment(const TType& type, int& size, int& stride, TLayoutPacking layoutPacking, bool rowMajor) getMemberAlignment() argument 2363 int size = getBlockSize(*type.getReferentType()); computeBufferReferenceTypeSize() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/model/camera/src/ |
H A D | contig_dma.c | 17 unsigned long size; member 40 unsigned long size = 0; in GetContiguousSize() local 43 return size; in GetContiguousSize() 51 size += sg_dma_len(slist); in GetContiguousSize() 53 return size; in GetContiguousSize() 72 dma_free_attrs(buf->dev, buf->size, buf->cookie, buf->dmaAddr, buf->dmaAttrs); in ContigMmapFree() 77 static void *ContigMmapAlloc(struct BufferQueue *queue, uint32_t planeNum, unsigned long size) in ContigMmapAlloc() argument 99 buf->cookie = dma_alloc_attrs(dev, size, &buf->dmaAddr, GFP_KERNEL | queueImp->gfpFlags, buf->dmaAttrs); in ContigMmapAlloc() 111 buf->size = size; in ContigMmapAlloc() 148 ContigAllocUserPtr(struct BufferQueue *queue, uint32_t planeNum, unsigned long vaddr, unsigned long size) ContigAllocUserPtr() argument 332 ContigAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned long size) ContigAttachDmaBuf() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | h2645_parse.c | 89 nal->size = in ff_h2645_extract_rbsp() 140 nal->size = di; in ff_h2645_extract_rbsp() 264 int size = nal->size; in get_bit_length() local 267 while (skip_trailing_zeros && size > 0 && nal->data[size - 1] == 0) in get_bit_length() 268 size--; in get_bit_length() 270 if (!size) in get_bit_length() 273 if (size <= min_size) { in get_bit_length() 274 if (nal->size < min_siz in get_bit_length() 349 alloc_rbsp_buffer(H2645RBSP *rbsp, unsigned int size, int use_ref) alloc_rbsp_buffer() argument [all...] |
/third_party/backends/backend/ |
H A D | pieusb_usb.c | 55 static SANE_Status _bulk_size(SANE_Int device_number, unsigned int size); 57 static SANE_Status _bulk_in(SANE_Int device_number, SANE_Byte* data, size_t *size); 94 static PIEUSB_USB_Status _pieusb_scsi_command(SANE_Int device_number, SANE_Byte command[], SANE_Byte data[], SANE_Int size); 160 * hex dump 'size' bytes starting at 'ptr' 163 _hexdump(char *msg, unsigned char *ptr, int size) in _hexdump() argument 173 if (size > 127) { in _hexdump() 174 clipped = size; in _hexdump() 175 size = 128; in _hexdump() 177 while (size-- > 0) in _hexdump() 187 if (size in _hexdump() 238 sanei_pieusb_command(SANE_Int device_number, SANE_Byte command[], SANE_Byte data[], SANE_Int size) sanei_pieusb_command() argument 512 _pieusb_scsi_command(SANE_Int device_number, SANE_Byte command[], SANE_Byte data[], SANE_Int size) _pieusb_scsi_command() argument 623 _bulk_size(SANE_Int device_number, unsigned int size) _bulk_size() argument 659 _bulk_in(SANE_Int device_number, SANE_Byte *data, size_t *size) _bulk_in() argument [all...] |
/third_party/musl/porting/linux/user/ldso/ |
H A D | namespace.c | 48 nsinl->size = INHERIT_DEFAULT_SIZE; in nsinherits_alloc() 77 size_t size = 2 * nsinl->size; in nsinherits_realloc() local 78 if (size) { in nsinherits_realloc() 80 inherits = (ns_inherit **)__libc_realloc(nsinl->inherits, size * (sizeof *nsinl->inherits)); in nsinherits_realloc() 85 nsinl->size = size; in nsinherits_realloc() 97 dsol->size = DSOLIST_DEFAULT_SIZE; in dsolist_alloc() 113 size_t size = 2 * dsol->size; in dsolist_realloc() local 208 size_t size = 2 * g_ns_list.size; nslist_realloc() local [all...] |
/third_party/mesa3d/src/util/format/ |
H A D | u_format_parse.py | 56 def __init__(self, type, norm, pure, size, name=''): 60 self.size = size 70 s += str(self.size) 80 return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.size == other.size 90 return (1 << (self.size // 2)) - 1 94 return (1 << self.size) - 1 96 return (1 << (self.size - 1)) - 1 104 return -(1 << (self.size // [all...] |