/third_party/musl/src/thread/ |
H A D | pthread_attr_setstack.c | 3 int pthread_attr_setstack(pthread_attr_t *a, void *addr, size_t size) in pthread_attr_setstack() argument 5 if (size-PTHREAD_STACK_MIN > SIZE_MAX/4) return EINVAL; in pthread_attr_setstack() 6 a->_a_stackaddr = (size_t)addr + size; in pthread_attr_setstack() 7 a->_a_stacksize = size; in pthread_attr_setstack()
|
/third_party/ffmpeg/libavformat/ |
H A D | matroskadec.c | 135 int size; member 428 // The following forward declarations need their size because 966 * Returns NEEDS_CHECKING unless size == 0. 968 static int ebml_read_uint(AVIOContext *pb, int size, in ebml_read_uint() argument 973 if (size == 0) { in ebml_read_uint() 979 while (n++ < size) in ebml_read_uint() 987 * Returns NEEDS_CHECKING unless size == 0. 989 static int ebml_read_sint(AVIOContext *pb, int size, in ebml_read_sint() argument 994 if (size == 0) { in ebml_read_sint() 1001 while (n++ < size) in ebml_read_sint() 1012 ebml_read_float(AVIOContext *pb, int size, double default_value, double *num) ebml_read_float() argument 1032 ebml_read_ascii(AVIOContext *pb, int size, const char *default_value, char **str) ebml_read_ascii() argument 1592 int len_mask = 0x80, size = 1, n = 1, i; matroska_probe() local 2053 int size = track->codec_priv.size; matroska_parse_flac() local 2194 size_t size = 0; mkv_parse_video_color() local 3193 matroska_parse_laces(MatroskaDemuxContext *matroska, uint8_t **buf, int size, int type, AVIOContext *pb, uint32_t lace_size[256], int *laces) matroska_parse_laces() argument 3289 matroska_parse_rm_audio(MatroskaDemuxContext *matroska, MatroskaTrack *track, AVStream *st, uint8_t *data, int size, uint64_t timecode, int64_t pos) matroska_parse_rm_audio() argument 3367 matroska_parse_wavpack(MatroskaTrack *track, uint8_t **data, int *size) matroska_parse_wavpack() argument 3451 matroska_parse_prores(MatroskaTrack *track, uint8_t **data, int *size) matroska_parse_prores() argument 3695 matroska_parse_block(MatroskaDemuxContext *matroska, AVBufferRef *buf, uint8_t *data, int size, int64_t pos, uint64_t cluster_time, uint64_t block_duration, int is_keyframe, uint8_t *additional, uint64_t additional_id, int additional_size, int64_t cluster_pos, int64_t discard_padding) matroska_parse_block() argument [all...] |
H A D | iff.c | 97 * set it to smallest possible size of 2 to indicate that there's 109 int is_64bit; ///< chunk size is 64-bit 222 uint64_t size = avio_rb64(pb); in parse_dsd_diin() local 226 if (size >= INT64_MAX) in parse_dsd_diin() 234 if (metadata_tag && size > 4) { in parse_dsd_diin() 236 int ret = get_metadata(s, metadata_tag, FFMIN(tag_size, size - 4)); in parse_dsd_diin() 243 avio_skip(pb, size - (avio_tell(pb) - orig_pos) + (size & 1)); in parse_dsd_diin() 259 uint64_t size = avio_rb64(pb); in parse_dsd_prop() local 262 if (size > in parse_dsd_prop() 810 get_anim_duration(uint8_t *buf, int size) get_anim_duration() argument 818 unsigned size = bytestream2_get_be32(&gb); get_anim_duration() local [all...] |
/third_party/backends/backend/ |
H A D | coolscan.c | 283 test_unit_ready.size, 0, 0); in wait_scanner() 334 ret = do_scsi_cmd (s->sfd, reserve_unit.cmd, reserve_unit.size, NULL, 0); in coolscan_grab_scanner() 343 * Convert a size in ilu to the units expected by the scanner 402 memcpy(s->buffer, autofocusLS30.cmd, autofocusLS30.size); in coolscan_autofocus_LS30() 403 memcpy(s->buffer+ autofocusLS30.size, autofocuspos, 9); in coolscan_autofocus_LS30() 411 autofocusLS30.size + 9, NULL, 0); in coolscan_autofocus_LS30() 414 command_c1.size, NULL, 0); in coolscan_autofocus_LS30() 432 memcpy(s->buffer, autofocus.cmd, autofocus.size); in coolscan_autofocus() 444 autofocus.size + AF_Point_length, NULL, 0); in coolscan_autofocus() 461 ret = do_scsi_cmd (s->sfd, sabort.cmd, sabort.size, NUL 1262 int size; coolscan_do_inquiry() local 1465 int size; get_inquiery_part_LS30() local 1487 int size; coolscan_read_var_data_block() local 1558 int size; get_feeder_type_LS30() local 1994 size_t size, max_size = 0; max_string_size() local 2281 RGBIfix(Coolscan_t * scanner, unsigned char* rgbimat, unsigned char* orgbimat, int size, int *lutr, int *lutg, int *lutb, int *luti) RGBIfix() argument 2349 RGBIfix16(Coolscan_t * scanner, unsigned short* rgbimat, unsigned short* orgbimat, int size, int *lutr, int *lutg, int *lutb, int *luti) RGBIfix16() argument 2402 rgb2g(unsigned char* rgbimat,unsigned char* gomat, int size) rgb2g() argument [all...] |
/third_party/ninja/src/ |
H A D | build_test.cc | 579 if (active_edges_.size() < max_active_edges_)
in CanRunMore() 586 assert(active_edges_.size() < max_active_edges_);
in StartCommand() 610 assert(edge->outputs_.size() == 1);
in StartCommand() 782 ASSERT_EQ(1u, command_runner_.commands_ran_.size());
in TEST_F() 796 ASSERT_EQ(1u, command_runner_.commands_ran_.size());
in TEST_F() 806 ASSERT_EQ(3u, command_runner_.commands_ran_.size());
in TEST_F() 826 ASSERT_EQ(5u, command_runner_.commands_ran_.size());
in TEST_F() 844 ASSERT_EQ(1u, command_runner_.commands_ran_.size());
in TEST_F() 860 ASSERT_EQ(1u, command_runner_.commands_ran_.size());
in TEST_F() 898 ASSERT_EQ(4u, command_runner_.commands_ran_.size());
in TEST_F() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSSBOLayoutCase.cpp | 131 : size(0) in BlockLayoutEntry() 136 int size; member 143 << ", size = " << entry.size in operator <<() 219 for (int ndx = 0; ndx < (int)bufferVars.size(); ndx++) in getVariableIndex() 229 for (int ndx = 0; ndx < (int)blocks.size(); ndx++) in getBlockIndex() 254 m_structs.reserve(m_structs.size()+1); in allocStruct() 288 m_bufferBlocks.reserve(m_bufferBlocks.size()+1); in allocBlock() 298 int size; //!< Redundant, for debugging purposes. member 303 , size (size in BlockDataPtr() 1920 int size; global() member 1930 int size; global() member [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | HashCalc.cpp | 35 bool Alloc(size_t size)
in Alloc() argument 39 _data = ::MidAlloc(size);
in Alloc() 130 void CHashBundle::Update(const void *data, UInt32 size)
in Update() argument 132 CurSize += size;
in Update() 134 Hashers[i].Hasher->Update(data, size);
in Update() 137 void CHashBundle::SetSize(UInt64 size)
in SetSize() argument 139 CurSize = size;
in SetSize() 142 static void AddDigests(Byte *dest, const Byte *src, UInt32 size)
in AddDigests() argument 148 if (size > 8)
in AddDigests() 150 for (unsigned i = size; in AddDigests() 602 UInt32 size; HashCalc() local 658 HashHexToString(char *dest, const Byte *data, UInt32 size) HashHexToString() argument 771 const UInt64 size = ConvertStringToUInt64(end, &end); ParseCksum() local 992 Is_CR_LF_Data(const Byte *buf, size_t size) Is_CR_LF_Data() argument 1389 CheckDigests(const Byte *a, const Byte *b, size_t size) CheckDigests() argument 1409 AddDefaultMethod(UStringVector &methods, unsigned size) AddDefaultMethod() argument 1603 UInt32 size; Extract() local 1872 UInt64 size; UpdateItems() local 1911 UInt32 size; UpdateItems() local [all...] |
/third_party/json/tests/src/ |
H A D | unit-deserialization.cpp | 237 CHECK(l.events.size() == 11); 256 CHECK(l.events.size() == 11); 275 CHECK(l.events.size() == 11); 332 CHECK(l.events.size() == 11); 355 CHECK(l.events.size() == 11); 399 CHECK(l.events.size() == 1); 411 CHECK(l.events.size() == 1); 423 CHECK(l.events.size() == 1); 440 CHECK(l.events.size() == 1); 454 CHECK(l.events.size() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineRenderToImageTests.cpp | 83 MAX_VERIFICATION_REGION_SIZE = 32, //!< Limit the checked area to a small size, especially for huge images 131 return vec.size() * sizeof(vec[0]); in sizeInBytes() 171 inline int maxLayersOrDepth (const IVec4& size) in maxLayersOrDepth() argument 174 return deMax32(size.z(), size.w()); in maxLayersOrDepth() 434 static_cast<deUint32>(attachmentDescriptions.size()), // deUint32 attachmentCount; in makeRenderPass() 436 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in makeRenderPass() 450 const IVec3& size, in makeImage() 462 makeExtent3D(size), // VkExtent3D extent; in makeImage() 608 IVec4 size in getMaxImageSize() local 445 makeImage(const DeviceInterface& vk, const VkDevice device, VkImageCreateFlags flags, VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numMipLevels, const deUint32 numLayers, const VkImageUsageFlags usage) makeImage() argument 649 getReducedImageSize(const CaseDef& caseDef, IVec4 size) getReducedImageSize() argument 680 getSupportedImageMemoryRequirements(Context& context, const CaseDef& caseDef, const VkFormat format, const IVec4 size, const VkImageUsageFlags usage, VkMemoryRequirements& imageMemoryRequiements) getSupportedImageMemoryRequirements() argument 1693 getSizeDescription(const IVec4& size) getSizeDescription() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationSignalOrderTests.cpp | 119 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice() 159 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice() 181 (deUint32)queues.size(), in createTestDevice() 187 (deUint32)extensions.size(), in createTestDevice() 385 (deUint32)resourceDesc.size.x(), in importResource() 386 de::max(1u, (deUint32)resourceDesc.size.y()), in importResource() 387 de::max(1u, (deUint32)resourceDesc.size.z()) in importResource() 440 const VkDeviceSize size = static_cast<VkDeviceSize>(resourceDesc.size.x()); in importResource() local 454 size, in importResource() 592 createBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkDeviceSize& size, deUint32 queueFamilyIndex) createBuffer() argument 702 const VkDeviceSize size = static_cast<VkDeviceSize>(m_resourceDesc.size.x()); iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationSignalOrderTests.cpp | 101 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice() 141 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice() 163 (deUint32)queues.size(), in createTestDevice() 169 (deUint32)extensions.size(), in createTestDevice() 367 (deUint32)resourceDesc.size.x(), in importResource() 368 de::max(1u, (deUint32)resourceDesc.size.y()), in importResource() 369 de::max(1u, (deUint32)resourceDesc.size.z()) in importResource() 422 const VkDeviceSize size = static_cast<VkDeviceSize>(resourceDesc.size.x()); in importResource() local 436 size, in importResource() 574 createBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkDeviceSize& size, deUint32 queueFamilyIndex) createBuffer() argument 680 const VkDeviceSize size = static_cast<VkDeviceSize>(m_resourceDesc.size.x()); iterate() local [all...] |
/third_party/backends/testsuite/sanei/ |
H A D | sanei_config_test.c | 33 /* range for memory buffer size constraint */ 185 options[i]->size = 128; in string_option() 198 options[i]->size = 128; in string_option() 241 options[i]->size = sizeof (SANE_Word); in int_option() 284 options[i]->size = sizeof (SANE_Word); in wrong_range_int_option() 327 options[i]->size = sizeof (SANE_Word) * 7; in word_array_option() 373 options[i]->size = 128; in string_list_option() 416 options[i]->size = 128; in wrong_string_list_option() 468 options[i]->size = sizeof (SANE_Word); in umax_pp() 480 options[i]->size in umax_pp() [all...] |
/third_party/FreeBSD/sys/dev/usb/input/ |
H A D | uhid.c | 57 #define UHID_BSIZE 1024 /* bytes, buffer size */ 227 uint8_t type, uint8_t id, uint16_t size) in uhid_fill_set_report() 234 USETW(req->wLength, size); in uhid_fill_set_report() 239 uint8_t type, uint8_t id, uint16_t size) in uhid_fill_get_report() 246 USETW(req->wLength, size); in uhid_fill_get_report() 255 uint32_t size = sc->sc_osize; in uhid_write_callback() local 275 if (size) { in uhid_write_callback() 276 size--; in uhid_write_callback() 285 if (actlen != size) { in uhid_write_callback() 290 UHID_OUTPUT_REPORT, id, size); in uhid_write_callback() 226 uhid_fill_set_report(struct usb_device_request *req, uint8_t iface_no, uint8_t type, uint8_t id, uint16_t size) uhid_fill_set_report() argument 238 uhid_fill_get_report(struct usb_device_request *req, uint8_t iface_no, uint8_t type, uint8_t id, uint16_t size) uhid_fill_get_report() argument 554 uint32_t size; uhid_ioctl() local [all...] |
/third_party/libdrm/nouveau/ |
H A D | nouveau.c | 80 nouveau_object_ioctl(struct nouveau_object *obj, void *data, uint32_t size) in nouveau_object_ioctl() argument 86 uint32_t argc = size; in nouveau_object_ioctl() 89 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nouveau_object_ioctl() 109 uint32_t mthd, void *data, uint32_t size) in nouveau_object_mthd() 116 uint32_t argc = sizeof(*args) + size; in nouveau_object_mthd() 134 memcpy(args->mthd.data, data, size); in nouveau_object_mthd() 136 memcpy(data, args->mthd.data, size); in nouveau_object_mthd() 160 uint32_t size; in nouveau_object_sclass_get() local 166 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nouveau_object_sclass_get() 167 if (!(args = malloc(size))) in nouveau_object_sclass_get() 108 nouveau_object_mthd(struct nouveau_object *obj, uint32_t mthd, void *data, uint32_t size) nouveau_object_mthd() argument 247 nouveau_object_init(struct nouveau_object *parent, uint32_t handle, int32_t oclass, void *data, uint32_t size, struct nouveau_object *obj) nouveau_object_init() argument 378 nouveau_device_new(struct nouveau_object *parent, int32_t oclass, void *data, uint32_t size, struct nouveau_device **pdev) nouveau_device_new() argument 635 nouveau_bo_new(struct nouveau_device *dev, uint32_t flags, uint32_t align, uint64_t size, union nouveau_bo_config *config, struct nouveau_bo **pbo) nouveau_bo_new() argument [all...] |
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_glsl450.c | 52 unsigned size, unsigned row, unsigned col) in build_mat_subdet() 54 assert(row < size && col < size); in build_mat_subdet() 55 if (size == 2) { in build_mat_subdet() 65 for (unsigned j = 0; j < size; j++) { in build_mat_subdet() 67 subcol[j - (j > col)] = nir_swizzle(b, src[j], swiz, size - 1); in build_mat_subdet() 71 return build_det(b, subcol, size - 1); in build_mat_subdet() 76 build_det(nir_builder *b, nir_ssa_def **col, unsigned size) in build_det() argument 78 assert(size <= 4); in build_det() 80 for (unsigned i = 0; i < size; in build_det() 51 build_mat_subdet(struct nir_builder *b, struct nir_ssa_def **src, unsigned size, unsigned row, unsigned col) build_mat_subdet() argument 104 unsigned size = glsl_get_vector_elements(src->type); build_mat_det() local 117 unsigned size = glsl_get_vector_elements(src->type); matrix_inverse() local [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pipeline_cache.c | 50 size_t size; member 123 ralloc_size(cache->nir_cache, sizeof(*snir) + blob.size); in v3dv_pipeline_cache_upload_nir() 125 snir->size = blob.size; in v3dv_pipeline_cache_upload_nir() 126 memcpy(snir->data, blob.data, blob.size); in v3dv_pipeline_cache_upload_nir() 171 blob_reader_init(&blob, snir->data, snir->size); in v3dv_pipeline_cache_search_for_nir() 380 size_t size = sizeof(struct v3dv_pipeline_shared_data); in v3dv_pipeline_shared_data_new() local 387 vk_zalloc2(&cache->device->vk.alloc, NULL, size, 8, in v3dv_pipeline_shared_data_new() 488 disk_cache_put(disk_cache, cache_key, binary.data, binary.size, NULL); in pipeline_cache_upload_shared_data() 517 snir->size in serialized_nir_create_from_blob() 644 pipeline_cache_load(struct v3dv_pipeline_cache *cache, size_t size, const void *data) pipeline_cache_load() argument [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_util.cc | 97 int PasswordCallback(char* buf, int size, int rwflag, void* u) { in PasswordCallback() argument 100 size_t buflen = static_cast<size_t>(size); in PasswordCallback() 101 size_t len = passphrase->size(); in PasswordCallback() 116 int NoPasswordCallback(char* buf, int size, int rwflag, void* u) { in NoPasswordCallback() argument 306 last_error_string.size()).ToLocal(&exception_string)) { in SetFipsCrypto() 358 size(), in SetFipsCrypto() 413 size_t size = str->Utf8Length(env->isolate()); in SetFipsCrypto() local 414 size_t alloc_size = ntc ? size + 1 : size; in SetFipsCrypto() 452 ByteSource ByteSource::Allocated(void* data, size_t size) { in SetFipsCrypto() argument 456 Foreign(const void* data, size_t size) SetFipsCrypto() argument 646 EncodeBignum( Environment* env, const BIGNUM* bn, int size, Local<Value>* error) SetFipsCrypto() argument 652 CHECK_EQ(BN_bn2binpad(bn, buf.data(), size), size); SetFipsCrypto() local 661 SetEncodedValue( Environment* env, Local<Object> target, Local<String> name, const BIGNUM* bn, int size) SetFipsCrypto() argument [all...] |
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_context.c | 54 * A factor applied to the maximum mob memory size to determine 61 * A factor applied to the maximum surface memory size to determine 109 uint32_t size; member 116 uint32_t size; member 124 uint32_t size; member 132 uint32_t size; member 322 assert(nr_bytes <= vswc->command.size); in vmw_swc_reserve() 323 if(nr_bytes > vswc->command.size) in vmw_swc_reserve() 327 vswc->command.used + nr_bytes > vswc->command.size || in vmw_swc_reserve() 328 vswc->surface.used + nr_relocs > vswc->surface.size || in vmw_swc_reserve() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | Api.cs | 330 int size = 0; in CalculateSize() 332 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize() 334 size += methods_.CalculateSize(_repeated_methods_codec); in CalculateSize() 335 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 337 size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); in CalculateSize() 340 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceContext); in CalculateSize() 342 size += mixins_.CalculateSize(_repeated_mixins_codec); in CalculateSize() 344 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize() 347 size += _unknownFields.CalculateSize(); in CalculateSize() 349 return size; in CalculateSize() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsBuiltinVarTests.cpp | 1027 for (size_t i = 0; i < result.size(); ++i) in getPerStageHeadDeclarations() 1704 TCU_THROW(NotSupportedError, "Device does not support varying subgroup sizes nor required subgroup size"); in supportedCheck() 1710 TCU_THROW(NotSupportedError, "Required subgroup size is not supported for shader stage"); in supportedCheck() 1803 log << TestLog::Message << "Testing required subgroup size range [" << subgroupSizeControlProperties.minSubgroupSize << ", " in test() 1807 for (deUint32 size = subgroupSizeControlProperties.minSubgroupSize; size <= subgroupSizeControlProperties.maxSubgroupSize; size *= 2) in test() 1812 result = subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, DE_NULL, 0, DE_NULL, checkComputeSubgroupSize, size); in test() 1814 result = subgroups::makeMeshTest(context, VK_FORMAT_R32_UINT, nullptr, 0, nullptr, checkComputeSubgroupSize, size); in test() 1818 log << TestLog::Message << "subgroupSize " << size << " faile in test() [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross_parsed_ir.cpp | 123 ids.reserve(other.ids.size()); in operator =() 124 for (size_t i = 0; i < other.ids.size(); i++) in operator =() 136 while (ids.size() < bounds) in set_id_bounds() 202 if (name.size() < 3) in is_reserved_identifier() 209 while (index < name.size() && is_numeric(name[index])) in is_reserved_identifier() 212 return index == name.size(); in is_reserved_identifier() 219 if (name.size() < 2) in is_reserved_identifier() 226 while (index < name.size() && is_numeric(name[index])) in is_reserved_identifier() 229 return index == name.size() || (index < name.size() in is_reserved_identifier() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | types.cpp | 37 const auto size = a.size(); in CompareTwoVectors() local 38 if (size != b.size()) return false; in CompareTwoVectors() 40 if (size == 0) return true; in CompareTwoVectors() 41 if (size == 1) return a.front() == b.front(); in CompareTwoVectors() 44 a_ptrs.reserve(size); in CompareTwoVectors() 45 a_ptrs.reserve(size); in CompareTwoVectors() 46 for (uint32_t i = 0; i < size; ++i) { in CompareTwoVectors() 59 for (uint32_t i = 0; i < size; in CompareTwoVectors() 484 const auto size = element_decorations_.size(); IsSameImpl() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | types.cpp | 37 const auto size = a.size(); in CompareTwoVectors() local 38 if (size != b.size()) return false; in CompareTwoVectors() 40 if (size == 0) return true; in CompareTwoVectors() 41 if (size == 1) return a.front() == b.front(); in CompareTwoVectors() 44 a_ptrs.reserve(size); in CompareTwoVectors() 45 a_ptrs.reserve(size); in CompareTwoVectors() 46 for (uint32_t i = 0; i < size; ++i) { in CompareTwoVectors() 59 for (uint32_t i = 0; i < size; in CompareTwoVectors() 484 const auto size = element_decorations_.size(); IsSameImpl() local [all...] |
/third_party/skia/tests/ |
H A D | StreamTest.cpp | 315 if (!data || data->size() == 0) { in DEF_TEST() 319 if (!wStream.isValid() || !wStream.write(data->data(), data->size())) { in DEF_TEST() 347 if (asset->getLength() != expected->size()) { in stream_peek_test() 357 size_t size = rand.nextRangeU(1, maxSize); in stream_peek_test() local 358 SkASSERT(size >= 1); in stream_peek_test() 359 SkASSERT(size <= sizeof(buffer)); in stream_peek_test() 360 SkASSERT(size + i <= asset->getLength()); in stream_peek_test() 361 if (asset->peek(buffer, size) < size) { in stream_peek_test() 365 if (0 != memcmp(buffer, &expect[i], size)) { in stream_peek_test() 387 size_t size = rand.nextRangeU(1, sizeof(buffer)); DEF_TEST() local 506 const size_t size = stream1.getLength(); DEF_TEST() local [all...] |
/third_party/skia/modules/skottie/src/ |
H A D | SkottieTest.cpp | 262 REPORTER_ASSERT(reporter, colors.size() == 2); in DEF_TEST() 269 REPORTER_ASSERT(reporter, colorsWithFullKeypath.size() == 2); in DEF_TEST() 276 REPORTER_ASSERT(reporter, opacities.size() == 3); in DEF_TEST() 283 REPORTER_ASSERT(reporter, transforms.size() == 3); in DEF_TEST() 313 REPORTER_ASSERT(reporter, texts.size() == 1); in DEF_TEST() 396 REPORTER_ASSERT(reporter, observer->fMarkers.size() == 2ul); in DEF_TEST() 488 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST() 558 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST() 604 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST() 613 const size_t expectedSize = text.size(); in DEF_TEST() [all...] |