/third_party/cups-filters/filter/foomatic-rip/ |
H A D | util.c | 169 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() argument 179 if (size) { in strlcpy() 180 while (--size && (*pdest++ = *psrc++) != '\0'); in strlcpy() 183 if (!size) in strlcpy() 190 size_t strlcat(char *dest, const char *src, size_t size) in strlcat() argument 194 size_t i = size; in strlcat() 268 void escapechars(char *dest, size_t size, const char *src, const char *esc_chars) in escapechars() argument 272 while (*psrc && --size > 0) { in escapechars() 295 size_t fwrite_or_die(const void* ptr, size_t size, size_t count, FILE* stream) { in fwrite_or_die() argument 296 size_t res = fwrite(ptr, size, coun in fwrite_or_die() 303 fread_or_die(void* ptr, size_t size, size_t count, FILE* stream) fread_or_die() argument 506 unhexify(char *dest, size_t size, const char *src) unhexify() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 241 while (list.size() <= val) { in getTargetStrings() 251 String[] result = (String[]) list.toArray(new String[list.size()]); in getTargetStrings() 586 assertEquals("locales are unique in list", locales.length, localeSet.size()); in testAvailableULocales() 693 if (list.size() == 0) { in TestGetSamples() 699 && decimalSamples != null && decimalSamples.samples.size() != 0); in TestGetSamples() 1021 int diff = arg0.size() - arg1.size(); 1169 private <T extends Serializable> T serializeAndDeserialize(T original, Output<Integer> size) { in serializeAndDeserialize() argument 1176 size.value = bytes.length; in serializeAndDeserialize() 1189 Output<Integer> size in TestSerialization() [all...] |
/third_party/libuv/src/unix/ |
H A D | udp.c | 372 ssize_t size; in uv__udp_sendmsg() 402 size = sendmsg(handle->io_watcher.fd, &h, 0); in uv__udp_sendmsg() 403 } while (size == -1 && errno == EINTR); in uv__udp_sendmsg() 405 if (size == -1) { in uv__udp_sendmsg() 410 req->status = (size == -1 ? UV__ERR(errno) : size); in uv__udp_sendmsg() 759 ssize_t size; in uv__udp_try_send() local 782 size = sendmsg(handle->io_watcher.fd, &h, 0); in uv__udp_try_send() 783 } while (size == -1 && errno == EINTR); in uv__udp_try_send() 785 if (size in uv__udp_try_send() 1120 uv__setsockopt(uv_udp_t* handle, int option4, int option6, const void* val, socklen_t size) uv__setsockopt() argument [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_rgp.c | 495 /* RGP expects the LDS size in CU mode. */ in ac_sqtt_fill_asic_info() 610 uint32_t size; member 617 uint32_t size; member 633 chunk->size = chunk_size; in ac_sqtt_fill_code_object() 765 int32_t size; /* in bytes */ member 772 int32_t offset, int32_t size) in ac_sqtt_fill_sqtt_data() 778 chunk->header.size_in_bytes = sizeof(*chunk) + size; in ac_sqtt_fill_sqtt_data() 781 chunk->size = size; in ac_sqtt_fill_sqtt_data() 1064 code_object_record.size in ac_sqtt_dump_data() 771 ac_sqtt_fill_sqtt_data(struct sqtt_file_chunk_sqtt_data *chunk, int32_t chunk_index, int32_t offset, int32_t size) ac_sqtt_fill_sqtt_data() argument 1170 uint64_t size = info->cur_offset * 32; /* unit of 32 bytes */ ac_sqtt_dump_data() local [all...] |
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
H A D | vid_enc.c | 68 OMX_IN OMX_U32 idx, OMX_IN OMX_PTR private, OMX_IN OMX_U32 size); 70 OMX_PTR private, OMX_U32 size, OMX_U8 *mem); 74 OMX_IN OMX_U32 idx, OMX_IN OMX_PTR private, OMX_IN OMX_U32 size); 646 OMX_IN OMX_U32 idx, OMX_IN OMX_PTR private, OMX_IN OMX_U32 size) in vid_enc_AllocateInBuffer() 651 r = base_port_AllocateBuffer(port, buf, idx, private, size); in vid_enc_AllocateInBuffer() 675 OMX_PTR private, OMX_U32 size, OMX_U8 *mem) in vid_enc_UseInBuffer() 680 r = base_port_UseBuffer(port, buf, idx, private, size, mem); in vid_enc_UseInBuffer() 714 OMX_IN OMX_U32 idx, OMX_IN OMX_PTR private, OMX_IN OMX_U32 size) in vid_enc_AllocateOutBuffer() 718 r = base_port_AllocateBuffer(port, buf, idx, private, size); in vid_enc_AllocateOutBuffer() 769 static void enc_ScaleInput(omx_base_PortType *port, struct pipe_video_buffer **vbuf, unsigned *size) in enc_ScaleInput() argument 645 vid_enc_AllocateInBuffer(omx_base_PortType *port, OMX_INOUT OMX_BUFFERHEADERTYPE **buf, OMX_IN OMX_U32 idx, OMX_IN OMX_PTR private, OMX_IN OMX_U32 size) vid_enc_AllocateInBuffer() argument 674 vid_enc_UseInBuffer(omx_base_PortType *port, OMX_BUFFERHEADERTYPE **buf, OMX_U32 idx, OMX_PTR private, OMX_U32 size, OMX_U8 *mem) vid_enc_UseInBuffer() argument 713 vid_enc_AllocateOutBuffer(omx_base_PortType *port, OMX_INOUT OMX_BUFFERHEADERTYPE **buf, OMX_IN OMX_U32 idx, OMX_IN OMX_PTR private, OMX_IN OMX_U32 size) vid_enc_AllocateOutBuffer() argument 789 unsigned size = priv->ports[OMX_BASE_FILTER_OUTPUTPORT_INDEX]->sPortParam.nBufferSize; enc_HandleTask() local [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_constants.c | 94 /** Guest-backed surface constant buffers must be this size */ 241 * from the framebuffer size which are used to copy with differences in 449 * that exceeds our constant buffer size but there's no way to in emit_const_range() 572 /* Use/apply the constant buffer size and offsets here */ in emit_consts_vgpu9() 776 /* According to the DX10 spec, the constant buffer size must be in emit_constbuf() 781 /* Constant buffer size in the upload buffer must be in multiples of 256. in emit_constbuf() 784 * the allocate buffer size needs to be in multiples of 256 as well. in emit_constbuf() 842 /* clamp the buf size before sending the command */ in emit_constbuf() 851 svga->state.hw_draw.constbufoffsets[shader][slot].size != new_buf_size) { in emit_constbuf() 885 svga->state.hw_draw.constbufoffsets[shader][slot].size in emit_constbuf() 984 unsigned size = svga->curr.constbufs[shader][index].buffer_size; emit_constbuf_vgpu10() local [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | icusvtst.cpp | 367 confirmIdentical("4) factory size", service.countFactories(), 2); in testAPI_One() 374 confirmIdentical("5) factory size", service.countFactories(), 3); in testAPI_One() 391 confirmIdentical("9) factory size", service.countFactories(), 4); in testAPI_One() 408 confirmIdentical("11) factory size", service.countFactories(), 3); in testAPI_One() 586 for (int32_t i = 0; i < _ids.size(); ++i) { 688 for (int i = 0; i < ids.size(); ++i) { in testAPI_Two() 699 confirmIdentical("25) visible ids", ids.size(), 4); in testAPI_Two() 707 for (int i = 0; i < names.size(); ++i) { in testAPI_Two() 711 confirmIdentical("26) display names", names.size(), 4); in testAPI_Two() 747 for (int i = 0; i < names.size(); in testAPI_Two() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | setup-heap-internal.cc | 95 #define STRING_TYPE_ELEMENT(type, size, name, CamelName) \ 96 {type, size, RootIndex::k##CamelName##Map}, 202 int size = map->instance_size(); in Allocate() local 204 AllocationResult allocation = AllocateRaw(size, allocation_type); in Allocate() 227 #define ALLOCATE_PARTIAL_MAP(instance_type, size, field_name) \ in CreateInitialMaps() 230 if (!AllocatePartialMap((instance_type), (size)).To(&map)) return false; \ in CreateInitialMaps() 314 if (!AllocatePartialMap(entry.type, entry.size).To(&map)) return false; in CreateInitialMaps() 330 int size = DescriptorArray::SizeFor(0); in CreateInitialMaps() local 331 if (!AllocateRaw(size, AllocationType::kReadOnly).To(&obj)) return false; in CreateInitialMaps() 357 #define ALLOCATE_MAP(instance_type, size, field_nam in CreateInitialMaps() [all...] |
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_job.c | 279 unsigned size = util_dynarray_num_elements(&batch->bos, pan_bo_access); in panfrost_batch_get_bo_access() local 281 if (handle >= size) { in panfrost_batch_get_bo_access() 282 unsigned grow = handle + 1 - size; in panfrost_batch_get_bo_access() 406 panfrost_batch_create_bo(struct panfrost_batch *batch, size_t size, in panfrost_batch_create_bo() argument 412 bo = panfrost_bo_create(pan_device(batch->ctx->base.screen), size, in panfrost_batch_create_bo() 431 unsigned size = panfrost_get_total_stack_size(size_per_thread, in panfrost_batch_get_scratchpad() local 436 assert(batch->scratchpad->size >= size); in panfrost_batch_get_scratchpad() 438 batch->scratchpad = panfrost_batch_create_bo(batch, size, in panfrost_batch_get_scratchpad() 452 unsigned size, in panfrost_batch_get_shared_memory() 451 panfrost_batch_get_shared_memory(struct panfrost_batch *batch, unsigned size, unsigned workgroup_count) panfrost_batch_get_shared_memory() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 366 rtex->fmask.size ? rctx->custom_blend_decompress : rctx->custom_blend_fastclear); in r600_blit_decompress_color() 396 assert(tex->cmask.size); in r600_decompress_color_textures() 420 assert(tex->cmask.size); in r600_decompress_color_images() 460 } else if (rtex->cmask.size) { in r600_decompress_subresource() 497 if (tex->fmask.size == 0) in r600_clear() 638 uint64_t offset, uint64_t size, unsigned value, in r600_clear_buffer() 645 offset % 4 == 0 && size % 4 == 0) { in r600_clear_buffer() 646 evergreen_cp_dma_clear_buffer(rctx, dst, offset, size, value, coher); in r600_clear_buffer() 647 } else if (rctx->screen->b.has_streamout && offset % 4 == 0 && size % 4 == 0) { in r600_clear_buffer() 652 util_blitter_clear_buffer(rctx->blitter, dst, offset, size, in r600_clear_buffer() 637 r600_clear_buffer(struct pipe_context *ctx, struct pipe_resource *dst, uint64_t offset, uint64_t size, unsigned value, enum r600_coherency coher) r600_clear_buffer() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/asm/ |
H A D | x25519-x86_64.pl | 252 .size x25519_fe51_mul,.-x25519_fe51_mul 432 .size x25519_fe51_sqr,.-x25519_fe51_sqr 479 .size x25519_fe51_mul121666,.-x25519_fe51_mul121666 501 .size x25519_fe64_eligible,.-x25519_fe64_eligible 593 .size x25519_fe64_mul,.-x25519_fe64_mul 722 .size x25519_fe64_sqr,.-x25519_fe64_sqr 759 .size x25519_fe64_mul121666,.-x25519_fe64_mul121666 796 .size x25519_fe64_add,.-x25519_fe64_add 833 .size x25519_fe64_sub,.-x25519_fe64_sub 877 .size x25519_fe64_tobyte [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | digest.c | 416 int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) in EVP_DigestFinal() argument 419 ret = EVP_DigestFinal_ex(ctx, md, size); in EVP_DigestFinal() 428 size_t size = 0; in EVP_DigestFinal_ex() local 446 ret = ctx->digest->dfinal(ctx->algctx, md, &size, mdsize); in EVP_DigestFinal_ex() 449 if (size <= UINT_MAX) { in EVP_DigestFinal_ex() 450 *isize = (unsigned int)size; in EVP_DigestFinal_ex() 473 int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md, size_t size) in EVP_DigestFinalXOF() argument 492 params[i++] = OSSL_PARAM_construct_size_t(OSSL_DIGEST_PARAM_XOFLEN, &size); in EVP_DigestFinalXOF() 496 ret = ctx->digest->dfinal(ctx->algctx, md, &size, size); in EVP_DigestFinalXOF() 646 EVP_Digest(const void *data, size_t count, unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl) EVP_Digest() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | udp.c | 412 ssize_t size; in uv__udp_sendmsg() local 450 size = sendmsg(handle->io_watcher.fd, &h, 0); in uv__udp_sendmsg() 451 } while (size == -1 && errno == EINTR); in uv__udp_sendmsg() 453 if (size == -1) { in uv__udp_sendmsg() 458 req->status = (size == -1 ? UV__ERR(errno) : size); in uv__udp_sendmsg() 805 ssize_t size; in uv__udp_try_send() local 828 size = sendmsg(handle->io_watcher.fd, &h, 0); in uv__udp_try_send() 829 } while (size == -1 && errno == EINTR); in uv__udp_try_send() 831 if (size in uv__udp_try_send() 1168 uv__setsockopt(uv_udp_t* handle, int option4, int option6, const void* val, socklen_t size) uv__setsockopt() argument [all...] |
/third_party/libabigail/src/ |
H A D | abg-leaf-reporter.cc | 327 unsigned num_changed_types = d.changed_types().size(); in report() 345 unsigned num_changed_decls = d.changed_decls().size(); in report() 376 if (d.priv_->deleted_types_.size()) in report() 388 if (d.priv_->deleted_decls_.size()) in report() 509 int numdels = d.get_priv()->deleted_member_functions_.size(); in report() 531 int numins = d.get_priv()->inserted_member_functions_.size(); in report() 552 int numchanges = d.get_priv()->sorted_changed_member_functions_.size(); in report() 608 d.class_or_union_diff::get_priv()->inserted_data_members_.size(); in report() 629 size_t numchanges = (d.sorted_changed_data_members().size() in report() 630 + d.sorted_subtype_changed_data_members().size()); in report() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | memblock.c | 235 /* If -1 is passed as length we choose the size for the caller. */ in memblock_new_appended() 297 pa_assert((uint8_t*) ptr < (uint8_t*) p->memory.ptr + p->memory.size); in mempool_slot_idx() 340 /* If -1 is passed as length we choose the size for the caller: we in pa_memblock_new_pool() 341 * take the largest size that fits in one of our slots. */ in pa_memblock_new_pool() 790 pa_mempool *pa_mempool_new(pa_mem_type_t type, size_t size, bool per_client) { in pa_mempool_new() argument 791 pa_log_debug("pa_mempool_new:type %d, size %zu, per_client %d,", type, size, per_client); in pa_mempool_new() 803 if (size <= 0) in pa_mempool_new() 806 p->n_blocks = (unsigned) (size / p->block_size); in pa_mempool_new() 817 pa_log_debug("Using %s memory pool with %u slots of size in pa_mempool_new() 1195 pa_memimport_get(pa_memimport *i, pa_mem_type_t type, uint32_t block_id, uint32_t shm_id, size_t offset, size_t size, bool writable) pa_memimport_get() argument 1419 pa_memexport_put(pa_memexport *e, pa_memblock *b, pa_mem_type_t *type, uint32_t *block_id, uint32_t *shm_id, size_t *offset, size_t * size) pa_memexport_put() argument [all...] |
/third_party/openssl/crypto/evp/ |
H A D | digest.c | 416 int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) in EVP_DigestFinal() argument 419 ret = EVP_DigestFinal_ex(ctx, md, size); in EVP_DigestFinal() 428 size_t size = 0; in EVP_DigestFinal_ex() local 446 ret = ctx->digest->dfinal(ctx->algctx, md, &size, mdsize); in EVP_DigestFinal_ex() 449 if (size <= UINT_MAX) { in EVP_DigestFinal_ex() 450 *isize = (unsigned int)size; in EVP_DigestFinal_ex() 473 int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md, size_t size) in EVP_DigestFinalXOF() argument 492 params[i++] = OSSL_PARAM_construct_size_t(OSSL_DIGEST_PARAM_XOFLEN, &size); in EVP_DigestFinalXOF() 496 ret = ctx->digest->dfinal(ctx->algctx, md, &size, size); in EVP_DigestFinalXOF() 646 EVP_Digest(const void *data, size_t count, unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl) EVP_Digest() argument [all...] |
/third_party/openssl/crypto/ec/asm/ |
H A D | x25519-x86_64.pl | 252 .size x25519_fe51_mul,.-x25519_fe51_mul 432 .size x25519_fe51_sqr,.-x25519_fe51_sqr 479 .size x25519_fe51_mul121666,.-x25519_fe51_mul121666 501 .size x25519_fe64_eligible,.-x25519_fe64_eligible 593 .size x25519_fe64_mul,.-x25519_fe64_mul 722 .size x25519_fe64_sqr,.-x25519_fe64_sqr 759 .size x25519_fe64_mul121666,.-x25519_fe64_mul121666 796 .size x25519_fe64_add,.-x25519_fe64_add 833 .size x25519_fe64_sub,.-x25519_fe64_sub 877 .size x25519_fe64_tobyte [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawInstancedTests.cpp | 157 const vk::VkDeviceSize dataSize = data.size() * sizeof(T); in createAndUploadBuffer() 247 vk::VkDeviceSize size, 398 (deUint32)sizeof(float) * 2, // uint32_t size; in InstancedDrawInstance() 644 (deUint32)m_data.size(), // uint32_t vertexCount; in iterate() 655 (deUint32)m_indexes.size(), // uint32_t indexCount; in iterate() 679 draw(*m_secCmdBuffer, vertexBuffer->object(), instancedVertexBuffer->object(), indexBuffer, indirectBuffer, (m_indexes.size() * sizeof(deUint32)), firstInstance, instanceCount); in iterate() 711 draw(*m_cmdBuffer, vertexBuffer->object(), instancedVertexBuffer->object(), indexBuffer, indirectBuffer, (m_indexes.size() * sizeof(deUint32)), firstInstance, instanceCount); in iterate() 724 draw(*m_cmdBuffer, vertexBuffer->object(), instancedVertexBuffer->object(), indexBuffer, indirectBuffer, (m_indexes.size() * sizeof(deUint32)), firstInstance, instanceCount); in iterate() 774 const rr::PrimitiveList primitives = rr::PrimitiveList(mapVkPrimitiveTopology(m_params.topology), (int)vetrices.size(), 0); in iterate() 783 const rr::PrimitiveList primitives = rr::PrimitiveList(mapVkPrimitiveTopology(m_params.topology), (int)m_indexes.size(), indicie in iterate() 940 cmdBindIndexBufferImpl(vk::VkCommandBuffer commandBuffer, vk::VkBuffer indexBuffer, vk::VkDeviceSize offset, vk::VkDeviceSize size, vk::VkIndexType indexType) cmdBindIndexBufferImpl() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 67 VkDeviceSize size; // In bytes. member 110 while (m_levels.size() < maxLevelsSz) in BufferLevels() 115 level.size = m_pixelSize * nextExtent.width * nextExtent.height * nextExtent.depth; in BufferLevels() 127 // 2D arrays all have the same array size. in BufferLevels() 131 currentOffset += level.size; in BufferLevels() 138 std::for_each(begin(m_levels), end(m_levels), [&total] (const Level& l) { total += l.size; }); in totalSize() 149 return static_cast<deUint32>(m_levels.size()); in numLevels() 391 // Get an idea of the buffer size and parameters to prepare image data. in iterateAspect() 453 req.size += req.alignment; in iterateAspect() 500 vkd.cmdCopyBufferToImage(cmdBuffer, buffer.get(), image.get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), copyRegion in iterateAspect() 733 const auto size = sizeof(VkSubresourceLayout); iterate() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gl_4_autogen.h | 114 void vertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, \ 131 GLsizeiptr size, GLenum format, GLenum type, const void *data); \ 144 void vertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); \ 168 GLsizeiptr size, GLenum format, GLenum type, const void *data); \ 188 GLintptr writeOffset, GLsizeiptr size); \ 216 void getNamedBufferSubData(BufferID bufferPacked, GLintptr offset, GLsizeiptr size, \ 280 void namedBufferData(BufferID bufferPacked, GLsizeiptr size, const void *data, GLenum usage); \ 281 void namedBufferStorage(BufferID bufferPacked, GLsizeiptr size, const void *data, \ 283 void namedBufferSubData(BufferID bufferPacked, GLintptr offset, GLsizeiptr size, \ 305 GLintptr offset, GLsizeiptr size); \ [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | TextureD3D12.cpp | 445 DAWN_INVALID_IF(descriptor->size.depthOrArrayLayers != 1, in ValidateTextureDescriptorCanBeWrapped() 446 "Array layer count (%u) is not 1.", descriptor->size.depthOrArrayLayers); in ValidateTextureDescriptorCanBeWrapped() 458 (dawnDescriptor->size.width != d3dDescriptor.Width) || in ValidateD3D12TextureCanBeWrapped() 459 (dawnDescriptor->size.height != d3dDescriptor.Height) || in ValidateD3D12TextureCanBeWrapped() 460 (dawnDescriptor->size.depthOrArrayLayers != 1), in ValidateD3D12TextureCanBeWrapped() 461 "D3D12 texture size (Width: %u, Height: %u, DepthOrArraySize: 1) doesn't match Dawn " in ValidateD3D12TextureCanBeWrapped() 462 "descriptor size (width: %u, height: %u, depthOrArrayLayers: %u).", in ValidateD3D12TextureCanBeWrapped() 463 d3dDescriptor.Width, d3dDescriptor.Height, dawnDescriptor->size.width, in ValidateD3D12TextureCanBeWrapped() 464 dawnDescriptor->size.height, dawnDescriptor->size in ValidateD3D12TextureCanBeWrapped() 591 const Extent3D& size = GetSize(); InitializeAsInternalTexture() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | TextureVk.cpp | 191 const Extent3D& size = texture.GetSize(); in FillVulkanCreateInfoSizesAndType() local 201 info->extent = {size.width, size.height, 1}; in FillVulkanCreateInfoSizesAndType() 202 info->arrayLayers = size.depthOrArrayLayers; in FillVulkanCreateInfoSizesAndType() 207 info->extent = {size.width, size.height, size.depthOrArrayLayers}; in FillVulkanCreateInfoSizesAndType() 566 DAWN_INVALID_IF(descriptor->size.depthOrArrayLayers != 1, in ValidateVulkanImageCanBeWrapped() 567 "Array layer count (%u) is not 1.", descriptor->size.depthOrArrayLayers); in ValidateVulkanImageCanBeWrapped() 894 // the vector. barriers->size() in TweakTransitionForExternalUsage() [all...] |
/third_party/python/Lib/test/ |
H A D | test_mmap.py | 123 # Check that we can no longer seek beyond the new size. 134 self.assertEqual(m.size(), 512) 194 # Opening mmap with size too big 200 # CAUTION: This also changes the size of the file on disk, and 204 self.fail("Opening mmap with size+1 should work on Windows.") 208 self.fail("Opening mmap with size+1 should raise ValueError.") 338 self.assertEqual(len(mf), 2**16, "Map size should equal file size.") 390 for source, dest, size in itertools.product(offsets, offsets, offsets): 392 m.move(source, dest, size) [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 91 unsigned size() const { return Size; } in size() function in __anon25193::Scatterer 172 // The size of each element. 261 assert(Size == CachePtr->size() && "Inconsistent vector sizes"); in Scatterer() 390 for (unsigned I = 0, E = SV.size(); I != E; ++I) { in gather() 424 for (unsigned I = 0, E = CV.size(); I != E; ++I) { in transferMetadataAndIRFlags() 469 assert(Op.size() == NumElems && "Mismatched unary operation"); in splitUnary() 490 assert(Op0.size() == NumElems && "Mismatched binary operation"); in splitBinary() 491 assert(Op1.size() == NumElems && "Mismatched binary operation"); in splitBinary() 541 assert(Scattered[I].size() == NumElems && "mismatched call operands"); in splitCall() 581 assert(Op1.size() in visitSelectInst() [all...] |
H A D | LoopFuse.cpp | 470 bool empty() const { return size() == 0; } in empty() 471 size_t size() const { return LoopsOnLevel.size() - RemovedLoops.size(); } in size() function 537 LLVM_DEBUG(dbgs() << "Got " << LDT.size() << " loop sets for depth " in fuseLoops() 541 assert(LV.size() > 0 && "Empty loop set was build!"); in fuseLoops() 545 if (LV.size() == 1) in fuseLoops() 550 dbgs() << " Visit loop set (#" << LV.size() << "):\n"; in fuseLoops() 695 if (CandidateSet.size() < 2) in fuseCandidates() 1087 // If the generation of the cmp value is in GuardBlock, then the size o in isEmptyGuardBlock() [all...] |