Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 3506) sorted by relevance

12345678910>>...141

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Daudio_common_converter.cpp37 dst += count; in ConvertBufferTo32Bit()
39 for (; count > 0; --count) { in ConvertBufferTo32Bit()
47 for (; count > 0; --count) { in ConvertBufferTo32Bit()
55 for (; count > 0; --count) { in ConvertBufferTo32Bit()
66 for (; count > 0; --count) { in ConvertBufferTo32Bit()
73 for (; count > 0; --count) { in ConvertBufferTo32Bit()
90 for (; count > 0; --count) { in ConvertBufferTo16Bit()
98 for (; count > 0; --count) { in ConvertBufferTo16Bit()
106 for (; count > 0; --count) { in ConvertBufferTo16Bit()
115 for (; count > 0; --count) { in ConvertBufferTo16Bit()
[all …]
H A Daudio_log_utils.cpp39 if (count > 0) { in ProcessVolumeData()
41 logTag.c_str(), count); in ProcessVolumeData()
42 count = 0; in ProcessVolumeData()
44 count--; in ProcessVolumeData()
47 if (count < 0) { in ProcessVolumeData()
50 count = 0; in ProcessVolumeData()
52 count++; in ProcessVolumeData()
59 if ((count < LOW_FREQ_PRINT_LOG && count % MEDIUM_FREQ_PRINT_LOG == 0) || in IncSilentData()
60 (count >= LOW_FREQ_PRINT_LOG && count % LOW_FREQ_PRINT_LOG == 0)) { in IncSilentData()
68 if ((count < LOW_FREQ_PRINT_LOG && count % MEDIUM_FREQ_PRINT_LOG == 0) || in IncSoundData()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/include/
H A Dark_web_types.cpp111 count++; in ArkWebStringMapClassToStruct()
121 for (int count = 0; count < struct_value.size; count++) { in ArkWebStringMapStructToClass() local
131 for (int count = 0; count < struct_value.size; count++) { in ArkWebStringMapStructRelease() local
154 count++; in ArkWebStringListClassToStruct()
164 for (int count = 0; count < struct_value.size; count++) { in ArkWebStringListStructToClass() local
173 for (int count = 0; count < struct_value.size; count++) { in ArkWebStringListStructRelease() local
194 count++; in ArkWebStringVectorClassToStruct()
204 for (int count = 0; count < struct_value.size; count++) { in ArkWebStringVectorStructToClass() local
213 for (int count = 0; count < struct_value.size; count++) { in ArkWebStringVectorStructRelease() local
250 for (int count = 0; count < struct_value.size; count++) { in ArkWebStringVectorMapStructToClass() local
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dselect.rs37 let mut count = 0; in sdv_new_select_basic() localVariable
40 count += a; in sdv_new_select_basic()
43 count += b; in sdv_new_select_basic()
47 count = 3; in sdv_new_select_basic()
54 assert_eq!(count, 2); in sdv_new_select_basic()
106 let mut count = 0u8; in sdv_new_select_biased() localVariable
159 let mut count = 0; in sdv_new_select_match() localVariable
162 count += a; in sdv_new_select_match()
165 count += 2; in sdv_new_select_match()
198 let mut count = 0; in sdv_new_select_precondition() localVariable
[all …]
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/osal/
H A Dtask_func_unit_test.cpp137 count++; in __anon797004620202()
162 count++; in __anon797004620302()
188 count++; in __anon797004620402()
219 count++; in __anon797004620502()
251 count++; in __anon797004620602()
283 count++; in __anon797004620702()
311 count++; in __anon797004620802()
339 count++; in __anon797004620902()
369 count++; in __anon797004620a02()
408 count++; in __anon797004620b02()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_notify_two.cpp49 int count = 0; variable
121 int count = 0; variable
151 int count = 0; variable
185 int count = 0; variable
225 int count = 0; variable
267 int count = 0; variable
314 int count = 0; variable
358 int count = 0; variable
404 int count = 0; variable
440 int count = 0; variable
[all …]
H A DUTTest_device_manager_notify_three.cpp54 int count = 0; variable
93 int count = 0; variable
133 int count = 0; variable
173 int count = 0; variable
213 int count = 0; variable
254 int count = 0; variable
296 int count = 0; variable
339 int count = 0; variable
382 int count = 0; variable
426 int count = 0; variable
[all …]
H A DUTTest_device_manager_notify.cpp57 int count = 0; variable
86 int count = 0; variable
148 int count = 0; variable
185 int count = 0; variable
208 int count = 0; variable
240 int count = 0; variable
279 int count = 0; variable
321 int count = 0; variable
366 int count = 0; variable
411 int count = 0; variable
[all …]
/ohos5.0/foundation/multimodalinput/input/service/event_dump/test/
H A Devent_dump_test.cpp69 int32_t count = 0; variable
71 EXPECT_EQ(count, 0);
84 int32_t count = 0; variable
100 int32_t count = 0; variable
116 int32_t count = 0; variable
132 int32_t count = 0; variable
149 int32_t count = 0; variable
165 int32_t count = 0; variable
181 int32_t count = 0; variable
197 int32_t count = 0; variable
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/base/
H A Dsecurec.h123 SECUREC_API errno_t memset_s(void *dest, size_t destMax, int c, size_t count);
130 SECUREC_API errno_t memmove_s(void *dest, size_t destMax, const void *src, size_t count);
196 SECUREC_API errno_t memcpy_s(void *dest, size_t destMax, const void *src, size_t count);
214 extern errno_t memset_sOptAsm(void *dest, size_t destMax, int c, size_t count);
215 extern errno_t memset_sOptTc(void *dest, size_t destMax, int c, size_t count);
217 extern errno_t memcpy_sOptTc(void *dest, size_t destMax, const void *src, size_t count);
226 #define strncpy_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument
239 #define strncat_sp(dest, destMax, src, count) ((__builtin_constant_p((count)) && \ argument
243 strncat_s((dest), (destMax), (src), (count)))
246 #define memcpy_sp(dest, destMax, src, count) (__builtin_constant_p((count)) ? \ argument
[all …]
H A Dsecurectype.h173 #define SECUREC_STRNCPY_SM(dest, destMax, src, count) \ argument
177 ((count < strlen(src))? (memcpy(dest, src, count), *((char *)dest + count) = '\0', EOK): \
221 #define SECUREC_STRNCAT_SM(dest, destMax, src, count) \ argument
236 if ((count) < strlen(src)) { \
238 *(ncatTmpDest + (count)) = '\0'; \
254 #define SECUREC_STRNCAT_SM(dest, destMax, src, count) strncat_s(dest, destMax, src, count) argument
262 (memcpy(dest, src, count), EOK) : \
263 (memcpy_s(dest, destMax, src, count)))
265 #define SECUREC_MEMSET_SM(dest, destMax, c, count) \ argument
269 (memset(dest, c, count), EOK) : \
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/font_fuzzer/
H A Dfont_fuzzer.cpp132 scalar* widths = new scalar[count]; in FontFuzzTest004()
164 scalar* widths = new scalar[count]; in FontFuzzTest005()
168 Rect* bounds = new Rect[count]; in FontFuzzTest005()
201 char* text = new char[count]; in FontFuzzTest006()
205 text[count - 1] = '\0'; in FontFuzzTest006()
210 font.TextToGlyphs(text, count, TextEncoding::UTF8, glyphs, count); in FontFuzzTest006()
211 font.UnicharToGlyph(count); in FontFuzzTest006()
235 char* text = new char[count]; in FontFuzzTest007()
239 text[count - 1] = '\0'; in FontFuzzTest007()
260 char* text = new char[count]; in FontFuzzTest008()
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/
H A Ddaily_controller.cpp50 int32_t count = GetCount(cacheKey) + 1; in CheckThreshold() local
91 if (value.count == COUNT_OF_INIT) { in UpdateCacheToDb()
98 .count = value.count, in UpdateCacheToDb()
133 return cache_[cachekey].count; in GetCount()
144 return eventInfo.count; in GetCount()
151 if (count == (threshold + 1)) { in UpdateCacheAndDb()
158 UpdateDb(cachekey, count, exceedTime); in UpdateCacheAndDb()
166 .count = count, in UpdateCache()
172 cache_[cachekey].count = count; in UpdateCache()
181 if (count == COUNT_OF_INIT) { in UpdateDb()
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.27/
H A Dchangelogs-sensors.md3 ## cl.sensors.1 vibrator VibratePreset的count属性由必选变更为可选
11 VibratePreset中的振动次数参数count作为必选参数,即使设为1也必须要填写,对于开发者使用不便。
17 变更前:VibratePreset中的属性count为必选属性,必须设置。
23 count: number;
27 变更后:VibratePreset中的属性count变更为可选属性,默认值为1。
33 count?: number;
47 @ohos.vibrator.d.ts中VibratePreset的属性count
53 变更前:count的类型为number。
55 变更后:count的类型为number | undefined。
61 count: 2
[all …]
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/
H A Ddate_time_format_impl.cpp162 uint32_t count = 0; in Format() local
167 count = 0; in Format()
178 ++count; in Format()
184 if (count != 0) { in Format()
400 ++count; in ZeroPadding()
423 uint32_t count = 0; in GetLength() local
426 ++count; in GetLength()
429 return count; in GetLength()
538 count = 0; in FormatElapsedDuration()
549 ++count; in FormatElapsedDuration()
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/test/systemtest/
H A Ddumpcatcher_system_test.cpp680 GTEST_LOG_(INFO) << count;
700 GTEST_LOG_(INFO) << count;
724 GTEST_LOG_(INFO) << count;
745 GTEST_LOG_(INFO) << count;
767 GTEST_LOG_(INFO) << count;
788 GTEST_LOG_(INFO) << count;
808 GTEST_LOG_(INFO) << count;
829 GTEST_LOG_(INFO) << count;
851 GTEST_LOG_(INFO) << count;
872 GTEST_LOG_(INFO) << count;
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dutd.cpp37 for (unsigned int i = 0; i < count; i++) { in DestroyArrayPtr()
45 count = 0; in DestroyArrayPtr()
54 *count = 0; in CreateStrArrByVector()
59 *count = 0; in CreateStrArrByVector()
69 *count = 0; in CreateStrArrByVector()
73 *count = size; in CreateStrArrByVector()
110 *count = 1; in GetTypesByCondition()
111 auto typeIds = new char* [*count]; in GetTypesByCondition()
182 *count = pThis->belongingToTypesCount; in OH_Utd_GetBelongingToTypes()
200 *count = pThis->mimeTypeCount; in OH_Utd_GetMimeTypes()
[all …]
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
H A Dvsnprintf_s_p.c63 int count; member
167 int count = len; in SecWriteString() local
168 while (count-- > 0) { in SecWriteString()
181 int count = num; in SecWriteMultiChar() local
182 while (count-- > 0) { in SecWriteMultiChar()
228 (count > (SECUREC_STRING_MAX_LEN - 1) && count != (size_t)(-1))) { in vsnprintfp_s()
236 if (destMax > count) { in vsnprintfp_s()
271 int ret = vsnprintfp_s(strDest, destMax, count, priv, format, ap); in snprintfp_s()
292 str.count = (int)(count); /* this count include \0 character */ in SecVsnprintfPImpl()
298 } else if (str.count < 0) { in SecVsnprintfPImpl()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/memory/
H A Dref_counter.h43 explicit ThreadSafeCounter(int32_t count) : count_(count) {} in ThreadSafeCounter() argument
53 ACE_DCHECK(count > 0); in Decrease()
54 return count - 1; in Decrease()
64 int32_t count = CurrentCount(); in TryIncrease() local
66 if (count == 0) { in TryIncrease()
69 ACE_DCHECK(count > 0); in TryIncrease()
70 } while (!count_.compare_exchange_weak(count, count + 1, std::memory_order_relaxed)); in TryIncrease()
83 explicit ThreadUnsafeCounter(int32_t count) : count_(count) {} in ThreadUnsafeCounter() argument
92 int32_t count = --count_; in Decrease() local
93 ACE_DCHECK(count >= 0); in Decrease()
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-gesture-events-multi-level-gesture.md59 }.gesture(TapGesture({count: 1}))
69 TapGesture({count: 1}),
91 .gesture(TapGesture({count: 1}))
95 .gesture(TapGesture({count: 1}))
114 .gesture(TapGesture({count: 1}))
122 .gesture(TapGesture({count: 1}))
126 .gesture(TapGesture({count: 1}))
138 .gesture(TapGesture({count: 1}))
146 .gesture(TapGesture({count: 1}))
161 .gesture(TapGesture({count: 1}))
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/common/
H A Djs-apis-logs.md31 // count: 5
33 // count: 5
35 // count:
60 // count: 5
62 // count: 5
64 // count:
89 // count: 5
91 // count: 5
93 // count:
305 // count: 5
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_kv_realdel_test.cpp111 int count = 0; variable
132 return count == 0; in __anonaec079420202()
174 int count = 0; variable
177 return count == 0; in __anonaec079420302()
218 int count = 0; variable
221 return count == 0; in __anonaec079420402()
261 int count = 0; variable
272 EXPECT_TRUE(count == 0);
308 int count = 0; variable
354 int count = 0; variable
[all …]
/ohos5.0/drivers/hdf_core/interfaces/inner_api/hdi/base/
H A Dhdi_smq.h100 int Write(const T *data, size_t count);
111 int Read(T *data, size_t count);
414 return Write(data, count, 0); in Write()
420 return Read(data, count, 0); in Read()
465 ret = WriteNonBlocking(data, count); in Write()
510 ret = ReadNonBlocking(data, count); in Read()
549 if (wOffset + count <= qCount) { in WriteNonBlocking()
578 if (count == 0) { in ReadNonBlocking()
582 if (count > GetAvalidReadSize()) { in ReadNonBlocking()
588 if (rOffset + count <= qCount) { in ReadNonBlocking()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dinit_utils.c79 void FreeStringVector(char **vector, int count) in FreeStringVector() argument
82 for (int i = 0; i < count; i++) { in FreeStringVector()
108 int count = 0; in SplitStringExt() local
110 if (count > itemCounts - 1) { in SplitStringExt()
119 FreeStringVector(items, count); in SplitStringExt()
127 items[count] = (char *)malloc(len + 1); in SplitStringExt()
128 FSCRYPT_CHECK(items[count] != NULL, FreeStringVector(items, count); in SplitStringExt()
132 FreeStringVector(items, count); in SplitStringExt()
135 items[count][len] = '\0'; in SplitStringExt()
136 count++; in SplitStringExt()
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/test/testfunc/
H A Dutil.cpp146 size_t rcount = read(fd, &count, sizeof(count)); in perf_single_event()
147 if (rcount < sizeof(count)) { in perf_single_event()
204 int perf_event_instructions(std::function<void()> func, size_t& count) in perf_event_instructions() argument
206 return perf_single_event(func, count, PERF_COUNT_HW_INSTRUCTIONS); in perf_event_instructions()
208 int perf_event_cycles(std::function<void()> func, size_t& count) in perf_event_cycles() argument
210 return perf_single_event(func, count, PERF_COUNT_HW_CPU_CYCLES); in perf_event_cycles()
225 count = 0; in perf_event_instructions()
229 int perf_event_cycles(std::function<void()> func, size_t& count) in perf_event_cycles() argument
232 count = 0; in perf_event_cycles()
239 count = 0; in perf_event_branch_instructions()
[all …]

12345678910>>...141