/third_party/vixl/src/ |
H A D | invalset-vixl.h | 118 size_t size() const; 166 // with the size of the vector. 402 cached_min_index_ = IsUsingVector() ? vector_->size() - 1 : size_ - 1; in insert() 447 size_t InvalSet<TEMPLATE_INVALSET_P_DEF>::size() const { in size() function in vixl::InvalSet 601 ElementType* end = start + vector_->size(); 624 VIXL_ASSERT(vector_->size() == size_); 700 VIXL_ASSERT((IsUsingVector() && (index < vector_->size())) || in GetElementAt() 707 VIXL_ASSERT((IsUsingVector() && (index < vector_->size())) || in GetElementAt() 748 size_t n_invalid_elements = vector_->size() - size_; in ShouldReclaimMemory() 750 (n_invalid_elements > vector_->size() / RECLAIM_FACTO in ShouldReclaimMemory() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | QueueWriteTextureValidationTests.cpp | 32 wgpu::Texture Create2DTexture(wgpu::Extent3D size, in Create2DTexture() argument 39 descriptor.size.width = size.width; in Create2DTexture() 40 descriptor.size.height = size.height; in Create2DTexture() 41 descriptor.size.depthOrArrayLayers = size.depthOrArrayLayers; in Create2DTexture() 57 wgpu::Extent3D size, in TestWriteTexture() 69 queue.WriteTexture(&imageCopyTexture, data.data(), dataSize, &textureDataLayout, &size); in TestWriteTexture() 327 // Offset+size to in TEST_F() 50 TestWriteTexture(size_t dataSize, uint32_t dataOffset, uint32_t dataBytesPerRow, uint32_t dataRowsPerImage, wgpu::Texture texture, uint32_t texLevel, wgpu::Origin3D texOrigin, wgpu::Extent3D size, wgpu::TextureAspect aspect = wgpu::TextureAspect::All) TestWriteTexture() argument 576 TestWriteTexture(size_t dataSize, uint32_t dataOffset, uint32_t dataBytesPerRow, uint32_t dataRowsPerImage, wgpu::Texture texture, uint32_t textLevel, wgpu::Origin3D textOrigin, wgpu::Extent3D size) TestWriteTexture() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | graphcycles.cc | 86 uint32_t size() const { return size_; } in size() function in absl::synchronization_internal::__anon19421::Vec 106 for (uint32_t i = 0; i < size(); i++) { in fill() 180 if (occupied_ >= table_.size() - table_.size()/4) Grow(); in insert() 197 while (static_cast<uint32_t>(*cursor) < table_.size()) { in Next() 218 const uint32_t mask = table_.size() - 1; in FindIndex() 247 table_.resize(copy.size() * 2); in Grow() 383 for (uint32_t x = 0; x < r->nodes_.size(); x++) { in CheckInvariants() 416 n->rank = rep_->nodes_.size(); in GetId() 425 // a permutation of [0,rep_->nodes_.size() in GetId() [all...] |
/third_party/python/Modules/ |
H A D | _pickle.c | 139 /* Initial size of the write buffer of Pickler. */ 142 /* Prefetch size when unpickling (disabled on unpeekable streams) */ 646 Py_ssize_t max_output_len; /* Allocation size of output_buffer. */ 704 Py_ssize_t marks_size; /* Current allocated size of the mark stack. */ 772 Free it and allocate one that's the right size. */ in PyMemoTable_Copy() 861 /* Find the smallest valid table size >= min_size. */ in _PyMemoTable_ResizeTable() 928 * If used >= 2/3 size, adjust size. Normally, this quaduples the size. in PyMemoTable_Set() 930 * Quadrupling the size improve in PyMemoTable_Set() 2080 Py_ssize_t size; save_long() local 2355 _save_bytes_data(PicklerObject *self, PyObject *obj, const char *data, Py_ssize_t size) _save_bytes_data() argument 2453 _save_bytearray_data(PicklerObject *self, PyObject *obj, const char *data, Py_ssize_t size) _save_bytearray_data() argument 2580 Py_ssize_t i, size; raw_unicode_escape() local 2654 Py_ssize_t size; write_unicode_binary() local 2717 Py_ssize_t size; save_unicode() local 3966 Py_ssize_t size; save_reduce() local 5274 load_binintx(UnpicklerObject *self, char *s, int size) load_binintx() argument 5352 load_counted_long(UnpicklerObject *self, int size) load_counted_long() argument 5488 Py_ssize_t size; load_counted_binstring() local 5526 Py_ssize_t size; load_counted_binbytes() local 5556 Py_ssize_t size; load_counted_bytearray() local 5658 Py_ssize_t size; load_counted_binunicode() local [all...] |
/third_party/backends/backend/genesys/ |
H A D | genesys.cpp | 307 * @param size size of the table 313 void sanei_genesys_create_gamma_table(std::vector<std::uint16_t>& gamma_table, int size, in sanei_genesys_create_gamma_table() argument 317 gamma_table.resize(size, 0); in sanei_genesys_create_gamma_table() 322 DBG(DBG_proc, "%s: size = %d, ""maximum = %g, gamma_max = %g, gamma = %g\n", __func__, size, in sanei_genesys_create_gamma_table() 324 for (i = 0; i < size; i++) in sanei_genesys_create_gamma_table() 326 value = static_cast<float>(gamma_max * std::pow(static_cast<double>(i) / size, 1.0 / gamma)); in sanei_genesys_create_gamma_table() 338 int size = 0; in sanei_genesys_create_default_gamma_table() local 342 size in sanei_genesys_create_default_gamma_table() 398 genesys_send_offset_and_shading(Genesys_Device* dev, const Genesys_Sensor& sensor, std::uint8_t* data, int size) genesys_send_offset_and_shading() argument 1450 float size = dev.model->x_size_ta; scanner_offset_calibration() local 2235 size_t size; genesys_shading_calibration_impl() local 2581 std::size_t size; genesys_dark_white_shading_calibration() local 4163 size_t size, max_size = 0; max_string_size() local 4361 create_range(float size) create_range() argument 4440 int size = std::snprintf(&ret.front(), ret.size(), "%s", filename); calibration_filename() local 4445 int size = 0; calibration_filename() local [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | mark-compact.cc | 156 size_t size = object_and_size.second; in VerifyMarkingOnPage() local 163 next_object_must_be_here_or_later = current + size; in VerifyMarkingOnPage() 873 for (size_t i = 0; i < pages.size(); i++) { in CollectEvacuationCandidates() 885 static_cast<size_t>(fraction * (pages.size() + 1)); in CollectEvacuationCandidates() 887 pages.size(), pages_to_mark_count)) { in CollectEvacuationCandidates() 893 for (size_t i = 0; i < pages.size(); i++) { in CollectEvacuationCandidates() 906 // - the total size of evacuated objects does not exceed the specified in CollectEvacuationCandidates() 913 for (size_t i = 0; i < pages.size(); i++) { in CollectEvacuationCandidates() 1553 int size) = 0; 1564 int size) fina 1602 RawMigrateObject(EvacuateVisitorBase* base, HeapObject dst, HeapObject src, int size, AllocationSpace dest) RawMigrateObject() argument 1660 TryEvacuateObject(AllocationSpace target_space, HeapObject object, int size, HeapObject* target_object) TryEvacuateObject() argument 1698 ExecuteMigrationObservers(AllocationSpace dest, HeapObject src, HeapObject dst, int size) ExecuteMigrationObservers() argument 1705 MigrateObject(HeapObject dst, HeapObject src, int size, AllocationSpace dest) MigrateObject() argument 1783 MigrateObject(HeapObject::cast(target), object, size, space); global() variable 1810 AllocateTargetObject(HeapObject old_object, int size, HeapObject* target_object) AllocateTargetObject() argument 4280 int size = object.SizeFromMap(map); ProcessVisitAll() local 5063 int size = JSArrayBuffer::BodyDescriptor::SizeOf(map, object); VisitJSArrayBuffer() local 5366 size_t size = static_cast<size_t>(free_end - free_start); MakeIterable() local 5378 int size = object.SizeFromMap(map); MakeIterable() local 5384 size_t size = static_cast<size_t>(p->area_end() - free_start); MakeIterable() local 5553 const int size = visitor_.Visit(heap_object); MarkObject() local 5561 const int size = visitor_.Visit(object); EmptyMarkingWorklist() local 5840 int size = object.SizeFromMap(map); TraceFragmentation() local [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_life_cycle_test/ |
H A D | ams_app_life_cycle_module_test.cpp | 305 unsigned long size = tokens.size(); in CheckStateAfterClearAbility() local 306 for (unsigned long i = 0; i < size; i++) { in CheckStateAfterClearAbility() 307 if (i != size - 1) { in CheckStateAfterClearAbility() 322 unsigned long size = tokens.size(); in CheckStateAfterChangeAbility() local 323 for (unsigned long i = 0; i < size; i++) { in CheckStateAfterChangeAbility() 324 if (i != size - 1) { in CheckStateAfterChangeAbility() 477 int size = abilities.size(); in HWTEST_F() local [all...] |
/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessibility_setting_observer_test.cpp | 153 EXPECT_EQ(infos.size(), 0); in HWTEST_F() 170 EXPECT_EQ(int(map.size()), 0); in HWTEST_F() 175 EXPECT_EQ(int(map.size()), 1); in HWTEST_F() 194 EXPECT_EQ(int(map.size()), 0); in HWTEST_F() 215 EXPECT_EQ(int(map.size()), 0); in HWTEST_F() 263 EXPECT_TRUE(int(accountData->GetConnectedA11yAbilities().size()) >= 1); in HWTEST_F() 315 EXPECT_EQ(0, int(accountData->GetInstalledAbilities().size())); in HWTEST_F() 321 EXPECT_EQ(1, int(accountData->GetInstalledAbilities().size())); in HWTEST_F() 325 EXPECT_EQ(1, int(accountData->GetInstalledAbilities().size())); in HWTEST_F() 953 EXPECT_EQ(int(map.size()), in HWTEST_F() 1558 size_t size = accountData->GetConfig()->GetEnabledAccessibilityServices().size(); HWTEST_F() local 1591 size_t size = accountData->GetConfig()->GetEnabledAccessibilityServices().size(); HWTEST_F() local 1625 size_t size = accountData->GetConfig()->GetEnabledAccessibilityServices().size(); HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_border.cpp | 89 } else if (colors_.size() == 1) { in GetColor() 100 } else if (widths_.size() == 1) { in GetWidth() 111 } else if (styles_.size() == 1) { in GetStyle() 123 } else if (dashWidth_.size() == 1) { in GetDashWidth() 135 } else if (dashGap_.size() == 1) { in GetDashGap() 190 if (colors_.size() == 4) { in GetColorFour() 199 if (widths_.size() == 4) { in GetWidthFour() 208 if (styles_.size() == 4) { in GetStyleFour() 223 if (dashWidth_.size() <= 1) { in GetDashWidthFour() 233 if (dashGap_.size() < in GetDashGapFour() [all...] |
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_callback.cpp | 208 const int32_t argCount = static_cast<int32_t>(valueVec.size()); 238 (void)napi_create_array_with_length(intArrayRef->env_, valueVec.size(), &array); 240 for (uint32_t i = 0; i < valueVec.size(); i++) { 307 (void)napi_create_array_with_length(floatArrayRef->env_, valueVec.size(), &array); 309 for (uint32_t i = 0; i < valueVec.size(); i++) { 378 napi_create_array_with_length(mapRef->env_, infoMap.size(), &napiMap); 387 status = napi_create_array_with_length(mapRef->env_, item.second.size(), &jsPssh); 388 for (uint32_t i = 0; i < item.second.size(); i++) { 648 (void)napi_create_array_with_length(trackInfoRef->env_, trackInfo.size(), &array); 650 for (uint32_t i = 0; i < trackInfo.size(); 1174 size_t size = 0; OnBitRateCollectedCb() local 1175 infoBody.GetBuffer(std::string(PlayerKeys::PLAYER_AVAILABLE_BITRATES), &addr, size); OnBitRateCollectedCb() local 1213 size_t size = 0; OnMaxAmplitudeCollectedCb() local 1214 infoBody.GetBuffer(std::string(PlayerKeys::AUDIO_MAX_AMPLITUDE), &addr, size); OnMaxAmplitudeCollectedCb() local 1281 size_t size = 0; OnDrmInfoUpdatedCb() local 1283 infoBody.GetBuffer(std::string(PlayerKeys::PLAYER_DRM_INFO_ADDR), &drmInfoAddr, size); OnDrmInfoUpdatedCb() local [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_manager_lite_test.cpp | 190 ASSERT_EQ(1, windowManager.pImpl_->cameraWindowChangedListeners_.size()); in HWTEST_F() 195 ASSERT_EQ(1, windowManager.pImpl_->cameraWindowChangedListeners_.size()); in HWTEST_F() 226 ASSERT_EQ(2, windowManager.pImpl_->cameraWindowChangedListeners_.size()); in HWTEST_F() 231 ASSERT_EQ(0, windowManager.pImpl_->cameraWindowChangedListeners_.size()); in HWTEST_F() 236 ASSERT_EQ(0, windowManager.pImpl_->cameraWindowChangedListeners_.size()); in HWTEST_F() 322 ASSERT_EQ(1, windowManager.pImpl_->windowModeListeners_.size()); in HWTEST_F() 327 ASSERT_EQ(1, windowManager.pImpl_->windowModeListeners_.size()); in HWTEST_F() 360 ASSERT_EQ(2, windowManager.pImpl_->windowModeListeners_.size()); in HWTEST_F() 365 ASSERT_EQ(0, windowManager.pImpl_->windowModeListeners_.size()); in HWTEST_F() 370 ASSERT_EQ(0, windowManager.pImpl_->windowModeListeners_.size()); in HWTEST_F() [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | iomapper.cpp | 345 // Total size of current uniform, could be block, struct or other types. in TSymbolValidater() 346 int size = TIntermediate::computeTypeUniformLocationSize(pSymbol->getType()); in TSymbolValidater() local 348 TRange locationRange(uniformLocation, uniformLocation + size - 1); in TSymbolValidater() 382 for (size_t memberIdx = 0; memberIdx < blockType->size(); ++memberIdx) { in TSymbolValidater() 410 for (size_t r = 0; r < usedUniformLocation.size(); ++r) { in checkLocationOverlap() 609 for (size_t memberIdx = 0; memberIdx < blockType1->size(); ++memberIdx) { in operator ()() 701 size_t memberCount = typeList1->size(); in typeCheck() 707 while (index2 < typeList2->size() && typeList2->at(index2).type->getBasicType() == EbtVoid) { in typeCheck() 712 if (index2 == typeList2->size()) { in typeCheck() 730 while (index2 < typeList2->size()) in typeCheck() 794 reserveSlot(int set, int slot, int size) reserveSlot() argument 806 getFreeSlot(int set, int base, int size) getFreeSlot() argument 1056 int size = TIntermediate::computeTypeUniformLocationSize(type); resolveUniformLocation() local 1659 int size, stride; doMap() local [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_gpu_info.c | 130 /** Page table entry - fragment size */ 133 /** constant engine ram size*/ 155 /* wavefront size*/ 295 unsigned size, void *value) in amdgpu_query_info() 310 unsigned size, void *value) in amdgpu_query_video_caps_info() 396 static uint64_t fix_vram_size(uint64_t size) in fix_vram_size() argument 398 /* The VRAM size is underreported, so we need to fix it, because in fix_vram_size() 401 return align64(size, 256 * 1024 * 1024); in fix_vram_size() 444 int size = strlen(cu_env_var); in set_custom_cu_en_mask() local 445 char *str = alloca(size in set_custom_cu_en_mask() 294 amdgpu_query_info(amdgpu_device_handle dev, unsigned info_id, unsigned size, void *value) amdgpu_query_info() argument 309 amdgpu_query_video_caps_info(amdgpu_device_handle dev, unsigned cap_type, unsigned size, void *value) amdgpu_query_video_caps_info() argument 1350 size_t size = ftell(f); ac_query_gpu_info() local 1369 ac_compute_driver_uuid(char *uuid, size_t size) ac_compute_driver_uuid() argument 1379 ac_compute_device_uuid(struct radeon_info *info, char *uuid, size_t size) ac_compute_device_uuid() argument [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_device.c | 417 pdevice->memory.memoryHeaps[0].size = pvr_compute_heap_size(); in pvr_physical_device_init() 1147 /* FIXME: Fix the below inconsistency of code size being in bytes whereas in pvr_device_init_compute_fence_program() 1148 * data size being in dwords. in pvr_device_init_compute_fence_program() 1150 /* Code size is in bytes, data size in dwords. */ in pvr_device_init_compute_fence_program() 1240 * size. in pvr_pds_idfwdf_programs_create_and_upload() 1334 usc_program->size, in pvr_device_init_compute_idfwdf_state() 1340 /* TODO: Get the store buffer size from the compiler? */ in pvr_device_init_compute_idfwdf_state() 1341 /* TODO: How was the size derived here? */ in pvr_device_init_compute_idfwdf_state() 1466 /* FIXME: We should be calculating the size whe 1904 pvr_MapMemory(VkDevice _device, VkDeviceMemory _memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void **ppData) pvr_MapMemory() argument 1992 pvr_bind_memory(struct pvr_device *device, struct pvr_device_memory *mem, VkDeviceSize offset, VkDeviceSize size, VkDeviceSize alignment, struct pvr_winsys_vma **const vma_out, pvr_dev_addr_t *const dev_addr_out) pvr_bind_memory() argument 2163 pvr_gpu_upload(struct pvr_device *device, struct pvr_winsys_heap *heap, const void *data, size_t size, uint64_t alignment, struct pvr_bo **const pvr_bo_out) pvr_gpu_upload() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTransformFeedbackTests.cpp | 216 m_structs.reserve(m_structs.size()+1); in createStruct() 426 genShaderSources(spec, vertSource, fragSource, primitiveType == GL_POINTS /* Is point size required? */); in createVertexCaptureProgram() 469 transformFeedbackOutputs.resize(transformFeedbackVaryings.size()); in computeTransformFeedbackOutputs() 470 for (int varNdx = 0; varNdx < (int)transformFeedbackVaryings.size(); varNdx++) in computeTransformFeedbackOutputs() 507 glu::TypeComponentVector fullPath(varPath.size() + iter.getPath().size()); in computeTransformFeedbackOutputs() 510 std::copy(iter.getPath().begin(), iter.getPath().end(), fullPath.begin()+varPath.size()); in computeTransformFeedbackOutputs() 604 // Point size. in genInputData() 722 for (int attrNdx = 0; attrNdx < (int)output.inputs.size(); attrNdx++) in compareTransformFeedbackOutput() 832 glw::GLsizei size [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
H A D | vktRasterizationProvokingVertexTests.cpp | 60 tcu::UVec2 size; member 273 const VkExtent3D extent = makeExtent3D(m_params.size.x(), m_params.size.y(), 1u); in iterate() 318 const VkDeviceSize bufferSize = textureFormat.getPixelSize() * m_params.size.x() * m_params.size.y(); in iterate() 331 const std::vector<VkViewport> viewports (1, makeViewport(tcu::UVec2(m_params.size))); in iterate() 332 const std::vector<VkRect2D> scissors (1, makeRect2D(tcu::UVec2(m_params.size))); in iterate() 400 framebuffer = makeFramebuffer(vk, device, *renderPass, *imageView, m_params.size.x(), m_params.size.y(), 1u); in iterate() 643 const size_t bufferSize = vertices.size() * sizeo in iterate() [all...] |
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
H A D | hdi_model_prepare_test.cpp | 418 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 482 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 546 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 610 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 674 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 738 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 802 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 866 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 930 for (uint32_t i = 0; i < inputValue.size(); ++i) { in HWTEST_F() 994 for (uint32_t i = 0; i < inputValue.size(); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/svg/ |
H A D | parse_test_ng.cpp | 359 EXPECT_GT(static_cast<int32_t>(svg->children_.size()), 0); in ParseRect() 382 EXPECT_EQ(static_cast<int32_t>(svg->children_.size()), CHILD_NUMBER); in parsePolygon() 402 EXPECT_GT(static_cast<int32_t>(svg->children_.size()), 0); in ParsePath() 418 EXPECT_GT(svg->children_.size(), 0); in ParseFeGaussianblur() 436 EXPECT_GT(svg->children_.size(), 0); in ParseEllipse() 469 EXPECT_GT(svg->children_.size(), 0); in HWTEST_F() 518 EXPECT_GT(svg->children_.size(), 0); in HWTEST_F() 565 EXPECT_GT(static_cast<int32_t>(svg->children_.size()), 0); in HWTEST_F() 607 EXPECT_GT(static_cast<int32_t>(svg->children_.size()), 0); in HWTEST_F() 633 EXPECT_EQ(static_cast<int32_t>(svg->children_.size()), CHILD_NUMBE in HWTEST_F() [all...] |
/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_file_access_test_info.cpp | 40 * @tc.size: MEDIUM 54 EXPECT_GT(info.size(), OHOS::FileAccessFwk::ERR_OK); in HWTEST_F() 55 GTEST_LOG_(INFO) << "GetRoots_0000 result:" << info.size() << endl; in HWTEST_F() 56 for (size_t i = 0; i < info.size(); i++) { in HWTEST_F() 63 EXPECT_GE(info.size(), 2); in HWTEST_F() 91 * @tc.size: MEDIUM 105 for (size_t i = 0; i < info.size(); i++) { in HWTEST_F() 126 * @tc.size: MEDIUM 140 for (size_t i = 0; i < info.size(); i++) { in HWTEST_F() 162 * @tc.size [all...] |
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_manager_impl.cpp | 146 if (displayGroupInfo.windowsInfo.size() < MAX_WINDOW_SIZE) { in UpdateDisplayInfo() 199 window.pointerChangeAreas.size() != WindowInfo::POINTER_CHANGEAREA_COUNT) || in IsValiadWindowAreas() 200 (!window.transform.empty() && window.transform.size() != WindowInfo::WINDOW_TRANSFORM_SIZE)) { in IsValiadWindowAreas() 201 MMI_HILOGE("Hot areas check failed! defaultHotAreas:size:%{public}zu," in IsValiadWindowAreas() 202 "pointerHotAreas:size:%{public}zu, pointerChangeAreas:size:%{public}zu," in IsValiadWindowAreas() 203 "transform:size:%{public}zu", window.defaultHotAreas.size(), in IsValiadWindowAreas() 204 window.pointerHotAreas.size(), window.pointerChangeAreas.size(), in IsValiadWindowAreas() 1190 SetPointerSize(int32_t size) SetPointerSize() argument 1206 GetPointerSize(int32_t &size) GetPointerSize() argument [all...] |
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_usage_database.cpp | 145 for (uint32_t i = 0; i < databaseFiles_.size(); i++) { in InitDatabaseTableInfo() 149 for (uint32_t i = 0; i < sortedTableArray_.size(); i++) { in InitDatabaseTableInfo() 154 int32_t tableNumber = static_cast<int32_t>(sortedTableArray_.at(i).size()); in InitDatabaseTableInfo() 172 int32_t high = static_cast<int32_t>(sortedTableArray.size() - 1); in NearIndexOnOrAfterCurrentTime() 189 } else if (currentTime > tableTime && low < static_cast<int32_t>(sortedTableArray.size())) { in NearIndexOnOrAfterCurrentTime() 201 return sortedTableArray.size() - 1; in NearIndexOnOrBeforeCurrentTime() 245 if (databaseType >= 0 && databaseType < sortedTableArray_.size()) { in HandleTableInfo() 259 size_t lastTableIndex = sortedTableArray_.at(databaseType).size(); in HandleTableInfo() 308 int32_t existingNumber = static_cast<int32_t>(sortedTableArray_.at(databaseType).size()); in DeleteExcessiveTableData() 356 if (databaseType >= sortedTableArray_.size()) { in GetOverdueTableCreateTime() 1228 int32_t size = static_cast<int32_t>(sortedTableArray_.at(i).size()); GetOptimalIntervalType() local [all...] |
/third_party/json/tests/src/ |
H A D | unit-element_access2.cpp | 466 CHECK(j_null.size() == 1); 468 CHECK(j_null.size() == 1); 477 CHECK(j_null.size() == 1); 479 CHECK(j_null.size() == 1); 1515 std::size_t size = 69; variable 1531 CHECK(j.value("baz", size) == 42); 1537 CHECK(j.value("bar", size) == size); 1556 CHECK(j.value(key2, size) == 42); 1562 CHECK(j.value(key_notfound, size) [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_batch_chain.c | 312 uint32_t size, offset; in anv_batch_emit_batch() local 314 size = other->next - other->start; in anv_batch_emit_batch() 315 assert(size % 4 == 0); in anv_batch_emit_batch() 317 if (batch->next + size > batch->end) { in anv_batch_emit_batch() 325 assert(batch->next + size <= batch->end); in anv_batch_emit_batch() 327 VG(VALGRIND_CHECK_MEM_IS_DEFINED(other->start, size)); in anv_batch_emit_batch() 328 memcpy(batch->next, other->start, size); in anv_batch_emit_batch() 338 batch->next += size; in anv_batch_emit_batch() 347 uint32_t size, in anv_batch_bo_create() 358 size, in anv_batch_bo_create() 346 anv_batch_bo_create(struct anv_cmd_buffer *cmd_buffer, uint32_t size, struct anv_batch_bo **bbo_out) anv_batch_bo_create() argument 818 anv_cmd_buffer_alloc_dynamic_state(struct anv_cmd_buffer *cmd_buffer, uint32_t size, uint32_t alignment) anv_cmd_buffer_alloc_dynamic_state() argument [all...] |
/third_party/node/deps/v8/src/asmjs/ |
H A D | asm-parser.cc | 151 zone(), !return_type->IsA(AsmType::Void()) ? 1 : 0, params.size()); in ConvertSignature() 205 size_t old_capacity = var_info.size(); in GetVarInfo() 222 return info->index + static_cast<uint32_t>(global_imports_.size()); in VarIndex() 263 char* buffer = zone()->NewArray<char>(str.size()); in CopyCurrentIdentifierString() 264 str.copy(buffer, str.size()); in CopyCurrentIdentifierString() 265 return base::Vector<const char>(buffer, static_cast<int>(str.size())); in CopyCurrentIdentifierString() 301 DCHECK_GT(block_stack_.size(), 0); in BareEnd() 701 FAIL("Exceeded function table size"); in ValidateFunctionTable() 721 FAIL("Function table size does not match uses"); in ValidateFunctionTable() 763 if (params.size() > kV8MaxWasmFunctionParam in ValidateFunction() 2445 int32_t size = info->type->ElementSizeInBytes(); ValidateHeapAccess() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 106 static_assert(sizeof(CompareData) == (2 * 16), "Wrong structure size, expected 16 bytes"); in CompareData() 140 const UVec2& size, in makeImage() 151 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImage() 206 static_cast<deUint32>(vertexInputBindingDescriptions.size()), // uint32_t vertexBindingDescriptionCount; in preparePipelineWrapper() 208 static_cast<deUint32>(vertexInputAttributeDescriptions.size()), // uint32_t vertexAttributeDescriptionCount; in preparePipelineWrapper() 512 // NDC viewport size is 2.0 in X and Y and NDC pixel width/height depends on the framebuffer resolution. in generateSubpixelTriangles() 521 DE_ASSERT(compareData.size() == sampleLocations.size()); in generateSubpixelTriangles() 523 for (std::size_t globalSampleNdx = 0; globalSampleNdx < sampleLocations.size(); in generateSubpixelTriangles() 137 makeImage(const DeviceInterface& vk, const VkDevice device, const VkFormat format, const UVec2& size, const VkSampleCountFlagBits samples, const VkImageUsageFlags usage) makeImage() argument [all...] |