/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_context.c | 71 unsigned size) in lima_ctx_buff_alloc() 76 cbs->size = align(size, 0x40); in lima_ctx_buff_alloc() 78 u_upload_alloc(ctx->uploader, 0, cbs->size, 0x40, &cbs->offset, in lima_ctx_buff_alloc() 249 /* growable size buffer, initially will allocate 32K (by default) in lima_context_create() 256 /* fix size buffer */ in lima_context_create() 70 lima_ctx_buff_alloc(struct lima_context *ctx, enum lima_ctx_buff buff, unsigned size) lima_ctx_buff_alloc() argument
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | pixelshader9.c | 80 This->byte_code.size = info.byte_size; in NinePixelShader9_ctor() 160 *pSizeOfData = This->byte_code.size; in NinePixelShader9_GetFunction() 163 user_assert(*pSizeOfData >= This->byte_code.size, D3DERR_INVALIDCALL); in NinePixelShader9_GetFunction() 165 memcpy(pData, This->byte_code.tokens, This->byte_code.size); in NinePixelShader9_GetFunction()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_object.c | 58 size_t size, in vk_object_alloc() 61 void *ptr = vk_alloc2(&device->alloc, alloc, size, 8, in vk_object_alloc() 74 size_t size, in vk_object_zalloc() 77 void *ptr = vk_zalloc2(&device->alloc, alloc, size, 8, in vk_object_zalloc() 56 vk_object_alloc(struct vk_device *device, const VkAllocationCallbacks *alloc, size_t size, VkObjectType obj_type) vk_object_alloc() argument 72 vk_object_zalloc(struct vk_device *device, const VkAllocationCallbacks *alloc, size_t size, VkObjectType obj_type) vk_object_zalloc() argument
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_inlines.h | 106 static inline DataType typeOfSize(unsigned int size, in typeOfSize() argument 109 switch (size) { in typeOfSize() 172 return value ? value->reg.size : 0; in getSize() 194 return value ? value->reg.size : 0; in getSize()
|
/third_party/mesa3d/src/util/ |
H A D | u_debug.c | 106 debug_print_blob(const char *name, const void *blob, unsigned size) in debug_print_blob() argument 111 debug_printf("%s (%d dwords%s)\n", name, size/4, in debug_print_blob() 112 size%4 ? "... plus a few bytes" : ""); in debug_print_blob() 114 for (i = 0; i < size/4; i++) { in debug_print_blob()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_vertex_buffers.c | 212 unsigned i, size; in vl_vb_init() local 219 size = width * height; in vl_vb_init() 227 sizeof(struct vl_ycbcr_block) * size * 4 in vl_vb_init() 239 sizeof(struct vl_motionvector) * size in vl_vb_init()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_encoder_references_manager_h264.cpp | 86 assert(m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size() < UINT32_MAX); in get_current_frame_picture_control_data() 160 needsL0List ? static_cast<uint32_t>(m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size()) : in get_current_frame_picture_control_data() 279 dpbResIdx < m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size(); in update_fifo_dpb_push_front_cur_recon_pic() 345 dpbResIdx < m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.size(); in print_dpb()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_mman.cpp | 261 size_t size = pagesize * mprotectLength[state.range(0)]; in Bm_function_mprotect() local 264 posix_memalign(&pages, pagesize, size); in Bm_function_mprotect() 266 void *pages = memalign(pagesize, size); in Bm_function_mprotect() 270 benchmark::DoNotOptimize(mprotect(pages, size, PROT_READ | PROT_WRITE)); in Bm_function_mprotect()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_alu.h | 101 unsigned n_sources() const {return m_src.size();} in n_sources() 105 PVirtualValue psrc(unsigned i) {return i < m_src.size() ? m_src[i] : nullptr;} in psrc() 106 VirtualValue& src(unsigned i) {assert(i < m_src.size() && m_src[i]); return *m_src[i];} in src() 107 const VirtualValue& src(unsigned i) const {assert(i < m_src.size() && m_src[i]); return *m_src[i];}
|
/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | ktls.h | 189 size_t size, int flags) in ktls_sendfile() 194 ret = sendfile(fd, s, off, size, NULL, &sbytes, flags); in ktls_sendfile() 332 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, size_t size, int flags) in ktls_sendfile() argument 334 return sendfile(s, fd, &off, size); in ktls_sendfile() 188 ktls_sendfile(int s, int fd, off_t off, size_t size, int flags) ktls_sendfile() argument
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 17 static int linebuffer_read(BIO *h, char *buf, int size); 19 static int linebuffer_gets(BIO *h, char *str, int size); 309 static int linebuffer_gets(BIO *b, char *buf, int size) in linebuffer_gets() argument 313 return BIO_gets(b->next_bio, buf, size); in linebuffer_gets()
|
/third_party/node/deps/uv/src/ |
H A D | uv-common.h | 351 void *uv__calloc(size_t count, size_t size); 354 void* uv__malloc(size_t size); 356 void* uv__realloc(void* ptr, size_t size); 357 void* uv__reallocf(void* ptr, size_t size);
|
/third_party/python/Lib/ |
H A D | heapq.py | 16 # the smallest item; the heap size is unchanged 18 # new item; the heap size is unchanged 94 sequences, which size is usually related to the amount of CPU memory), 100 produce runs which are twice the size of the memory for random input, 105 the last output value), it cannot fit in the heap, so the size of the 151 more appropriate when using a fixed-size heap. Note that the value 476 # When n>=size, it's faster to use sorted() 478 size = len(iterable) 482 if n >= size: 536 # When n>=size, i [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-util.h | 71 ssize_t pa_loop_read(int fd, void*data, size_t size, int *type); 72 ssize_t pa_loop_write(int fd, const void*data, size_t size, int *type); 160 size_t pa_snprintf(char *str, size_t size, const char *format, ...); 161 size_t pa_vsnprintf(char *str, size_t size, const char *format, va_list ap); 291 /* Returns size of the specified pipe or 4096 on failure */
|
/third_party/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 17 static int linebuffer_read(BIO *h, char *buf, int size); 19 static int linebuffer_gets(BIO *h, char *str, int size); 309 static int linebuffer_gets(BIO *b, char *buf, int size) in linebuffer_gets() argument 313 return BIO_gets(b->next_bio, buf, size); in linebuffer_gets()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
H A D | vktTransformFeedbackFuzzLayoutCase.hpp | 91 int getArraySize (void) const { return m_data.array.size; } in getArraySize() 115 int size; member 122 array.size = 0; in Data() 222 int m_arraySize; //!< Array size or 0 if not interface block array. 240 int getNumInterfaceBlocks (void) const { return (int)m_interfaceBlocks.size(); } in getNumInterfaceBlocks()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
H A D | RecordUniformBlocksWithLargeArrayMember.cpp | 24 // Only when a uniform block member's array size is greater than or equal to 79 for (size_t i = 0; i < fields.size(); i++) in IsSupportedTypeForStructuredBuffer() 112 if (blockStorage == EbsStd140 && interfaceBlock.fields().size() == 1u) in CanTranslateUniformBlockToStructuredBuffer() 138 for (size_t i = 0; i < fields.size(); i++) in FieldIsOrHasLargeArrayField() 156 for (size_t i = 0; i < fields.size(); i++) in IsInterfaceBlockWithLargeArrayField() 220 // depends on the array size of variable. in visitSymbol() 271 // depends on the array size of variable. in visitBinary()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Config.cpp | 8 // and size for an egl::Surface. Implements EGLConfig and related functionality. 86 EGLint id = static_cast<EGLint>(mConfigs.size()) + 1; in add() 106 size_t ConfigSet::size() const in size() function in egl::ConfigSet 108 return mConfigs.size(); in size() 232 result.reserve(mConfigs.size());
|
H A D | CLPlatform.cpp | 75 platforms.reserve(createFuncs.size()); in Initialize() 96 *numPlatforms = static_cast<cl_uint>(availPlatforms.size()); in GetPlatformIDs() 146 copySize = mInfo.extensionsWithVersion.size() * in getInfo() 164 // CL_INVALID_VALUE if size in bytes specified by param_value_size is < size of return type in getInfo() 264 devices.reserve(createDatas.size()); in createDevices()
|
H A D | CLProgram.cpp | 94 valUInt = static_cast<decltype(valUInt)>(mDevices.size()); in getInfo() 99 devices.reserve(mDevices.size()); in getInfo() 105 copySize = devices.size() * sizeof(decltype(devices)::value_type); in getInfo() 128 // CL_INVALID_VALUE if size in bytes specified by param_value_size is < size of return type in getInfo() 171 krnls.reserve(createFuncs.size()); in createKernels()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | IntermNode_util.cpp | 55 size_t size = constType.getObjectSize(); in CreateZeroNode() local 56 TConstantUnion *u = new TConstantUnion[size]; in CreateZeroNode() 57 for (size_t i = 0; i < size; ++i) in CreateZeroNode() 349 if (BuiltInGroup::IsMath(op) && arguments->size() == 1) in CreateBuiltInFunctionCallNode()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/converged/ |
H A D | CompositorNativeWindow11.cpp | 40 ABI::Windows::Foundation::Numerics::Vector2 size; in getClientRect() local 41 HRESULT hr = visual->get_Size(&size); in getClientRect() 56 rect->right = static_cast<LONG>(offset.X) + static_cast<LONG>(size.X); in getClientRect() 57 rect->bottom = static_cast<LONG>(offset.Y) + static_cast<LONG>(size.Y); in getClientRect()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | MachineFrameInfo.cpp | 54 assert(Size != 0 && "Cannot allocate zero size stack objects!"); in CreateStackObject() 58 int Index = (int)Objects.size() - NumFixedObjects - 1; in CreateStackObject() 68 int Index = (int)Objects.size() - NumFixedObjects - 1; in CreateSpillStackObject() 79 return (int)Objects.size()-NumFixedObjects-1; in CreateVariableSizedObject() 84 assert(Size != 0 && "Cannot allocate zero size fixed stack objects!"); in CreateFixedObject() 147 // Only estimate stack size of default stack. in estimateStackSize() 154 // Only estimate stack size of live objects on default stack. in estimateStackSize() 168 // Round up the size to a multiple of the alignment. If the function has in estimateStackSize() 222 for (unsigned i = 0, e = Objects.size(); i != e; ++i) { in print() 236 OS << "size in print() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
H A D | GsymReader.cpp | 100 // version number, verified address offset size and a valid UUID size. in parse() 220 const auto NumAddrInfoOffsets = AddrInfoOffsets.size(); in getAddressInfoOffset() 240 "unsupported address offset size %u", in getAddressIndex() 248 // Address info offsets size should have been checked in parse(). in getFunctionInfo() 249 assert(*AddressIndex < AddrInfoOffsets.size()); in getFunctionInfo() 255 if (ExpectedFI->Range.contains(Addr) || ExpectedFI->Range.size() == 0) in getFunctionInfo() 270 // Address info offsets size should have been checked in parse(). in lookup() 271 assert(*AddressIndex < AddrInfoOffsets.size()); in lookup()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcSpirvUtils.cpp | 355 for (int s = 0; s < (signed)it->second.size(); ++s) in verifyMappings() 359 for (int v = 0; v < (signed)spirVSourceLines.size(); ++v) in verifyMappings() 364 for (int j = 0; j < (signed)spirVCodes.size(); ++j) in verifyMappings() 367 for (int i = 0; i < (signed)spirVLineCodes.size(); ++i) in verifyMappings()
|