/third_party/libuv/src/unix/ |
H A D | stream.c | 66 * the total size of control messages cannot exceed 256 bytes. 671 size_t size; in uv__write_req_size() local 674 size = uv__count_bufs(req->bufs + req->write_index, in uv__write_req_size() 676 assert(req->handle->write_queue_size >= size); in uv__write_req_size() 678 return size; in uv__write_req_size() 952 queued_fds->size = queue_size; in uv__stream_queue_fd() 957 } else if (queued_fds->size == queued_fds->offset) { in uv__stream_queue_fd() 958 queue_size = queued_fds->size + 8; in uv__stream_queue_fd() 969 queued_fds->size = queue_size; in uv__stream_queue_fd()
|
/third_party/libbpf/src/ |
H A D | relo_core.c | 35 int size; in btf__resolve_size() local 38 t = btf_resolve_size(btf, t, &size); in btf__resolve_size() 41 return size; in btf__resolve_size() 77 /* not a flexible array, if not inside a struct or has non-zero size */ in is_flex_arr() 404 * - for INT, size and signedness are ignored; 709 /* remember field size for load/store mem size */ in bpf_core_calc_field_relo() 737 byte_sz = mt->size; in bpf_core_calc_field_relo() 739 /* figure out smallest int size necessary for bitfield load */ in bpf_core_calc_field_relo() 905 /* Validate if it's safe to adjust load/store memory size in bpf_core_calc_relo() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_shader.c | 143 align(info->size, v->compiler->const_upload_unit * 16); in ir3_shader_assemble() 144 info->size = info->constant_data_offset + v->constant_data_size; in ir3_shader_assemble() 147 /* Pad out the size so that when turnip uploads the shaders in in ir3_shader_assemble() 150 info->size = align(info->size, compiler->instr_align * sizeof(uint64_t)); in ir3_shader_assemble() 241 _mesa_sha1_compute(v->bin, v->info.size, sha1); in assemble_variant() 630 * shared consts size (on a6xx). in ir3_trim_constlen() 773 unsigned size = r->end - r->start; in dump_const_state() local 774 assert((size % 16) == 0); in dump_const_state() 776 fprintf(out, "; size in dump_const_state() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_valuefactory.cpp | 833 int size = str_to_int(size_str); 839 << "' size:'" << size_str << "' -> '" << size 849 auto array = new LocalArray( sel, ncomp, size, frac); 873 result.begin(), [](auto lr) {return lr.size(); }); 908 for(size_t j = 0; j < comp.size(); ++j) 944 sh_info->num_arrays = arrays.size(); 945 sh_info->arrays = new r600_shader_array[arrays.size()]; 949 sh_info->arrays->gpr_count = arr->size();
|
/third_party/ninja/src/ |
H A D | ninja.cc | 320 if (!path.empty() && path[path.size() - 1] == '^') {
in CollectTarget() 321 path.resize(path.size() - 1);
in CollectTarget() 419 for (int in = 0; in < (int)edge->inputs_.size(); in++) {
in ToolQuery() 827 for (size_t n = 0; n < result.size(); ++n)
in ToolInputs() 974 cwd.resize(cwd.size() + 1024);
in ToolCompilationDatabase() 976 success = getcwd(&cwd[0], cwd.size());
in ToolCompilationDatabase() 1340 int count = (int)state_.paths_.size();
in DumpMetrics() 1370 for (size_t i = 0; i < targets.size(); ++i) {
in RunBuild()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | externalobjects.c | 65 GLuint64 size, in import_memoryobj_fd() 90 GLuint64 size, in import_memoryobj_win32() 1045 GLuint64 size, in _mesa_ImportMemoryFdEXT() 1067 import_memoryobj_fd(ctx, memObj, size, fd); in _mesa_ImportMemoryFdEXT() 1073 GLuint64 size, in _mesa_ImportMemoryWin32HandleEXT() 1098 import_memoryobj_win32(ctx, memObj, size, handle, NULL); in _mesa_ImportMemoryWin32HandleEXT() 1104 GLuint64 size, in _mesa_ImportMemoryWin32NameEXT() 1129 import_memoryobj_win32(ctx, memObj, size, NULL, name); in _mesa_ImportMemoryWin32NameEXT() 63 import_memoryobj_fd(struct gl_context *ctx, struct gl_memory_object *obj, GLuint64 size, int fd) import_memoryobj_fd() argument 88 import_memoryobj_win32(struct gl_context *ctx, struct gl_memory_object *obj, GLuint64 size, void *handle, const void *name) import_memoryobj_win32() argument 1044 _mesa_ImportMemoryFdEXT(GLuint memory, GLuint64 size, GLenum handleType, GLint fd) _mesa_ImportMemoryFdEXT() argument 1072 _mesa_ImportMemoryWin32HandleEXT(GLuint memory, GLuint64 size, GLenum handleType, void *handle) _mesa_ImportMemoryWin32HandleEXT() argument 1103 _mesa_ImportMemoryWin32NameEXT(GLuint memory, GLuint64 size, GLenum handleType, const void *name) _mesa_ImportMemoryWin32NameEXT() argument
|
/third_party/littlefs/scripts/ |
H A D | perf.py | 243 '\s+(?P<size>[0-9a-fA-F]+)' 281 size = int(m.group('size'), 16) 283 if not size: 288 syms[name].add((addr, size)) 289 sym_at.append((addr, name, size)) 301 for addr, name, size in sym_at: 303 sym_at_.append((addr, name, size)) 499 for sym_addr, size in syms[sym]: 508 syms_[dso][sym] = sym_addr_, size [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | factory.h | 151 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles(int size); 457 int size, AllocationAlignment alignment, AllocationType allocation, 685 // must have the same size as objects allocated using the 691 Handle<JSGlobalProxy> NewUninitializedJSGlobalProxy(int size); 913 CodeBuilder& set_inlined_bytecode_size(uint32_t size) { in set_inlined_bytecode_size() argument 914 DCHECK_IMPLIES(size != 0, CodeKindIsOptimizedJSFunction(kind_)); in set_inlined_bytecode_size() 915 inlined_bytecode_size_ = size; in set_inlined_bytecode_size() 1015 HeapObject AllocateRaw(int size, AllocationType allocation, 1058 Context NewContextInternal(Handle<Map> map, int size,
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_context.c | 219 assert((offset + shader->binary.size) < 4096); in panfrost_get_blend() 220 memcpy((*bo)->ptr.cpu + offset, shader->binary.data, shader->binary.size); in panfrost_get_blend() 221 *shader_offset += shader->binary.size; in panfrost_get_blend() 882 unsigned size = sizeof(uint64_t) * dev->core_id_range; in panfrost_begin_query() local 887 PIPE_BIND_QUERY_BUFFER, 0, size); in panfrost_begin_query() 891 uint8_t *zeroes = alloca(size); in panfrost_begin_query() 892 memset(zeroes, 0, size); in panfrost_begin_query() 893 pipe_buffer_write(pipe, query->rsrc, 0, size, zeroes); in panfrost_begin_query()
|
/third_party/node/deps/openssl/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 194 sub size { 310 sub size {} 399 $opcode->size($self->size()); 405 sub size { 838 } elsif (!$elf && $dir =~ /\.size/) { 927 /\.size/ && do { if (defined($current_function)) { 1243 my $sz=$opcode->size(); 1246 $insn = $opcode->out($#args>=1?$args[$#args]->size():$sz); 1382 # .size functio 193 sub size { global() subroutine 309 sub size {} global() subroutine 404 sub size { global() subroutine [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | stream.c | 704 size_t size; in uv__write_req_size() local 707 size = uv__count_bufs(req->bufs + req->write_index, in uv__write_req_size() 709 assert(req->handle->write_queue_size >= size); in uv__write_req_size() 711 return size; in uv__write_req_size() 985 queued_fds->size = queue_size; in uv__stream_queue_fd() 990 } else if (queued_fds->size == queued_fds->offset) { in uv__stream_queue_fd() 991 queue_size = queued_fds->size + 8; in uv__stream_queue_fd() 1002 queued_fds->size = queue_size; in uv__stream_queue_fd()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | comp.rs | 254 <td>unit.size</td><td>{}</td> in dot_attributes() 260 layout.size, layout.align in dot_attributes() 589 let size = align_to(unit_size_in_bits, 8) / 8; in bitfields_to_allocation_units() 590 let layout = Layout::new(size, align); in bitfields_to_allocation_units() 612 let bitfield_size = bitfield_layout.size; in bitfields_to_allocation_units() 636 // the current unit size and alignment. in bitfields_to_allocation_units() 666 // bitfields over their types size cause weird allocation size behavior from clang. in bitfields_to_allocation_units() 673 // Compute what the physical unit's final size would be given what we in bitfields_to_allocation_units() 969 // would contribute to our size give in requires_storage() [all...] |
/third_party/python/Lib/ |
H A D | difflib.py | 37 Match = _namedtuple('Match', 'a b size') 326 Match(a=0, b=4, size=5) 342 Match(a=1, b=0, size=4) 348 Match(a=0, b=0, size=0) 437 [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)] 525 for ai, bj, size in self.get_matching_blocks(): 528 # a[ai:ai+size] == b[bj:bj+size] [all...] |
/third_party/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 189 sub size { 305 sub size {} 394 $opcode->size($self->size()); 400 sub size { 833 } elsif (!$elf && $dir =~ /\.size/) { 922 /\.size/ && do { if (defined($current_function)) { 1238 my $sz=$opcode->size(); 1241 $insn = $opcode->out($#args>=1?$args[$#args]->size():$sz); 1377 # .size functio 188 sub size { global() subroutine 304 sub size {} global() subroutine 399 sub size { global() subroutine [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawImageObjectUtil.cpp | 62 const vk::VkDeviceSize size = depthPitch * depth; in pack() local 75 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack() 114 const vk::VkDeviceSize size = depthPitch * depth; in unpack() local 127 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack() 178 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface() 204 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readDepth() 222 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readVolume() 245 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface1D()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateComputeTests.cpp | 877 std::vector<deUint32> srcValues(m_params.states.size()); in iterateTransfer() 878 const decltype(srcValues) dstValues(srcValues.size(), 0u); in iterateTransfer() 898 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateTransfer() 929 decltype(srcValues) results (srcValues.size()); in iterateTransfer() 932 for (size_t valueIdx = 0; valueIdx < srcValues.size(); ++valueIdx) in iterateTransfer() 1012 std::vector<deUint32> bufferData (m_params.states.size(), 0u); in iterateCompute() 1042 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateCompute() 1084 for (size_t idx = 0u; idx < bufferData.size(); ++idx) in iterateCompute()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryMiscTests.cpp | 174 deUint32 getRndIndex (de::Random& rng, deUint32 size) in getRndIndex() argument 176 DE_ASSERT(size > 0u); in getRndIndex() 177 DE_ASSERT(size <= static_cast<deUint32>(std::numeric_limits<int>::max())); in getRndIndex() 180 const int iMax = static_cast<int>(size) - 1; in getRndIndex() 849 const deUint32 count = deUint32(vertices.size()); in makeAttribBuff() 850 DE_ASSERT( count && (count == coords.size()) && (count == centers.size()) ); in makeAttribBuff() 989 vk.cmdDraw(*cmdBuffer, uint32_t(vertices.size()), 1u, 0u, 0u); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustnessVertexAccessTests.cpp | 443 getNumUsedChannels(mapVkFormat(inputFormat).order) * (deUint32)s_indexConfigs[indexConfig].size() * 2, // numVertexValues in DrawIndexedAccessTest() 445 (deUint32)s_indexConfigs[indexConfig].size(), // numVertices in DrawIndexedAccessTest() 585 m_vertexRateBufferSize, // VkDeviceSize size; in VertexAccessInstance() 594 m_vertexRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance() 613 m_instanceRateBufferSize, // VkDeviceSize size; in VertexAccessInstance() 622 m_instanceRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance() 639 m_vertexNumBufferSize, // VkDeviceSize size; in VertexAccessInstance() 655 m_indexBufferSize = sizeof(deUint32) * indices.size(); in VertexAccessInstance() 662 m_indexBufferSize, // VkDeviceSize size; in VertexAccessInstance() 688 m_outBufferSize, // VkDeviceSize size; in VertexAccessInstance() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsSizeControlTests.cpp | 116 default: TCU_THROW(NotSupportedError, "Unsupported Subgroup size"); in getRequiredSubgroupSizeFromMode() 148 log << TestLog::Message << "gl_SubgroupSize (" << data[i] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkVertexPipelineStages() 189 log << TestLog::Message << "gl_SubgroupSize (" << data[ndx] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkFragmentPipelineStages() 232 << "gl_SubgroupSize (" << data[i] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkCompute() 434 result.reserve(result.size() + 1); in getPerStageHeadDeclarations() 436 for (size_t i = 0; i < result.size(); ++i) in getPerStageHeadDeclarations() 496 << " result[offset].x = gl_SubgroupSize;\n" // save the subgroup size value in initProgramsRequireFull() 545 TCU_THROW(NotSupportedError, "Device does not support varying subgroup sizes nor required subgroup size"); in supportedCheckFeatures() 556 TCU_THROW(NotSupportedError, "Device does not support setting required subgroup size for the stages selected"); in supportedCheckFeatures() 807 // For full subgroups and allow varying subgroup size, localsiz in testRequireFullSubgroups() 1031 const deUint32& size = requiredSubgroupSize; noSSBOtestRequireSubgroupSize() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 125 void create (Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage); 132 void BufferWrapper::create(Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage) in create() argument 136 const VkBufferCreateInfo bufferCreateInfo = makeBufferCreateInfo(size, usage); in create() 467 m_vertexBuffer.create(m_context, m_alloc, sizeof(float) * vertices.size(), VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in buildVertexBuffer() 469 deMemcpy(m_vertexBuffer.memory->getHostPtr(), vertices.data(), vertices.size() * sizeof(float)); in buildVertexBuffer() 608 (deUint32)attachmentDescriptions.size(), // deUint32 attachmentCount in buildComplexRenderPass() 610 (deUint32)subpassDescriptions.size(), // deUint32 subpassCount in buildComplexRenderPass() 656 (deUint32)imageViews.size(), // deUint32 attachmentCount in buildFramebuffer() 939 imageSizeInBytes // VkDeviceSize size in iterate() 1075 imageSizeInBytes // VkDeviceSize size in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktTestCase.cpp | 112 for (size_t extNdx = 0; extNdx < extensions.size(); extNdx++) in filterExtensions() 121 for (size_t extNdx = 0; extNdx < extensions.size(); extNdx++) in filterExtensions() 200 for (deUint32 deviceNdx = 0u; deviceNdx < devices.size(); ++deviceNdx) in determineDeviceVersions() 351 dmrCI.pipelinePoolSizeCount = deUint32(poolSizes.size()); in createDefaultDevice() 369 appParams[appParams.size() - 1].pNext = deviceInfo.pNext; in createDefaultDevice() 402 for (size_t queueNdx = 0; queueNdx < queueProps.size(); queueNdx++) in findQueueFamilyIndexWithCaps() 530 extensionPtrs.reserve(extensions.size()); in removeCoreExtensions() 1139 if (messages.size() > 0) in collectAndReportDebugMessages()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawImageObjectUtil.cpp | 62 const vk::VkDeviceSize size = depthPitch * depth; in pack() local 75 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack() 114 const vk::VkDeviceSize size = depthPitch * depth; in unpack() local 127 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack() 178 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface() 204 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readDepth() 222 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readVolume() 245 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface1D()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateComputeTests.cpp | 862 std::vector<deUint32> srcValues(m_params.states.size()); in iterateTransfer() 863 const decltype(srcValues) dstValues(srcValues.size(), 0u); in iterateTransfer() 883 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateTransfer() 914 decltype(srcValues) results (srcValues.size()); in iterateTransfer() 917 for (size_t valueIdx = 0; valueIdx < srcValues.size(); ++valueIdx) in iterateTransfer() 997 std::vector<deUint32> bufferData (m_params.states.size(), 0u); in iterateCompute() 1027 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateCompute() 1061 for (size_t idx = 0u; idx < bufferData.size(); ++idx) in iterateCompute()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_ext_autogen.h | 30 void matrixIndexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ 31 void weightPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ 76 void bufferStorage(BufferBinding targetPacked, GLsizeiptr size, const void *data, \ 105 void bufferStorageExternal(BufferBinding targetPacked, GLintptr offset, GLsizeiptr size, \ 107 void namedBufferStorageExternal(GLuint buffer, GLintptr offset, GLsizeiptr size, \ 116 void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked, \ 142 void importMemoryFd(MemoryObjectID memoryPacked, GLuint64 size, HandleType handleTypePacked, \ 357 void importMemoryZirconHandle(MemoryObjectID memoryPacked, GLuint64 size, \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 650 Probs.size() && 658 // disabled optimization) or has the same size as successor list. 666 // We need to make sure probability list is either empty or has the same size 1345 return Sum.getCompl() / (Probs.size() - KnownProbNum); 1363 assert(Probs.size() == Successors.size() && "Async probability list!"); 1365 assert(index < Probs.size() && "Not a current successor!"); 1372 assert(Probs.size() == Successors.size() && "Async probability list!"); 1374 assert(index < Probs.size() [all...] |