Home
last modified time | relevance | path

Searched refs:size (Results 5151 - 5175 of 25150) sorted by relevance

1...<<201202203204205206207208209210>>...1006

/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_zip_test.cpp48 .size = 16 in initDlpFileCiper()
54 param.iv.size = IV_SIZE; in initDlpFileCiper()
63 .size = 32 in initDlpFileCiper()
109 int32_t res = AddBuffToZip(buf.c_str(), buf.size(), inZip.c_str(), zipFile.c_str()); in HWTEST_F()
115 res = AddBuffToZip(buf.c_str(), buf.size(), inZip.c_str(), zipFile.c_str()); in HWTEST_F()
118 res = AddBuffToZip(buf.c_str(), buf.size(), inZip.c_str(), zipFile.c_str()); in HWTEST_F()
/base/sensors/sensor/vibration_convert/core/algorithm/intensity_processor/src/
H A Dintensity_processor.cpp46 size_t paddingDataSize = paddingData.size(); in GetRMS()
62 size_t dataSize = data.size(); in EnergyEnvelop()
88 for (size_t i = 0; i < rmseBand.size(); ++i) { in RmseNormalize()
105 size_t dataSize = data.size(); in VolumeInLinary()
125 std::vector<double> db(blockSum.size(), 0.0); in VolumeInDB()
126 for (size_t i = 0; i < blockSum.size(); ++i) { in VolumeInDB()
/base/telephony/core_service/services/sim/src/
H A Dtag_service.cpp34 if (data.empty() || data.size() % CHINESE_POS) { in TagService()
122 if (!hasNext_ || offset_ >= data_.size()) { in Next()
130 for (; offset_ < data_.size(); ++offset_, ++order) { in Next()
142 if (offset_ >= data_.size()) { in Next()
148 for (; offset_ < data_.size(); ++offset_, ++order) { in Next()
162 if (offset_ > data_.size()) { in Next()
/base/useriam/user_auth_framework/services/core/src/
H A Dschedule_node_helper.cpp70 IAM_LOGI("collectorMessage size: %{public}zu, verifierMessage size %{public}zu", in ScheduleInfoToScheduleNode()
71 collectorMessage.size(), verifierMessage.size()); in ScheduleInfoToScheduleNode()
109 IF_FALSE_LOGE_AND_RETURN_VAL(info.executorIndexes.size() == info.executorMessages.size(), false); in ScheduleInfoToExecutors()
110 IF_FALSE_LOGE_AND_RETURN_VAL(info.executorIndexes.size() > 0, false); in ScheduleInfoToExecutors()
112 for (uint32_t i = 0; i < info.executorIndexes.size(); i++) { in ScheduleInfoToExecutors()
/test/xts/hats/kernel/syscalls/net/get_info/
H A DGetInfoApiTest.cpp88 ssize_t size; in ClientConnect() local
104 size = recv(clientFd, static_cast<void *>(buffer), BUFFER_SIZE, 0); in ClientConnect()
105 EXPECT_EQ(size, strlen(TEST_EXIT)); in ClientConnect()
116 * @tc.size : MediumTest
123 ssize_t size; in HWTEST_F() local
144 size = send(acceptFd, TEST_EXIT, strlen(TEST_EXIT), 0); in HWTEST_F()
145 EXPECT_EQ(size, strlen(TEST_EXIT)); in HWTEST_F()
155 * @tc.size : MediumTest
/third_party/ffmpeg/libavcodec/
H A Dmjpegenc_huffman.c74 * @param size size of the prob_table array
77 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts, int size, int max_length) in ff_mjpegenc_huffman_compute_bits() argument
93 AV_QSORT(prob_table, size, PTable, compare_by_prob); in ff_mjpegenc_huffman_compute_bits()
105 while (i < size || j + 1 < from->nitems) { in ff_mjpegenc_huffman_compute_bits()
108 if (i < size && in ff_mjpegenc_huffman_compute_bits()
129 min = (size - 1 < from->nitems) ? size - 1 : from->nitems; in ff_mjpegenc_huffman_compute_bits()
H A D012v.c54 && avpkt->size % avctx->height == 0 in zero12v_decode_frame()
55 && avpkt->size / avctx->height * 3 >= width * 8) in zero12v_decode_frame()
56 stride = avpkt->size / avctx->height; in zero12v_decode_frame()
58 if (avpkt->size < avctx->height * stride) { in zero12v_decode_frame()
60 avpkt->size, avctx->height * stride); in zero12v_decode_frame()
144 return avpkt->size; in zero12v_decode_frame()
H A Dmwsc.c96 int buf_size = avpkt->size; in decode_frame()
135 return avpkt->size; in decode_frame()
141 int64_t size; in decode_init() local
145 size = 32LL * avctx->height * avctx->width; in decode_init()
146 if (size >= INT32_MAX) in decode_init()
148 s->decomp_size = size; in decode_init()
/third_party/ffmpeg/libavfilter/
H A Dopencl.h197 #define CL_CREATE_BUFFER_FLAGS(ctx, buffer_name, flags, size, host_ptr) do { \
201 size, \
214 #define CL_BLOCKING_WRITE_BUFFER(queue, buffer, size, host_ptr, event) do { \
220 size, \
237 #define CL_CREATE_BUFFER(ctx, buffer_name, size) CL_CREATE_BUFFER_FLAGS(ctx, buffer_name, 0, size, NULL)
279 * Find the work size needed needed for a given plane of an image.
/third_party/ffmpeg/libavformat/
H A Dlibzmq.c43 { "pkt_size", "Maximum send/read packet size", OFFSET(pkt_size), AV_OPT_TYPE_INT, { .i64 = 131072 }, -1, INT_MAX, .flags = D | E },
143 static int zmq_proto_write(URLContext *h, const unsigned char *buf, int size) in zmq_proto_write() argument
151 ret = zmq_send(s->socket, buf, size, 0); in zmq_proto_write()
159 static int zmq_proto_read(URLContext *h, unsigned char *buf, int size) in zmq_proto_read() argument
167 ret = zmq_recv(s->socket, buf, size, 0); in zmq_proto_read()
172 if (ret > size) { in zmq_proto_read()
175 ret = size; in zmq_proto_read()
H A Dsdsdec.c29 int size; member
98 s->size = 60 * 4; in sds_read_header()
101 s->size = 40 * 4; in sds_read_header()
104 s->size = 30 * 4; in sds_read_header()
115 st->duration = av_rescale((avio_size(pb) - 21) / 127, s->size, 4); in sds_read_header()
137 ret = av_new_packet(pkt, s->size); in sds_read_packet()
/third_party/glfw/tests/
H A Dgamma.c122 const size_t array_size = ramp->size * sizeof(short); in main()
123 orig_ramp.size = ramp->size; in main()
167 chart_ramp_array(nk, nk_rgb(255, 0, 0), ramp->size, ramp->red); in main()
168 chart_ramp_array(nk, nk_rgb(0, 255, 0), ramp->size, ramp->green); in main()
169 chart_ramp_array(nk, nk_rgb(0, 0, 255), ramp->size, ramp->blue); in main()
/third_party/fsverity-utils/lib/
H A Dhash_algs.c36 const void *data, size_t size) in openssl_digest_update()
41 ret = EVP_DigestUpdate(ctx->md_ctx, data, size); in openssl_digest_update()
123 size_t size) in libfsverity_hash_update()
125 ctx->update(ctx, data, size); in libfsverity_hash_update()
134 void libfsverity_hash_full(struct hash_ctx *ctx, const void *data, size_t size, in libfsverity_hash_full() argument
138 libfsverity_hash_update(ctx, data, size); in libfsverity_hash_full()
35 openssl_digest_update(struct hash_ctx *_ctx, const void *data, size_t size) openssl_digest_update() argument
122 libfsverity_hash_update(struct hash_ctx *ctx, const void *data, size_t size) libfsverity_hash_update() argument
/third_party/alsa-lib/src/hwdep/
H A Dhwdep_hw.c77 static ssize_t snd_hwdep_hw_write(snd_hwdep_t *hwdep, const void *buffer, size_t size) in snd_hwdep_hw_write() argument
80 assert(hwdep && (buffer || size == 0)); in snd_hwdep_hw_write()
81 result = write(hwdep->poll_fd, buffer, size); in snd_hwdep_hw_write()
87 static ssize_t snd_hwdep_hw_read(snd_hwdep_t *hwdep, void *buffer, size_t size) in snd_hwdep_hw_read() argument
90 assert(hwdep && (buffer || size == 0)); in snd_hwdep_hw_read()
91 result = read(hwdep->poll_fd, buffer, size); in snd_hwdep_hw_read()
/third_party/icu/icu4c/source/tools/icuinfo/
H A Dtestplug.c163 static void * U_CALLCONV myMemAlloc(const void *context, size_t size) { in myMemAlloc() argument
164 void *retPtr = (void *)malloc(size); in myMemAlloc()
166 fprintf(stderr, "MEM: malloc(%d) = %p\n", (int32_t)size, retPtr); in myMemAlloc()
177 static void * U_CALLCONV myMemRealloc(const void *context, void *mem, size_t size) { in myMemRealloc() argument
185 retPtr = realloc(mem, size); in myMemRealloc()
187 fprintf(stderr, "MEM: realloc(%p, %d) = %p\n", mem, (int32_t)size, retPtr); in myMemRealloc()
/third_party/gn/src/gn/
H A Dunique_vector_unittest.cc22 EXPECT_EQ(3u, foo.size()); in TEST()
52 EXPECT_EQ(1u, vect.size()); in TEST()
55 EXPECT_EQ(2u, vect.size()); in TEST()
101 EXPECT_EQ(1u, vect.size()); in TEST()
104 EXPECT_EQ(2u, vect.size()); in TEST()
124 EXPECT_EQ(3u, v.size()); in TEST()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliterationRuleSet.java43 * the rules in ruleVector. rules.length >= ruleVector.size(), and the
109 int n = ruleVector.size(); in freeze()
121 index[x] = v.size(); in freeze()
139 index[256] = v.size(); in freeze()
143 rules = new TransliterationRule[v.size()]; in freeze()
231 int count = ruleVector.size(); in toRules()
248 int count = ruleVector.size(); in addSourceTargetSet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTransliterationRuleSet.java44 * the rules in ruleVector. rules.length >= ruleVector.size(), and the
110 int n = ruleVector.size(); in freeze()
122 index[x] = v.size(); in freeze()
140 index[256] = v.size(); in freeze()
144 rules = new TransliterationRule[v.size()]; in freeze()
232 int count = ruleVector.size(); in toRules()
249 int count = ruleVector.size(); in addSourceTargetSet()
/third_party/libdrm/include/drm/
H A Dvia_drm.h122 __u32 size; member
127 __u32 size; member
133 __u32 size; member
168 unsigned long size; member
174 unsigned long size; member
218 __u32 size; member
/third_party/mesa3d/src/etnaviv/drm/
H A Detnaviv_priv.h57 uint32_t size; member
98 uint32_t *size, uint32_t flags);
108 uint32_t size; member
205 DEBUG_MSG("%s %p, va: 0x%.8x, size: 0x%.8x, flags: 0x%.8x, " \
207 msg, bo, bo->va, bo->size, bo->flags, bo->refcnt, bo->handle, bo->name);
233 VALGRIND_MALLOCLIKE_BLOCK(etna_bo_map(bo), bo->size, 0, 1); in VG_BO_ALLOC()
265 VALGRIND_MALLOCLIKE_BLOCK(bo->map, bo->size, 0, 1); in VG_BO_OBTAIN()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_dynamic_rendering.c116 uint32_t *size) in tu_insert_dynamic_cmdbufs()
121 for (unsigned i = 0; i < *size; i++) { in tu_insert_dynamic_cmdbufs()
134 for (unsigned i = 0; i < *size; i++) { in tu_insert_dynamic_cmdbufs()
210 vk_alloc(&dev->vk.alloc, cmds.size, alignof(struct tu_cmd_buffer *), in tu_insert_dynamic_cmdbufs()
214 memcpy(new_cmds, cmds.data, cmds.size); in tu_insert_dynamic_cmdbufs()
216 *size = util_dynarray_num_elements(&cmds, struct tu_cmd_buffer *); in tu_insert_dynamic_cmdbufs()
114 tu_insert_dynamic_cmdbufs(struct tu_device *dev, struct tu_cmd_buffer ***cmds_ptr, uint32_t *size) tu_insert_dynamic_cmdbufs() argument
/third_party/ltp/testcases/kernel/controllers/memcg/
H A Dmemcontrol03.c99 const size_t size, const int expect_oom) in alloc_anon_in_child()
108 getpid(), tst_cg_group_name(cg), size); in alloc_anon_in_child()
109 alloc_anon(size); in alloc_anon_in_child()
133 const size_t size) in alloc_pagecache_in_child()
145 getpid(), tst_cg_group_name(cg), size); in alloc_pagecache_in_child()
146 alloc_pagecache(fd, size); in alloc_pagecache_in_child()
98 alloc_anon_in_child(const struct tst_cg_group *const cg, const size_t size, const int expect_oom) alloc_anon_in_child() argument
132 alloc_pagecache_in_child(const struct tst_cg_group *const cg, const size_t size) alloc_pagecache_in_child() argument
H A Dmemcontrol04.c88 const size_t size) in alloc_anon_in_child()
100 getpid(), tst_cg_group_name(cg), size); in alloc_anon_in_child()
101 alloc_anon(size); in alloc_anon_in_child()
107 const size_t size) in alloc_pagecache_in_child()
119 getpid(), tst_cg_group_name(cg), size); in alloc_pagecache_in_child()
120 alloc_pagecache(fd, size); in alloc_pagecache_in_child()
87 alloc_anon_in_child(const struct tst_cg_group *const cg, const size_t size) alloc_anon_in_child() argument
106 alloc_pagecache_in_child(const struct tst_cg_group *const cg, const size_t size) alloc_pagecache_in_child() argument
/third_party/node/src/crypto/
H A Dcrypto_hkdf.cc112 ctx.get(), params.info.data<unsigned char>(), params.info.size())) { in DeriveBits()
121 if (params.salt.size() != 0) { in DeriveBits()
122 salt = {params.salt.data<char>(), params.salt.size()}; in DeriveBits()
136 salt.size(), in DeriveBits()
161 tracker->TrackFieldWithSize("salt", salt.size()); in MemoryInfo()
162 tracker->TrackFieldWithSize("info", info.size()); in MemoryInfo()
/third_party/node/deps/v8/third_party/zlib/google/
H A Dcompression_utils.cc29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
32 // No overflow, as compressed_size_long <= output.size() which is a size_t. in GzipCompress()
45 const uLongf input_size = static_cast<uLongf>(input.size()); in GzipCompress()
101 if (uncompressed_size > output.size()) in GzipUncompress()
106 static_cast<uLongf>(input.size())) == Z_OK; in GzipUncompress()
121 static_cast<uLongf>(input.size())) == Z_OK; in GzipUncompress()
130 bit_cast<Bytef*>(compressed_data.data()), compressed_data.size()); in GetUncompressedSize()

Completed in 15 milliseconds

1...<<201202203204205206207208209210>>...1006