/foundation/distributedhardware/distributed_input/services/state/src/ |
H A D | dinput_sink_state.cpp | 60 DHLOGI("RecordDhIds dhIds size = %{public}zu", dhIds.size()); in RecordDhIds() 76 DHLOGI("RemoveDhIds dhIds size = %{public}zu", dhIds.size()); in RemoveDhIds() 114 DHLOGI("SimulateTouchPadStateReset events size: %{public}zu", events.size()); in SimulateTouchPadStateReset() 120 DHLOGI("SimulateEventInject enter, sessionId %{public}d, dhIds size %{public}zu", sessionId, dhIds.size()); in SimulateEventInjectToSrc() 168 DHLOGI("SimulateTouchPadEvents dhId: %{public}s, event size: %{public}zu", GetAnonyString(dhId).c_str(), in SimulateTouchPadEvents() 169 events.size()); in SimulateTouchPadEvents() [all...] |
/foundation/distributedhardware/distributed_screen/services/screendemo/ |
H A D | test.cpp | 71 cout << "remote screen Num: " << remoteScreens.size() << endl; in QueryRemoteScreenInfo() 89 if (remoteScreens.size() == 0) { in StartMirror() 126 if (remoteScreens.size() == 0) { in StopMirror() 160 if (remoteScreens.size() == 0) { in StartExpand() 196 if (remoteScreens.size() == 0) { in StopExpand() 297 cout << "create window, please input window size" << endl; in CreateWindow() 307 cout << "Invalid window size." << endl; in CreateWindow()
|
/foundation/filemanagement/dfs_service/utils/cloud_disk/src/ |
H A D | cloud_file_utils.cpp | 135 size_t size = cloudId.size(); in GetBucketId() local 136 if (size < CLOUD_ID_MIN_SIZE) { in GetBucketId() 141 char last = cloudId[size - 1]; in GetBucketId() 142 char middle = cloudId[size / CLOUD_ID_BUCKET_MID_TIMES]; in GetBucketId()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/ |
H A D | version_info_manager.cpp | 237 if (dataVector.empty() || dataVector.size() > MAX_DB_RECORD_SIZE) { in SyncRemoteVersionInfos() 238 DHLOGE("dataVector size: %{public}zu is invalid, maybe empty or too large.", dataVector.size()); in SyncRemoteVersionInfos() 262 changeNotification.GetInsertEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange() 267 changeNotification.GetUpdateEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange() 272 changeNotification.GetDeleteEntries().size() <= MAX_DB_RECORD_SIZE) { in OnChange()
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/ |
H A D | tar_file_test.cpp | 69 * @tc.size: MEDIUM 91 * @tc.size: MEDIUM 128 * @tc.size: MEDIUM 154 EXPECT_EQ(tarMap.size(), 1); in HWTEST_F() 167 * @tc.size: MEDIUM 193 EXPECT_EQ(tarMap.size(), 1); in HWTEST_F() 206 * @tc.size: MEDIUM 236 * @tc.size: MEDIUM 268 EXPECT_EQ(tarMap.size(), 1); in HWTEST_F() 281 * @tc.size [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | copy_file.cpp | 105 size_t size = static_cast<size_t>(statbf.st_size); in SendFileCore() local 106 while (size > 0) { in SendFileCore() 114 size -= static_cast<size_t>(ret); in SendFileCore() 119 if (size != 0) { in SendFileCore() 120 LOGE("The execution of the sendfile task was terminated, remaining file size %{public}zu", size); in SendFileCore()
|
/third_party/ffmpeg/libavcodec/ |
H A D | fraps.c | 91 int h, const uint8_t *src, int size, int Uoff, in fraps2_decode_plane() 101 size -= 1024; in fraps2_decode_plane() 110 (const uint32_t *) src, size >> 2); in fraps2_decode_plane() 112 if ((ret = init_get_bits8(&gb, s->tmpbuf, size)) < 0) in fraps2_decode_plane() 141 int buf_size = avpkt->size; in decode_frame() 235 av_log(avctx, AV_LOG_ERROR, "Invalid frame size %dx%d\n", in decode_frame() 90 fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, int h, const uint8_t *src, int size, int Uoff, const int step) fraps2_decode_plane() argument
|
H A D | libaribb24.c | 106 "%s,%d," /* Font{name,size} */ in libaribb24_generate_ass_header() 250 // font size in libaribb24_handle_regions() 297 if (pkt->size <= 0) in libaribb24_decode() 298 return pkt->size; in libaribb24_decode() 300 arib_parse_pes(b24->parser, pkt->data, pkt->size); in libaribb24_decode() 308 return pkt->size; in libaribb24_decode() 337 "Result: '%s' (size: %zu, pkt_pts: %"PRId64", sub_pts: %"PRId64" " in libaribb24_decode() 357 return ret < 0 ? ret : pkt->size; in libaribb24_decode()
|
H A D | get_buffer.c | 38 * Pools for each data plane. For audio all the planes have the same size, 124 size_t size[4]; in update_frame_pool() local 144 ret = av_image_fill_plane_sizes(size, avctx->pix_fmt, h, linesize1); in update_frame_pool() 150 if (size[i]) { in update_frame_pool() 151 if (size[i] > INT_MAX - (16 + STRIDE_ALIGN - 1)) { in update_frame_pool() 155 pool->pools[i] = av_buffer_pool_init(size[i] + 16 + STRIDE_ALIGN - 1, in update_frame_pool()
|
H A D | iirfilter.c | 229 for (i = 0; i < size; i += 4) { \ 242 for (i = 0; i < size; i++) { \ 264 for (i = 0; i < size; i++) { \ 277 struct FFIIRFilterState *s, int size, in ff_iir_filter() 295 * @param size input length 302 struct FFIIRFilterState *s, int size, in iir_filter_flt() 276 ff_iir_filter(const struct FFIIRFilterCoeffs *c, struct FFIIRFilterState *s, int size, const int16_t *src, ptrdiff_t sstep, int16_t *dst, ptrdiff_t dstep) ff_iir_filter() argument 301 iir_filter_flt(const struct FFIIRFilterCoeffs *c, struct FFIIRFilterState *s, int size, const float *src, ptrdiff_t sstep, float *dst, ptrdiff_t dstep) iir_filter_flt() argument
|
H A D | imm5.c | 93 if (avpkt->size > 24 && avpkt->data[8] <= 1 && AV_RL32(avpkt->data + 4) + 24ULL <= avpkt->size) { in imm5_decode_frame() 121 avpkt->size = new_size + offset; in imm5_decode_frame() 131 avpkt->size -= 24; in imm5_decode_frame() 159 return avpkt->size; in imm5_decode_frame()
|
H A D | msvideo1.c | 42 if ((stream_ptr + n) > s->size ) { \ 44 stream_ptr + n, s->size); \ 54 int size; member 301 int buf_size = avpkt->size; in msvideo1_decode_frame() 306 s->size = buf_size; in msvideo1_decode_frame() 308 // Discard frame if its smaller than the minimum frame size in msvideo1_decode_frame()
|
/third_party/ffmpeg/libavcodec/arm/ |
H A D | vp9dsp_init_arm.c | 188 #define define_loop_filter(dir, wd, size) \ 189 void ff_vp9_loop_filter_##dir##_##wd##_##size##_neon(uint8_t *dst, ptrdiff_t stride, int E, int I, int H) 191 #define define_loop_filters(wd, size) \ 192 define_loop_filter(h, wd, size); \ 193 define_loop_filter(v, wd, size)
|
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg_mux.c | 73 (ost->muxing_queue_data_size + pkt->size) > ost->muxing_queue_data_threshold; in of_write_packet() 94 ost->muxing_queue_data_size += tmp_pkt->size; in of_write_packet() 152 ost->data_size += pkt->size; in of_write_packet() 159 "pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s duration:%s duration_time:%s size:%d\n", in of_write_packet() 164 pkt->size in of_write_packet() 272 ost->muxing_queue_data_size -= pkt->size; in of_check_init()
|
/third_party/eudev/src/udev/ |
H A D | udev-builtin-usb_id.c | 151 ssize_t size; in dev_if_packed_info() local 174 size = read(fd, buf, sizeof(buf)); in dev_if_packed_info() 175 if (size < 18 || size == sizeof(buf)) in dev_if_packed_info() 179 while (pos + sizeof(struct usb_interface_descriptor) < (size_t) size && in dev_if_packed_info()
|
/third_party/ffmpeg/libavdevice/ |
H A D | libdc1394.c | 43 char *video_size; /**< String describing video size, set by a private option. */ 47 int size; member 82 { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), AV_OPT_TYPE_STRING, {.str = "qvga"}, 0, 0, DEC }, 116 av_log(c, AV_LOG_ERROR, "Could not parse video size '%s'.\n", dc1394->video_size); in dc1394_read_common() 156 dc1394->size = av_image_get_buffer_size(fmt->pix_fmt, in dc1394_read_common() 159 vst->codecpar->bit_rate = av_rescale(dc1394->size * 8, in dc1394_read_common() 267 pkt->size = dc1394->frame->image_bytes; in dc1394_read_packet() 276 return pkt->size; in dc1394_read_packet()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_ashowinfo.c | 65 if (sd->size < sizeof(enum AVMatrixEncoding)) { in dump_matrixenc() 88 if (sd->size < sizeof(*di)) { in dump_downmix() 135 if (sd->size < sizeof(*rg)) { in dump_replaygain() 152 if (sd->size < sizeof(*ast)) { in dump_audio_service_type() 173 av_log(ctx, AV_LOG_INFO, "unknown side data type: %d, size " in dump_unknown() 174 "%"SIZE_SPECIFIER" bytes", sd->type, sd->size); in dump_unknown()
|
/third_party/ffmpeg/libavformat/ |
H A D | libsmbclient.c | 158 static int libsmbc_read(URLContext *h, unsigned char *buf, int size) in libsmbc_read() argument 163 if ((bytes_read = smbc_read(libsmbc->fd, buf, size)) < 0) { in libsmbc_read() 172 static int libsmbc_write(URLContext *h, const unsigned char *buf, int size) in libsmbc_write() argument 177 if ((bytes_written = smbc_write(libsmbc->fd, buf, size)) < 0) { in libsmbc_write() 267 entry->size = st.st_size; in libsmbc_read_dir()
|
H A D | apngenc.c | 154 existing_fcTL_chunk = apng_find_chunk(MKBETAG('f', 'c', 'T', 'L'), apng->prev_packet->data, apng->prev_packet->size); in flush_packet() 158 avio_write(io_context, chunk_after_fcTL, apng->prev_packet->data + apng->prev_packet->size - chunk_after_fcTL); in flush_packet() 160 avio_write(io_context, apng->prev_packet->data, apng->prev_packet->size); in flush_packet() 184 data_end = data + apng->prev_packet->size; in flush_packet() 185 existing_fcTL_chunk = apng_find_chunk(MKBETAG('f', 'c', 'T', 'L'), apng->prev_packet->data, apng->prev_packet->size); in flush_packet()
|
/third_party/gn/src/gn/ |
H A D | command_path.cc | 69 for (size_t i = 1; i < path.size(); i++) { in ClassifyPath() 106 for (size_t i = 0; i < path.size(); i++) { in PrintPath() 110 if (i == path.size() - 1) { in PrintPath() 148 for (size_t i = 1; i < path.size(); i++) { in InsertTargetsIntoFoundPaths() 313 if (args.size() != 3) { in RunPath()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_direct.h | 33 typedef void (mix_areas_t)(unsigned int size, 38 typedef void (mix_areas_16_t)(unsigned int size, 43 typedef void (mix_areas_32_t)(unsigned int size, 48 typedef void (mix_areas_24_t)(unsigned int size, 53 typedef void (mix_areas_u8_t)(unsigned int size, 169 int max_periods; /* max periods (-1 = fixed periods, 0 = max buffer size) */ 170 int var_periodsize; /* allow variable period size if max_periods is != -1*/
|
/third_party/backends/backend/ |
H A D | artec_eplus48u.h | 397 * @param size Size of the data block in bytes. 405 * @a size must be a multiple of 64 (at least with TV9693), otherwise the 410 SANE_Word size, SANE_Byte * data); 416 * @param size Size of the data block in bytes. 424 * @a size must be a multiple of 64 (at least with TV9693), otherwise the 429 SANE_Word size, SANE_Byte * data); 463 * @param size Pointer to the variable which must be set to the requested data 464 * size before call. After completion this variable will hold the number of 473 size_t * size); 484 size_t * size); [all...] |
H A D | pieusb_scancmd.h | 68 SANE_Int maxScanWidth; /* 10680 flatbed_max_scan_width (& calibration block size) */ 145 /* SANE_Byte size; of remaining data, not useful */ 256 SANE_Int size; /* number of bytes in rest of structure */ member 267 SANE_Int size; /* number of bytes in rest of structure */ member 282 SANE_Int size; /* number of bytes in rest of structure (0x1c=28) */ member 284 SANE_Byte calInfoSize; /* size of individual info structure (=0x06) */ 345 void sanei_pieusb_cmd_get_scanned_lines(SANE_Int device_number, SANE_Byte* data, SANE_Int lines, SANE_Int size, struct Pieusb_Command_Status *status); 360 void sanei_pieusb_cmd_inquiry(SANE_Int device_number, struct Pieusb_Scanner_Properties* inq, SANE_Byte size, struct Pieusb_Command_Status *status);
|
/third_party/backends/backend/genesys/ |
H A D | device.cpp | 219 << " gamma_override_tables[0].size(): " << dev.gamma_override_tables[0].size() << '\n' in operator <<() 220 << " gamma_override_tables[1].size(): " << dev.gamma_override_tables[1].size() << '\n' in operator <<() 221 << " gamma_override_tables[2].size(): " << dev.gamma_override_tables[2].size() << '\n' in operator <<() 222 << " white_average_data.size(): " << dev.white_average_data.size() << '\n' in operator <<() 223 << " dark_average_data.size(): " << dev.dark_average_data.size() << '\ in operator <<() [all...] |
/third_party/benchmark/test/ |
H A D | benchmark_test.cc | 44 std::set<int64_t> ConstructRandomSet(int64_t size) { in ConstructRandomSet() argument 46 for (int i = 0; i < size; ++i) s.insert(s.end(), i); in ConstructRandomSet() 165 int64_t size = state.range(0) / static_cast<int64_t>(sizeof(int)); in BM_ParallelMemset() local 166 int thread_size = static_cast<int>(size) / state.threads(); in BM_ParallelMemset() 171 test_vector = new std::vector<int>(static_cast<size_t>(size)); in BM_ParallelMemset()
|