/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...] |
/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...] |
/kernel/linux/linux-5.10/arch/arm/net/ |
H A D | bpf_jit_32.c | 344 static void jit_fill_hole(void *area, unsigned int size) in jit_fill_hole() argument 348 for (ptr = area; size >= sizeof(u32); size -= sizeof(u32)) in jit_fill_hole() 360 /* total stack size used in JITed code */ 1025 static bool is_ldst_imm(s16 off, const u8 size) in is_ldst_imm() argument 1029 switch (size) { in is_ldst_imm() 1045 /* *(size *)(dst + off) = src */ 1080 /* dst = *(size*)(src + off) */ 1616 /* LDX: dst = *(size *)(src + off) */ in build_insn() 1627 /* ST: *(size *)(ds in build_insn() [all...] |
/kernel/linux/linux-5.10/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 839 struct rv_jit_context *ctx, const u8 size) in emit_load_r64() 849 switch (size) { in emit_load_r64() 876 struct rv_jit_context *ctx, const u8 size, in emit_store_r64() 884 if (mode == BPF_XADD && size != BPF_W) in emit_store_r64() 890 switch (size) { in emit_store_r64() 838 emit_load_r64(const s8 *dst, const s8 *src, s16 off, struct rv_jit_context *ctx, const u8 size) emit_load_r64() argument 875 emit_store_r64(const s8 *dst, const s8 *src, s16 off, struct rv_jit_context *ctx, const u8 size, const u8 mode) emit_store_r64() argument
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
H A D | vz.c | 2803 * @size: Number of guest VTLB entries (0 < @size <= root VTLB entries). 2809 * Returns: The resulting guest VTLB size. 2811 static unsigned int kvm_vz_resize_guest_vtlb(unsigned int size) in kvm_vz_resize_guest_vtlb() argument 2818 (size - 1) << MIPS_CONF1_TLBS_SHIFT); in kvm_vz_resize_guest_vtlb() 2824 config4 |= ((size - 1) >> MIPS_CONF1_TLBS_SIZE) << in kvm_vz_resize_guest_vtlb() 2829 config4 |= ((size - 1) >> MIPS_CONF1_TLBS_SIZE) << in kvm_vz_resize_guest_vtlb() 2843 if (size - 1 <= limit) in kvm_vz_resize_guest_vtlb() 2886 /* Halve the root MMU size */ in kvm_vz_hardware_enable() 2912 /* Try switching to maximum guest VTLB size fo in kvm_vz_hardware_enable() [all...] |
/kernel/linux/linux-5.10/arch/arm/crypto/ |
H A D | poly1305-armv4.pl | 175 .size poly1305_init,.-poly1305_init 367 .size poly1305_blocks,.-poly1305_blocks 492 .size poly1305_emit,.-poly1305_emit 723 .size poly1305_init_neon,.-poly1305_init_neon 1204 .size poly1305_blocks_neon,.-poly1305_blocks_neon
|
/kernel/linux/linux-5.10/block/ |
H A D | genhd.c | 49 * Set disk capacity and notify if the size is not currently 52 bool set_capacity_revalidate_and_notify(struct gendisk *disk, sector_t size, in set_capacity_revalidate_and_notify() argument 57 set_capacity(disk, size); in set_capacity_revalidate_and_notify() 61 if (capacity != size && capacity != 0 && size != 0) { in set_capacity_revalidate_and_notify() 364 * True if the gendisk has at least one valid non-zero size partition. 1195 /* show the full disk and all non-0 size partitions of it */ in show_partition() 1386 static DEVICE_ATTR(size, 0444, part_size_show, NULL);
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
H A D | ipmi_si_intf.c | 353 unsigned int size) in start_new_msg() 360 smi_info->handlers->start_transaction(smi_info->si_sm, msg, size); in start_new_msg() 1786 unsigned int size = smi_info->curr_msg->data_size; in dell_poweredge_bt_xaction_handler() local 1787 if (size >= 8 && in dell_poweredge_bt_xaction_handler() 1988 new_smi->si_sm = kmalloc(new_smi->handlers->size(), GFP_KERNEL); in try_smi_init() 1996 /* Now that we know the I/O size, we can set up the I/O. */ in try_smi_init() 352 start_new_msg(struct smi_info *smi_info, unsigned char *msg, unsigned int size) start_new_msg() argument
|
/kernel/linux/linux-5.10/drivers/crypto/ux500/hash/ |
H A D | hash_core.c | 213 * @zero_hash_size: Hash size of the empty message digest. 494 * @size: Size in bytes. 498 static int hash_get_nents(struct scatterlist *sg, int size, bool *aligned) in hash_get_nents() argument 503 while (size > 0 && sg) { in hash_get_nents() 505 size -= sg->length; in hash_get_nents() 509 (!IS_ALIGNED(sg->length, HASH_DMA_ALIGN_SIZE) && size > 0)) in hash_get_nents() 518 if (size != 0) in hash_get_nents() 564 pr_debug("%s: DMA mode, but direct to CPU mode for data size < %d\n", in ux500_hash_init() 1004 "%s: ret=%d, or wrong digest size? %s\n", in hash_hw_final() 1326 pr_debug("%s: data size in ahash_final() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pci.c | 873 u32 size = ring->count * sizeof(struct fm10k_tx_desc); in fm10k_configure_tx_ring() local 884 /* set location and size for descriptor ring */ in fm10k_configure_tx_ring() 887 fm10k_write_reg(hw, FM10K_TDLEN(reg_idx), size); in fm10k_configure_tx_ring() 983 u32 size = ring->count * sizeof(union fm10k_rx_desc); in fm10k_configure_rx_ring() local 998 /* set location and size for descriptor ring */ in fm10k_configure_rx_ring() 1001 fm10k_write_reg(hw, FM10K_RDLEN(reg_idx), size); in fm10k_configure_rx_ring() 1015 /* Configure the Rx buffer size for one buff without split */ in fm10k_configure_rx_ring() 1146 dglort.shared_l = fls(interface->l2_accel->size); in fm10k_configure_dglort() 1966 * OS network device settings (MTU size).
|