/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_post_process_util.cpp | 275 PLUGIN_LOG_I("RENDER_VALIDATION: post process temporary images re-created (size:%ux%u)", outputSize_.x, in PreExecute() 291 PLUGIN_LOG_I("RENDER_VALIDATION: post process temporary mip image re-created (size:%ux%u)", outputSize_.x, in PreExecute() 412 PLUGIN_ASSERT(ppIdx == framePostProcessInOut_.size()); in PreExecute() 494 PLUGIN_ASSERT(ppIdx == framePostProcessInOut_.size()); in Execute() 1038 for (uint32_t idx = 0; idx < static_cast<uint32_t>(jsonInputs_.resources.customInputImages.size()); ++idx) { in ParseRenderNodeInputs() 1069 if (jsonInputs_.depthIndex < inputResources_.customInputImages.size()) { in UpdateImageData() 1072 if (jsonInputs_.velocityIndex < inputResources_.customInputImages.size()) { in UpdateImageData() 1075 if (jsonInputs_.historyIndex < inputResources_.customInputImages.size()) { in UpdateImageData() 1078 if (jsonInputs_.historyNextIndex < inputResources_.customInputImages.size()) { in UpdateImageData()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hencoder.cpp | 218 HLOGE("user enable temporal scalability but not set invalid temporal gop size"); in SetTemperalLayer() 225 case 2: // 2: picture size of the temporal group in SetTemperalLayer() 228 case 4: // 4: picture size of the temporal group in SetTemperalLayer() 232 HLOGE("user set invalid temporal gop size %d", temporalGopSize); in SetTemperalLayer() 282 .size = sizeof(param), .enable = enableWaterMark, .dstX = static_cast<uint32_t>(x), in OnConfigureBuffer() 344 uint32_t inSize = AlignTo(info.width, 128u) * AlignTo(info.height, 128u); // 128: block size in CalcInputBufSize() 870 HLOGI("succ, surface id = %" PRIu64 ", queue size %u", in OnCreateInputSurface() 1003 BinaryReader reader(static_cast<uint8_t*>(omxBuffer->alongParam.data()), omxBuffer->alongParam.size()); in ExtractPerFrameParamFromOmxBuffer() 1134 if (i >= pool.size()) { in EraseBufferFromPool() 1210 HLOGD("generation = %" PRIu64 ", seq = %u, pts = %" PRId64 ", now list size in GetOneBufferFromSurface() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_display_render_node_drawable.cpp | 358 RS_OPTIONAL_TRACE_NAME_FMT("HardCursorCreateLayer size:%d", static_cast<int>(hardCursorDrawables.size())); in HardCursorCreateLayer() 394 pendingDrawables.size() == 0 && !isHardCursor) { in CheckDisplayNodeSkip() 704 damageRegionrects.size(), RectVectorToString(damageRegionrects).c_str()); in OnDraw() 1004 // surface in PrepareOffscreenRender() above. The offscreen surface has the same size as in DrawMirror() 1164 // reset dirty rect as mirrored wired screen size when first time connection or matrix changed in CalculateVirtualDirtyForWiredScreen() 1307 uint32_t hwcNodesNum = static_cast<uint32_t>(params.GetHardwareEnabledDrawables().size()); in DrawHardwareEnabledNodes() 1308 uint32_t hwcTopNodesNum = static_cast<uint32_t>(params.GetHardwareEnabledTopDrawables().size()); in DrawHardwareEnabledNodes() 1357 if (params->GetHardwareEnabledDrawables().size() != 0) { in DrawHardwareEnabledNodesMissedInCacheImage() 1371 if (params->GetHardwareEnabledTopDrawables().size() ! in DrawHardwareEnabledTopNodesMissedInCacheImage() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/ |
H A D | rs_interfaces_test.cpp | 243 * 2. check vector size 357 EXPECT_EQ(supportedScreenModes.size(), 0); in HWTEST_F() 406 EXPECT_GT(supportedScreenModes.size(), 0); in HWTEST_F() 420 EXPECT_EQ(supportedScreenModes.size(), 0); in HWTEST_F() 514 EXPECT_GT(supportedScreenModes.size(), 0); in HWTEST_F() 678 EXPECT_GT(screenData.GetSupportModeInfo().size(), 0); in HWTEST_F() 701 EXPECT_EQ(screenData.GetSupportModeInfo().size(), 0); in HWTEST_F() 1289 uint32_t listSize = packageList.size(); in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_device.cpp | 115 DEVICE_OPEN_LIFECYCLE_TAGS.size(), DEFAULT_SETTING_ITEM_LENGTH)), clientUserId_(0), zoomTimerId_(0), in HCameraDevice() 675 if (hdiMetaOut.size() != 0) { in GetStatus() 878 std::make_shared<OHOS::Camera::CameraMetadata>(DEVICE_OPEN_LIFECYCLE_TAGS.size(), DEFAULT_SETTING_ITEM_LENGTH); in ResetDeviceOpenLifeCycleSettings() 1032 CHECK_ERROR_RETURN_RET_LOG(result.size() == 0, CAMERA_INVALID_ARG, "onResult get null meta from HAL"); in OnResult() 1050 CHECK_ERROR_RETURN_RET_LOG(result.size() == 0, CAMERA_INVALID_ARG, "onResult get null meta from HAL"); in OnResult() 1092 if (streamInfo.extendedStreamInfos.size() > 0) { in CreateStreams() 1219 for (size_t i = 0; i < resourceCost.conflictingDevices_.size(); i++) { in GetCameraResourceCost()
|
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | media_key_system_napi.cpp | 257 if (napi_create_array_with_length(env, mediaKeySystemNames.size(), &jsArray) != napi_ok) {
in mapToJsArray() 285 if (keySystemNames.size() == 0 || ret != DRM_OK) {
in GetMediaKeySystems() 577 size_t valueLen = value.size();
in GetConfigurationByteArray() 717 napi_create_array_with_length(env, metrics.size(), &jsArray);
in vectorToJsArray() 718 for (size_t i = 0; i < metrics.size(); i++) {
in vectorToJsArray() 806 for (size_t i = 0; i < vec.size(); i++) {
in vectorToJs2DArray() 814 for (size_t j = 0; j < vec[i].size(); j++) {
in vectorToJs2DArray()
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/ |
H A D | p2p_v1_processor_test.cpp | 135 for (size_t i = 0; i < len && i < value.second.size(); i++) { in InjectData() 158 for (size_t i = 0; i < IPV4_ARRAY_LEN && i < value.second.size(); i++) { in InjectData() 268 EXPECT_CALL(mock, AuthGetDeviceUuid(_, _, _)).WillRepeatedly([this](int64_t authId, char *uuid, uint16_t size) { in InjectCommonMock() 270 (void)strcpy_s(uuid, size, id.c_str()); in InjectCommonMock() 440 for (int32_t i = 0; i < channels.size() && i < len; ++i) { in HWTEST_F() 1388 input.insert(input.end(), raw.c_str(), raw.c_str() + raw.size()); in GenerateCmdConnV1Req() 1399 return std::string((char *)output.data(), output.size()); in GenerateCmdConnV1Req()
|
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/ |
H A D | tag_nci_adapter.cpp | 94 for (uint8_t i = 0; i < nonStdTimeDiff.size(); i++) { in TagNciAdapter() 589 uint32_t len = static_cast<uint32_t>(receivedData_.size()); in HandleMfcTransceiveData() 667 if (receivedData_.size() > 0) { in Transceive() 668 if (connectedProtocol_ == NFA_PROTOCOL_T2T && IsT2TNackRsp(receivedData_.data(), receivedData_.size())) { in Transceive() 675 response = KITS::NfcSdkCommon::BytesVecToHexString(receivedData_.data(), receivedData_.size()); in Transceive() 1818 if (idx >= MAX_NUM_TECHNOLOGY || idx >= multiTagDiscProtocol_.size() || idx >= multiTagDiscId_.size()) { in GetMultiTagTechsFromData()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_impl.cpp | 155 ZLOGI("size=%{public}d", static_cast<int32_t>(entries.size())); in ResolveAutoLaunch() 501 ZLOGD("meta sync finish, total size:%{public}zu, success size:%{public}zu", dbResults.size(), devices.size()); 914 if (password.SetValue(decryptKey.data(), decryptKey.size()) != DistributedDB::CipherPassword::OK) { 916 ZLOGE("Set secret key value failed. len is (%{public}d)", int32_t(decryptKey.size())); 1277 rdbInfo.size_ = fileDebug.size; 1296 fileInfo.size [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_server.c | 1020 // Data element var size in SdpAddAttributeToServiceRecord() 1052 size_t size = PacketSize(packet); in SdpParseClientRequest() local 1061 if (parameterLength != size) { in SdpParseClientRequest() 1062 LOG_ERROR("[%{public}s][%{public}d] Invalid pdu size [%hu] [%zu]", __FUNCTION__, __LINE__, parameterLength, size); in SdpParseClientRequest() 1645 uint16_t size = (uint16_t)ListGetSize(g_serviceRecordList); in SdpParseSearchAttributeRequest() local 1646 uint32_t *handleArray = (uint32_t *)MEM_MALLOC.alloc(SDP_UINT32_LENGTH * size); in SdpParseSearchAttributeRequest() 1652 (void)memset_s(handleArray, SDP_UINT32_LENGTH * size, 0, SDP_UINT32_LENGTH * size); in SdpParseSearchAttributeRequest()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_s_server.cpp | 183 DHCP_LOGI("failed to receive buffer size."); in InitServer() 185 DHCP_LOGI("receive buffer size is %d", optrval); in InitServer() 468 DHCP_LOGD("failed to save lease recoders. total: %zu", srvIns->addressPool.leaseTable.size()); in SaveLease() 1517 if (srvIns->addressPool.fixedOptions.size > 0) { in AppendFixedOptions() 1519 for (size_t i = 0; pNode != nullptr && i < srvIns->addressPool.fixedOptions.size; i++) { in AppendFixedOptions() 1652 DHCP_LOGI("send reply ack, size:%d", reply->length); in SendDhcpAck() 1685 DHCP_LOGI("send reply nak, size:%d", reply->length); in SendDhcpNak() 1725 DHCP_LOGD("option list size:%zu xid:%u", msg->options.size, msg->packet.xid); in ParseMessageOptions() 1735 if (!reply || reply->options.size in ResetMessageOptions() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_session_impl_test2.cpp | 590 ASSERT_NE(listeners.size(), 0); in HWTEST_F() 636 ASSERT_NE(listeners.size(), 0); in HWTEST_F() 674 ASSERT_NE(listeners.size(), 0); in HWTEST_F() 1185 ASSERT_EQ(listeners.size(), 1); in HWTEST_F() 1457 int32_t count = (window_->dialogDeathRecipientListeners_)[window_->GetPersistentId()].size(); in HWTEST_F() 1461 ASSERT_EQ(++count, dialogDeathRecipientListeners.size()); in HWTEST_F() 1788 ASSERT_EQ(subWindows.size(), 1); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dxv.c | 44 int64_t tex_size; // Texture size 45 int64_t ctex_size; // Texture size 51 int64_t op_size[4]; // Opcodes size 1050 int size = 0, old_type = 0; in dxv_decode() local 1053 bytestream2_init(gbc, avpkt->data, avpkt->size); in dxv_decode() 1118 /* Old version does not have a real header, just size and type. */ in dxv_decode() 1119 size = tag & 0x00FFFFFF; in dxv_decode() 1166 size = bytestream2_get_le32(gbc); in dxv_decode() 1172 if (size != bytestream2_get_bytes_left(gbc)) { in dxv_decode() 1175 size, bytestream2_get_bytes_lef in dxv_decode() [all...] |
H A D | wmaprodec.c | 113 #define MAX_FRAMESIZE 32768 ///< maximum compressed frame size 118 #define WMAPRO_BLOCK_MIN_BITS 6 ///< log2 of min block size 119 #define WMAPRO_BLOCK_MAX_BITS 13 ///< log2 of max block size 120 #define WMAPRO_BLOCK_MIN_SIZE (1 << WMAPRO_BLOCK_MIN_BITS) ///< minimum block size 121 #define WMAPRO_BLOCK_MAX_SIZE (1 << WMAPRO_BLOCK_MAX_BITS) ///< maximum block size 187 FFTContext mdct_ctx[WMAPRO_BLOCK_SIZES]; ///< MDCT context per block size 191 /* frame size dependent frame information (set during initialization) */ 195 uint8_t bits_per_sample; ///< integer audio sample size for the unscaled IMDCT output (used to scale to [-1.0, 1.0]) 203 uint8_t max_subframe_len_bit; ///< flag indicating that the subframe is of maximum size when the first subframe length bit is 1 205 int8_t num_sfb[WMAPRO_BLOCK_SIZES]; ///< scale factor bands per block size [all...] |
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | hevcdsp_idct_neon.S | 574 .macro idct_dc size, bitdepth 575 function ff_hevc_idct_\size\()x\size\()_dc_\bitdepth\()_neon, export=1 580 .if \size > 4 583 .if \size > 16 /* dc 32x32 */ 590 .if \size > 8 /* dc 16x16 */ 600 .if \size > 16 /* dc 32x32 */
|
/third_party/alsa-utils/alsactl/ |
H A D | init_parse.c | 1155 size_t size; in apply_format() local 1166 size = strlcpy(temp2, value, sizeof(temp2)); in apply_format() 1167 if (size >= sizeof(temp2)) in apply_format() 1168 size = sizeof(temp2)-1; in apply_format() 1169 while (size > 0 && isspace(temp2[size-1])) in apply_format() 1170 temp2[--size] = '\0'; in apply_format()
|
/third_party/backends/backend/ |
H A D | kodak.c | 259 if ((strncmp (lp, "buffer-size", 11) == 0) && isspace (lp[11])) { in sane_get_devices() 267 DBG (5, "sane_get_devices: config option \"buffer-size\" \ in sane_get_devices() 273 DBG (5, "sane_get_devices: config option \"buffer-size\" \ in sane_get_devices() 277 DBG (15, "sane_get_devices: setting \"buffer-size\" to %d\n", in sane_get_devices() 450 DBG (5, "connect_fd: cannot get requested buffer size (%d/%d)\n", in connect_fd() 725 s->opt[i].size = sizeof (SANE_Word); in init_options() 979 opt->size = maxStringSize (opt->constraint.string_list); in sane_get_option_descriptor() 1006 opt->size = maxStringSize (opt->constraint.string_list); in sane_get_option_descriptor() 1246 * value (determined by member size in the corresponding option 2842 * Convenience method to determine longest string size i 2847 size_t size, max_size = 0; maxStringSize() local [all...] |
/third_party/libuv/src/unix/ |
H A D | fs.c | 662 /* We may not have a real PATH_MAX. Read size of link. */ in uv__fs_readlink() 1507 static size_t uv__fs_buf_offset(uv_buf_t* bufs, size_t size) { in uv__fs_buf_offset() argument 1510 for (offset = 0; size > 0 && bufs[offset].len <= size; ++offset) in uv__fs_buf_offset() 1511 size -= bufs[offset].len; in uv__fs_buf_offset() 1514 if (size > 0) { in uv__fs_buf_offset() 1515 bufs[offset].base += size; in uv__fs_buf_offset() 1516 bufs[offset].len -= size; in uv__fs_buf_offset()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3.h | 51 uint32_t size; member 92 uint16_t size; member 172 /* for relative addressing, 32bits for array size is too small, 174 * use a simple size field (number of scalar components). 176 * Note the size field isn't important for relative const (since 179 unsigned size : 16; member 903 /* A move from const, which changes size but not type, can also be 1140 return reg->size; in reg_elems() 1221 * size and never alias normal registers, even though a naive calculation 1457 * internal result of the op (which is assumed to be the same size a [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_device_generated_commands.c | 68 * so only 1 word overhead) + index buffer size (again, special packet so only 1 word in radv_get_sequence_size() 94 radv_align_cmdbuf_size(uint32_t size) in radv_align_cmdbuf_size() argument 96 return align(MAX2(1, size), 256); in radv_align_cmdbuf_size() 118 uint16_t type; /* enum radv_dgc_token_type, but making the size explicit */ 425 nir_ssa_def *size = nir_channel(&b, stream_data, 2); in build_dgc_prepare_shader() local 441 nir_store_var(&b, num_records, size, 0x1); in build_dgc_prepare_shader() 1011 size_t size = in radv_CreateIndirectCommandsLayoutNV() local 1015 vk_zalloc2(&device->vk.alloc, pAllocator, size, alignof(struct radv_indirect_command_layout), in radv_CreateIndirectCommandsLayoutNV() 1112 pMemoryRequirements->memoryRequirements.size = in radv_GetGeneratedCommandsMemoryRequirementsNV()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_uvd.c | 333 /* calculate size of reference picture buffer */ 338 // always align them to MB size for dpb calculation in calc_dpb_size() 345 // aligned size of a single frame in calc_dpb_size() 979 dec->msg->size = sizeof(*dec->msg); in ruvd_destroy() 1053 if (new_size > buf->res->buf->size) { in ruvd_decode_bitstream() 1098 dec->msg->size = sizeof(*dec->msg); in ruvd_end_frame() 1117 dec->msg->body.decode.dpb_size = dec->dpb.res->buf->size; in ruvd_end_frame() 1123 dec->msg->body.decode.dpb_reserved = dec->ctx.res->buf->size; in ruvd_end_frame() 1151 dec->msg->body.decode.dpb_reserved = dec->ctx.res->buf->size; in ruvd_end_frame() 1179 /* set at least the feedback buffer size */ in ruvd_end_frame() [all...] |
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/crypto/poly1305/ |
H A D | poly1305-armv8.S | 59 .size poly1305_init,.-poly1305_init 124 .size poly1305_blocks,.-poly1305_blocks 156 .size poly1305_emit,.-poly1305_emit 192 .size poly1305_mult,.-poly1305_mult 219 .size poly1305_splat,.-poly1305_splat 803 .size poly1305_blocks_neon,.-poly1305_blocks_neon 856 .size poly1305_emit_neon,.-poly1305_emit_neon
|
/third_party/node/deps/openssl/config/archs/linux-elf/asm_avx2/crypto/bn/ |
H A D | bn-586.S | 289 .size bn_mul_add_words,.-.L_bn_mul_add_words_begin 476 .size bn_mul_words,.-.L_bn_mul_words_begin 622 .size bn_sqr_words,.-.L_bn_sqr_words_begin 638 .size bn_div_words,.-.L_bn_div_words_begin 825 .size bn_add_words,.-.L_bn_add_words_begin 1012 .size bn_sub_words,.-.L_bn_sub_words_begin 1563 .size bn_sub_part_words,.-.L_bn_sub_part_words_begin
|
/third_party/node/deps/openssl/config/archs/linux-elf/asm_avx2/crypto/modes/ |
H A D | ghash-x86.S | 100 .size gcm_gmult_4bit_x86,.-.L_gcm_gmult_4bit_x86_begin 214 .size gcm_ghash_4bit_x86,.-.L_gcm_ghash_4bit_x86_begin 318 .size gcm_gmult_4bit_mmx,.-.L_gcm_gmult_4bit_mmx_begin 927 .size gcm_ghash_4bit_mmx,.-.L_gcm_ghash_4bit_mmx_begin 1001 .size gcm_init_clmul,.-.L_gcm_init_clmul_begin 1059 .size gcm_gmult_clmul,.-.L_gcm_gmult_clmul_begin 1251 .size gcm_ghash_clmul,.-.L_gcm_ghash_clmul_begin
|
/third_party/node/deps/openssl/config/archs/linux-elf/asm/crypto/bn/ |
H A D | bn-586.S | 289 .size bn_mul_add_words,.-.L_bn_mul_add_words_begin 476 .size bn_mul_words,.-.L_bn_mul_words_begin 622 .size bn_sqr_words,.-.L_bn_sqr_words_begin 638 .size bn_div_words,.-.L_bn_div_words_begin 825 .size bn_add_words,.-.L_bn_add_words_begin 1012 .size bn_sub_words,.-.L_bn_sub_words_begin 1563 .size bn_sub_part_words,.-.L_bn_sub_part_words_begin
|