/third_party/glfw/src/ |
H A D | wl_window.c | 70 * Create a new, unique, anonymous file of the given size, and 73 * the given size at offset zero. 85 * for the file at the given size. If disk space is insufficient, errno 89 static int createAnonymousFile(off_t size) in createAnonymousFile() argument 133 ret = ftruncate(fd, size); in createAnonymousFile() 135 ret = posix_fallocate(fd, 0, size); in createAnonymousFile() 155 "Wayland: Failed to create buffer file of size %d: %s", in createShmBuffer() 412 // Only change the framebuffer size if the scale changed. in _glfwUpdateBufferScaleFromOutputsWayland() 1319 size_t size = 0; in readDataOfferAsString() local 1326 if (requiredSize > size) in readDataOfferAsString() 1634 keyboardHandleKeymap(void* userData, struct wl_keyboard* keyboard, uint32_t format, int fd, uint32_t size) keyboardHandleKeymap() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_acceleration_structure.c | 110 uint64_t size = boxes * 128 + instances * 128 + triangles * 64 + internal_nodes * 128 + in radv_GetAccelerationStructureBuildSizesKHR() local 113 pSizeInfo->accelerationStructureSize = size; in radv_GetAccelerationStructureBuildSizesKHR() 159 accel->size = pCreateInfo->size; in radv_CreateAccelerationStructureKHR() 218 value = header->size; in radv_WriteAccelerationStructuresPropertiesKHR() 643 header->size = header->serialization_size - in fill_accel_struct_header() 1961 VkDeviceSize size, uint32_t data) in radix_sort_fill_buffer() 1965 assert(size != VK_WHOLE_SIZE); in radix_sort_fill_buffer() 1968 size, data); in radix_sort_fill_buffer() 1959 radix_sort_fill_buffer(VkCommandBuffer commandBuffer, radix_sort_vk_buffer_info_t const *buffer_info, VkDeviceSize offset, VkDeviceSize size, uint32_t data) radix_sort_fill_buffer() argument
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pipeline.c | 442 v3dv_print_spirv(stage->module->data, stage->module->size, stderr); in shader_module_compile_to_nir() 796 * case, and we ensure that it is using the correct return size. in lower_sampler() 873 * the output size because for images we can infer that info from the image in lower_image_deref() 1042 * there 32 bit as default return size. in pipeline_populate_v3d_key() 1223 desc->channel[0].size == 32) { in pipeline_populate_v3d_fs_key() 1315 /* Vulkan specifies a point size per vertex, so true for if the prim are in pipeline_populate_v3d_vs_key() 1543 /* Checks that the pipeline has enough spill size to use for any of their 1755 * another for the case we need a 32bit return size. in pipeline_lower_nir() 1785 * where the size of the array determines the number of active clip planes. 2004 desc->channel[0].size in pipeline_populate_graphics_key() 2860 uint32_t size = MAX_VERTEX_ATTRIBS * sizeof(float) * 4; v3dv_pipeline_create_default_attribute_values() local 3118 shared_type_info(const struct glsl_type *type, unsigned *size, unsigned *align) shared_type_info() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shader.c | 112 * to determine the size to allocate for inputs/outputs in si_shader_io_get_unique_index() 114 * after POSITION to make that size as small as possible. in si_shader_io_get_unique_index() 247 /* Compile a variable block size using the maximum variable size. */ in si_get_max_workgroup_size() 850 sym->size = shader->gs_info.esgs_ring_size * 4; in si_shader_binary_open() 857 sym->size = shader->ngg.ngg_emit_size * 4; in si_shader_binary_open() 887 uint64_t size = rtld.exec_size; in si_get_shader_binary_size() local 889 return size; in si_get_shader_binary_size() 943 int size = ac_rtld_upload(&u); in si_shader_binary_upload() local 947 shader->binary.uploaded_code_size = size; in si_shader_binary_upload() [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_program.c | 57 uint32_t *size, in resize_qreg_array() 60 if (*size >= decl_size) in resize_qreg_array() 63 uint32_t old_size = *size; in resize_qreg_array() 64 *size = MAX2(*size * 2, decl_size); in resize_qreg_array() 65 *regs = reralloc(c, *regs, struct qreg, *size); in resize_qreg_array() 71 for (uint32_t i = old_size; i < *size; i++) in resize_qreg_array() 97 /* Clamp to [0, array size). Note that MIN/MAX are signed. */ in indirect_uniform_load() 124 /* Clamp to [0, array size). Note that MIN/MAX are signed. */ in vc4_ubo_load() 364 uint32_t size in ntq_emit_txf() local 55 resize_qreg_array(struct vc4_compile *c, struct qreg **regs, uint32_t *size, uint32_t decl_size) resize_qreg_array() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | get.c | 2383 GLsizei size; in _mesa_GetUnsignedBytevEXT() local 2394 size = get_value_size(d->type, &v); in _mesa_GetUnsignedBytevEXT() 2409 memcpy(data, &d->offset, size); in _mesa_GetUnsignedBytevEXT() 2412 memcpy(data, &v.value_int_n.ints, size); in _mesa_GetUnsignedBytevEXT() 2441 memcpy(data, p, size); in _mesa_GetUnsignedBytevEXT() 3310 GLsizei size; in _mesa_GetUnsignedBytei_vEXT() local 3323 size = get_value_size(type, &v); in _mesa_GetUnsignedBytei_vEXT() 3354 memcpy(data, &v.value_int, size); in _mesa_GetUnsignedBytei_vEXT() 3357 memcpy(data, &v.value_int_n.ints, size); in _mesa_GetUnsignedBytei_vEXT()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | overlay.cpp | 1040 buffer_info.size = upload_size; in ensure_swapchain_fonts() 1051 upload_alloc_info.allocationSize = upload_buffer_req.size; in ensure_swapchain_fonts() 1072 range[0].size = upload_size; in ensure_swapchain_fonts() 1144 buffer_info.size = new_size; in CreateOrResizeBuffer() 1153 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 1256 range[0].size = VK_WHOLE_SIZE; in render_swapchain_display() 1259 range[1].size = VK_WHOLE_SIZE; in render_swapchain_display() 1503 push_constants[0].size = sizeof(float) * 4; in setup_swapchain_data_pipeline() 1644 image_alloc_info.allocationSize = font_image_req.size; in setup_swapchain_data_pipeline()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessBuffersTests.cpp | 681 * @param [in] size Size of the data. 687 void ClearTest::ClearNamedBuffer<false>(glw::GLuint buffer, glw::GLenum internalformat, glw::GLsizei size, in ClearNamedBuffer() argument 690 (void)size; in ClearNamedBuffer() 704 * @param [in] size Size of the data. 710 void ClearTest::ClearNamedBuffer<true>(glw::GLuint buffer, glw::GLenum internalformat, glw::GLsizei size, in ClearNamedBuffer() argument 716 m_pClearNamedBufferSubData(buffer, internalformat, 0, size, format, type, data); in ClearNamedBuffer() 1457 const glw::GLsizei MapReadWriteTest::s_reference_size = sizeof(s_reference); //!< Reference data size. 1622 const glw::GLsizei MapWriteOnlyTest::s_reference_size = sizeof(s_reference); //!< Reference data size. 1815 const glw::GLsizei MapRangeReadBitTest::s_reference_size = sizeof(s_reference); //!< Reference data size. 2076 const glw::GLsizei MapRangeWriteBitTest::s_reference_size = sizeof(s_reference); //!< Reference data size 5674 glw::GLint64 size = -1; CheckTransformFeedbackBufferSize() local [all...] |
/third_party/openssl/test/ |
H A D | evp_extra_test2.c | 244 size_t size; member 453 size_t input_len = ak->size; in test_d2i_AutoPrivateKey_ex() 618 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[id].kder, keydata[id].size))) in test_d2i_PrivateKey_ex() 645 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[testid].kder, keydata[testid].size))) in test_PEM_read_bio_negative() 1075 ret = TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &pdata, keydata[0].size, in test_pkey_todata_null() 1098 ret = TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &pdata, keydata[0].size, in test_pkey_export_null() 1115 int pdata_len = keydata[0].size; in test_pkey_export() 1129 pdata_len = keydata[0].size; in test_pkey_export() 1162 ret = TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &pdata, keydata[0].size, in test_rsa_pss_sign()
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 492 size = posix.writev(fd, []) 498 self.assertEqual(size, 0) 525 size = posix.readv(fd, []) 531 self.assertEqual(size, 0) 1241 size = fp.tell() 1244 for i in range(size): 1246 self.assertLessEqual(size, os.lseek(fno, i, os.SEEK_HOLE)) 1247 self.assertRaises(OSError, os.lseek, fno, size, os.SEEK_DATA) 1248 self.assertRaises(OSError, os.lseek, fno, size, os.SEEK_HOLE)
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | 7459 __attribute__((weak)) __attribute__((visibility("default"))) void* moz_xmalloc(size_t size) 7462 __attribute__((weak)) __attribute__((visibility("default"))) void* moz_xcalloc(size_t nmemb, size_t size) 7465 __attribute__((weak)) __attribute__((visibility("default"))) void* moz_xrealloc(void* ptr, size_t size) 7483 int moz_xposix_memalign(void **ptr, size_t alignment, size_t size); 7486 int moz_posix_memalign(void **ptr, size_t alignment, size_t size); 7491 __attribute__((weak)) __attribute__((visibility("default"))) void* moz_xmemalign(size_t boundary, size_t size) 7497 __attribute__((weak)) __attribute__((visibility("default"))) void* moz_xvalloc(size_t size) 7507 void* operator new(size_t size) throw(std::bad_alloc) 7509 return moz_xmalloc(size); 7513 void* operator new(size_t size, cons [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_manager_service.cpp | 899 if (!linkString.size()) { in SetReserveInfo() 3033 if (argList.size() != ARGC_THREE) { in SetAutoFillElementName() 5366 if (argList.size() == MIN_DUMP_ARGUMENT_NUM) { in DumpSysMissionListInner() 5368 } else if (argList.size() < MIN_DUMP_ARGUMENT_NUM) { in DumpSysMissionListInner() 5390 if (argList.size() == MIN_DUMP_ARGUMENT_NUM) { in DumpSysMissionListInnerBySCB() 5392 } else if (argList.size() < MIN_DUMP_ARGUMENT_NUM) { in DumpSysMissionListInnerBySCB() 5425 if (argList.size() >= MIN_DUMP_ARGUMENT_NUM) { in DumpSysAbilityInner() 5452 if (argList.size() >= MIN_DUMP_ARGUMENT_NUM) { in DumpSysAbilityInnerBySCB() 5494 if (argList.size() == MIN_DUMP_ARGUMENT_NUM) { in DumpSysStateInner() 5496 } else if (argList.size() < MIN_DUMP_ARGUMENT_NU in DumpSysStateInner() 8808 auto size = args.size(); Dump() local [all...] |
/base/customization/enterprise_device_management/services/edm/src/ |
H A D | enterprise_device_mgr_ability.cpp | 442 EDMLOGI("InitAllPolices userIds size %{public}zu", userIds.size()); in InitAllPolices() 609 std::vector<int32_t> userIds(policy.accountIds.size()); in SetFingerprintPolicy() 615 param.value.enableStatus = !policy.globalDisallow && userIds.size() == 0; in SetFingerprintPolicy() 648 EDMLOGD("OnWindowManagerServiceStart userIds size %{public}zu", userIds.size()); in OnWindowManagerServiceStart() 695 if (permissionList.size() > 0) { in GetAllPermissionsByAdmin()
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | resource_manager_test.cpp | 401 ASSERT_EQ(static_cast<size_t>(4), outValue.size()); in HWTEST_F() 421 ASSERT_EQ(static_cast<size_t>(5), outValue.size()); in HWTEST_F() 468 ASSERT_EQ(static_cast<size_t>(4), outValue.size()); in HWTEST_F() 486 ASSERT_EQ(static_cast<size_t>(5), outValue.size()); in HWTEST_F() 1938 ASSERT_EQ(static_cast<size_t>(4), outValue.size()); in HWTEST_F()
|
/base/global/i18n/interfaces/js/kits/src/ |
H A D | i18n_addon.cpp | 325 if (localeTagList.size() == 0) { in ProcessJsParamLocaleList() 376 if (candidateLocales.size() > 0) { in GetBestMatchLocale() 378 for (size_t i = 1; i < candidateLocales.size(); ++i) { in GetBestMatchLocale() 1449 status = napi_create_array_with_length(env, indexList.size(), &result); in GetIndexList() 1454 for (size_t i = 0; i < indexList.size(); i++) { in GetIndexList()
|
/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_system_data_test.cpp | 81 EXPECT_EQ(addedPrinterMap.size(), 1); in HWTEST_F() 114 EXPECT_EQ(addedPrinterMap.size(), 1); in HWTEST_F() 131 EXPECT_EQ(addedPrinterMap.size(), 1); in HWTEST_F() 147 EXPECT_EQ(addedPrinterInfoList.size(), 1); in HWTEST_F() 162 EXPECT_EQ(addedPrinterInfoList.size(), 1); in HWTEST_F()
|
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/ |
H A D | common_event_services_module_test.cpp | 501 if (stateTest.size() >= 1) { in HWTEST_F() 504 GTEST_LOG_(INFO) << " stateTest size = " << stateTest.size(); in HWTEST_F() 527 if (stateTest.size() == 1) { in HWTEST_F() 530 EVENT_LOGE(" CES_TC_ModuleTest_1800 stateTest.size() is null "); in HWTEST_F() 557 if (stateTest.size() >= 1) { in HWTEST_F() 560 GTEST_LOG_(INFO) << " stateTest size = " << stateTest.size(); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_notification.cpp | 63 if (slots.size() == 0) { in AddNotificationSlots() 64 ANS_LOGE("Failed to add notification slots because input slots size is 0."); in AddNotificationSlots() 215 ANS_LOGE("The size of one picture exceeds the limit"); in PublishNotification() 267 ANS_LOGE("The size of one picture exceeds the limit"); in PublishNotificationForIndirectProxy() 430 ANS_LOGE("The size of one picture overtake the limit"); in PublishNotificationAsBundle() 1190 ANS_LOGE("The size of one picture exceeds the limit"); in PublishContinuousTaskNotification() 1458 size_t size = request.GetActionButtons().size(); in CanPublishMediaContent() local 1460 if (*it > size) { in CanPublishMediaContent() 1461 ANS_LOGE("The sequence numbers actions is: %{public}d, the assigned to added action buttons size i in CanPublishMediaContent() [all...] |
/base/security/device_auth/services/data_manager/src/ |
H A D | data_manager.c | 459 LOGE("[DB]: The database file size is invalid!"); in ReadParcelFromFile() 1615 dprintf(fd, "|%-12s = %-67d|\n", "groupNum", groups->size(groups)); in DumpDb() 1616 dprintf(fd, "|%-12s = %-67d|\n", "deviceNum", devices->size(devices)); in DumpDb() 1632 uint32_t size = 0; in LoadAllAccountsData() local 1633 int32_t ret = GetAllOsAccountIds(&accountIds, &size); in LoadAllAccountsData() 1638 for (uint32_t index = 0; index < size; index++) { in LoadAllAccountsData()
|
/base/startup/appspawn/test/moduletest/ |
H A D | appspawn_module_test.cpp | 191 return gids.size(); in GetGids() 199 if ((gCount == newGids.size()) && (gids == newGids)) { in CheckGids() 210 if (gCount == newGids.size()) { in CheckGidsCount() 224 if (newProcessName.compare(0, newProcessName.size(), g_buffer, newProcessName.size()) == 0) { in CheckProcName()
|
/base/telephony/cellular_call/services/manager/src/ |
H A D | cellular_call_handler.cpp | 1269 if (calls.size() > 0 && static_cast<uint32_t>(calls.back().total) != calls.size()) { in ReportEccChanged() 1346 for (uint64_t i = 0; i < callInfoList.calls.size(); i++) { in ProcessRedundantCode() 1361 for (uint64_t i = 0; i < list.calls.size(); i++) { in ProcessCsPhoneNumber() 1378 for (uint64_t i = 0; i < list.calls.size(); i++) { in ProcessImsPhoneNumber()
|
/base/telephony/ril_adapter/test/unittest/ |
H A D | ril_callback_test.cpp | 1330 cout << "[dataCallResultList] -->[size] : " << dataCallResultList.size << endl;
in PdpContextListUpdated() 1397 cout << "[dataCallResultList] -->[size] : " << dataCallResultList.size << endl;
in GetPdpContextListResponse() 1484 cout << "[smsMessageInfo] -->[size] : " << smsMessageInfo.size << endl << endl;
in NewSmsNotify() 1492 cout << "[smsMessageInfo] -->[size] : " << smsMessageInfo.size << endl << endl;
in NewCdmaSmsNotify() 1500 cout << "[smsMessageInfo] -->[size] : " << smsMessageInfo.size << end in SmsStatusReportNotify() [all...] |
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_callback_test.cpp | 1509 TELEPHONY_LOGI("RilCallbackTest::PdpContextListUpdated size:%{public}d", dataCallResultList.size); in PdpContextListUpdated() 1571 TELEPHONY_LOGI("RilCallbackTest::GetPdpContextListResponse size:%{public}d", dataCallResultList.size); in GetPdpContextListResponse() 1671 TELEPHONY_LOGI("RilCallbackTest::NewSmsNotify smsMessageInfo size : %{public}d", smsMessageInfo.size); in NewSmsNotify() 1678 TELEPHONY_LOGI("RilCallbackTest::NewCdmaSmsNotify smsMessageInfo size : %{public}d", smsMessageInfo.size); in NewCdmaSmsNotify() 1685 TELEPHONY_LOGI("RilCallbackTest::SmsStatusReportNotify smsMessageInfo size : %{public}d", smsMessageInfo.size); in SmsStatusReportNotify() [all...] |
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_controller.cpp | 165 if (algStr.size() >= ONE_ENCAP_ITEM_LEN) { in OnPeerReady() 319 for (size_t index = 0; index < cipherLists.size(); index++) { in ParseCipherItem() 867 if (paramInfo_.GetRemoteControlParamInfo().genericList.size() <= 0) { in ProcessUibc() 881 if (paramInfo_.GetRemoteControlParamInfo().hidcList.size() <= 0) { in ProcessUibc() 903 if (paramInfo_.GetRemoteControlParamInfo().vendorList.size() <= 0) { in ProcessUibcVendor()
|
/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_render_record.cpp | 1326 return formRequests_.size();
in FormCount() 1526 HILOG_INFO("compIds size:%{public}zu,current compId:%{public}s,formId:%{public}" PRId64,
in RecoverFormRequestsInGroup() 1527 orderedCompIds.size(), currentCompId.c_str(), formId);
in RecoverFormRequestsInGroup() 1550 currentRequestIndex = groupRequests.size();
in RecoverFormRequestsInGroup() 1563 currentRequestIndex = groupRequests.size() - 1;
in RecoverFormRequestsInGroup() 1572 if (currentRequestIndex >= groupRequests.size()) {
in RecoverRenderer()
|