/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
H A D | It_posix_pthread_039.c | 55 UINT32 count1 = 0; in Testcase() local 75 count1++; in Testcase() 79 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count - 1, count1); in Testcase() 89 for (count1 = 0, index = 0; index < LOSCFG_BASE_CORE_TSK_LIMIT; index++) { in Testcase() 91 count1++; in Testcase() 95 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
|
H A D | It_posix_pthread_040.c | 54 UINT32 count1 = 0; in Testcase() local 74 count1++; in Testcase() 78 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
|
H A D | It_posix_pthread_041.c | 53 UINT32 count1 = 0; in Testcase() local 72 count1++; in Testcase() 76 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
|
H A D | It_posix_pthread_042.c | 54 UINT32 count1 = 0; in Testcase() local 92 count1++; in Testcase() 96 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | rawmidi.c | 1173 int result = 0, count1; in snd_rawmidi_receive() local 1207 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive() 1208 if (count1 > count) in snd_rawmidi_receive() 1209 count1 = count; in snd_rawmidi_receive() 1210 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive() 1211 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive() 1212 count1 = get_aligned_size(runtime, count1); in snd_rawmidi_receive() 1213 if (!count1) in snd_rawmidi_receive() 1215 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive() 1253 long result = 0, count1; snd_rawmidi_kernel_read1() local 1305 int count1; snd_rawmidi_read() local 1393 int result, count1; __snd_rawmidi_transmit_peek() local 1582 long count1, result; snd_rawmidi_kernel_write1() local 1649 int count1; snd_rawmidi_write() local [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | rawmidi.c | 980 int result = 0, count1; in snd_rawmidi_receive() local 1003 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive() 1004 if (count1 > count) in snd_rawmidi_receive() 1005 count1 = count; in snd_rawmidi_receive() 1006 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive() 1007 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive() 1008 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive() 1009 runtime->hw_ptr += count1; in snd_rawmidi_receive() 1011 runtime->avail += count1; in snd_rawmidi_receive() 1012 count -= count1; in snd_rawmidi_receive() 1045 long result = 0, count1; snd_rawmidi_kernel_read1() local 1097 int count1; snd_rawmidi_read() local 1183 int result, count1; __snd_rawmidi_transmit_peek() local 1361 long count1, result; snd_rawmidi_kernel_write1() local 1428 int count1; snd_rawmidi_write() local [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | bp_signal.c | 167 long long count1, count2, count3; in test__bp_signal() local 201 * incq (%rdi) - fd1 event breakpoint hit -> count1 == 1 in test__bp_signal() 254 count1 = bp_count(fd1); in test__bp_signal() 262 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal() 263 count1, count2, count3, overflows, overflows_2); in test__bp_signal() 265 if (count1 != 1) { in test__bp_signal() 266 if (count1 == 11) in test__bp_signal() 269 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal() 284 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | bp_signal.c | 167 long long count1, count2, count3; in test__bp_signal() local 206 * incq (%rdi) - fd1 event breakpoint hit -> count1 == 1 in test__bp_signal() 259 count1 = bp_count(fd1); in test__bp_signal() 267 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal() 268 count1, count2, count3, overflows, overflows_2); in test__bp_signal() 270 if (count1 != 1) { in test__bp_signal() 271 if (count1 == 11) in test__bp_signal() 274 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal() 289 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | nsprepkg.c | 28 u32 count1, 121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package() 138 count1, in acpi_ns_check_package() 428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list() 438 count1, in acpi_ns_check_package_list() 454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list() 464 count1, in acpi_ns_check_package_list() 470 count1, 0); in acpi_ns_check_package_list() 511 expected_count = package->ret_info.count1; in acpi_ns_check_package_list() 551 package->ret_info.count1) { in acpi_ns_check_package_list() 701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) acpi_ns_check_package_elements() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | nsprepkg.c | 28 u32 count1, 121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package() 138 count1, in acpi_ns_check_package() 428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list() 438 count1, in acpi_ns_check_package_list() 454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list() 464 count1, in acpi_ns_check_package_list() 470 count1, 0); in acpi_ns_check_package_list() 511 expected_count = package->ret_info.count1; in acpi_ns_check_package_list() 551 package->ret_info.count1) { in acpi_ns_check_package_list() 701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) acpi_ns_check_package_elements() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/ |
H A D | DecompressionTest.java | 43 int count1 = 0, count2 = 0; in decompressTest() 45 count1 = myDecompressor.decompress(segment1, 0, segment1.length, in decompressTest() 50 "decompressed into " + count1 + " chars"); in decompressTest() 54 logln(charBuffer, 0, count1); in decompressTest() 55 s.append(charBuffer, 0, count1); in decompressTest() 59 charBuffer, count1, in decompressTest() 67 logln(charBuffer, count1, count2); in decompressTest() 69 s.append(charBuffer, count1, count2); in decompressTest() 72 logln(charBuffer, 0, count1 + count2); in decompressTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/compression/ |
H A D | DecompressionTest.java | 46 int count1 = 0, count2 = 0; in decompressTest() 48 count1 = myDecompressor.decompress(segment1, 0, segment1.length, in decompressTest() 53 "decompressed into " + count1 + " chars"); in decompressTest() 57 logln(charBuffer, 0, count1); in decompressTest() 58 s.append(charBuffer, 0, count1); in decompressTest() 62 charBuffer, count1, in decompressTest() 70 logln(charBuffer, count1, count2); in decompressTest() 72 s.append(charBuffer, count1, count2); in decompressTest() 75 logln(charBuffer, 0, count1 + count2); in decompressTest()
|
/kernel/linux/linux-5.10/arch/arm/mach-rpc/ |
H A D | time.c | 31 unsigned int count1, count2, status; in ioc_timer_read() local 38 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read() 48 if (count2 < count1) { in ioc_timer_read() 50 * The timer has not reloaded between reading count1 and in ioc_timer_read() 55 } else if (count2 > count1) { in ioc_timer_read()
|
/kernel/linux/linux-6.6/arch/arm/mach-rpc/ |
H A D | time.c | 31 unsigned int count1, count2, status; in ioc_timer_read() local 38 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read() 48 if (count2 < count1) { in ioc_timer_read() 50 * The timer has not reloaded between reading count1 and in ioc_timer_read() 55 } else if (count2 > count1) { in ioc_timer_read()
|
/third_party/toybox/toys/pending/ |
H A D | vi.c | 28 int count0, count1, vi_mov_flag; 702 static int cur_left(int count0, int count1, char *unused) in cur_left() argument 704 int count = count0*count1; in cur_left() 714 static int cur_right(int count0, int count1, char *unused) in cur_right() argument 716 int count = count0*count1, len, width = 0; in cur_right() 741 static int cur_up(int count0, int count1, char *unused) in cur_up() argument 743 int count = count0*count1; in cur_up() 752 static int cur_down(int count0, int count1, char *unused) in cur_down() argument 754 int count = count0*count1; in cur_down() 760 static int vi_H(int count0, int count1, cha argument 766 vi_L(int count0, int count1, char *unused) vi_L() argument 773 vi_M(int count0, int count1, char *unused) vi_M() argument 794 vi_yy(char reg, int count0, int count1) vi_yy() argument 808 vi_dd(char reg, int count0, int count1) vi_dd() argument 821 vi_x(char reg, int count0, int count1) vi_x() argument 839 vi_movw(int count0, int count1, char *unused) vi_movw() argument 872 vi_movb(int count0, int count1, char *unused) vi_movb() argument 913 vi_move(int count0, int count1, char *unused) vi_move() argument 946 vi_zero(int count0, int count1, char *unused) vi_zero() argument 954 vi_dollar(int count0, int count1, char *unused) vi_dollar() argument 1008 vi_push(char reg, int count0, int count1) vi_push() argument 1032 vi_find_c(int count0, int count1, char *symbol) vi_find_c() argument 1040 vi_find_cb(int count0, int count1, char *symbol) vi_find_cb() argument 1049 vi_go(int count0, int count1, char *symbol) vi_go() argument 1070 vi_o(char reg, int count0, int count1) vi_o() argument 1079 vi_O(char reg, int count0, int count1) vi_O() argument 1085 vi_D(char reg, int count0, int count1) vi_D() argument 1097 vi_I(char reg, int count0, int count1) vi_I() argument 1104 vi_join(char reg, int count0, int count1) vi_join() argument 1116 vi_find_next(char reg, int count0, int count1) vi_find_next() argument [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-snvs.c | 90 u32 count1, count2; in rtc_read_lp_counter_lsb() local 94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 96 count2 = count1; in rtc_read_lp_counter_lsb() 97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 98 diff = count1 - count2; in rtc_read_lp_counter_lsb() 105 *lsb = count1; in rtc_read_lp_counter_lsb() 111 u32 count1, count2; in rtc_write_sync_lp() local 116 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp() 125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-snvs.c | 90 u32 count1, count2; in rtc_read_lp_counter_lsb() local 94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 96 count2 = count1; in rtc_read_lp_counter_lsb() 97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 98 diff = count1 - count2; in rtc_read_lp_counter_lsb() 105 *lsb = count1; in rtc_read_lp_counter_lsb() 111 u32 count1, count2; in rtc_write_sync_lp() local 116 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp() 125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
H A D | 2-1.c | 199 int count1; /* number of children currently waiting (1st pass) */ member 224 td->count1++; in child() 226 timed = td->count1 & 1; in child() 254 td->count1--; in child() 528 td->count1 = 0; in main() 569 ch = td->count1; in main() 583 ch = td->count1; in main() 634 ch = td->count1; in main() 648 ch = td->count1; in main()
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
H A D | pshrec.c | 378 FT_UInt count1 = mask1->num_bits; in ps_mask_table_test_intersect() local 383 count = FT_MIN( count1, count2 ); in ps_mask_table_test_intersect() 427 FT_UInt count1 = mask1->num_bits; in ps_mask_table_merge() local 439 /* if "count2" is greater than "count1", we need to grow the */ in ps_mask_table_merge() 441 if ( count2 > count1 ) in ps_mask_table_merge() 447 for ( pos = count1; pos < count2; pos++ ) in ps_mask_table_merge() 997 FT_UInt count1 = dim[0].hints.num_hints; in ps_hints_t2mask() local 1002 if ( bit_count != count1 + count2 ) in ps_hints_t2mask() 1006 bit_count, count1 + count2 )); in ps_hints_t2mask() 1013 error = ps_dimension_set_mask_bits( &dim[0], bytes, count2, count1, in ps_hints_t2mask() 1042 FT_UInt count1 = dim[0].hints.num_hints; ps_hints_t2counter() local [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_pixel_buffer.cpp | 45 uint32 &count1, in OptimizeOrder() 62 Abs_int32 (sStep1) * (count1 - 1) + in OptimizeOrder() 66 Abs_int32 (dStep1) * (count1 - 1) + in OptimizeOrder() 90 (((const uint8 *) sPtr) + (int32)(count1 - 1) * sStep1 * (int32)sPixelSize); in OptimizeOrder() 93 (((uint8 *) dPtr) + (int32)(count1 - 1) * dStep1 * (int32)dPixelSize); in OptimizeOrder() 141 (((const uint8 *) sPtr) + (int32)(count1 - 1) * sStep1 * (int32)sPixelSize); in OptimizeOrder() 144 (((uint8 *) dPtr) + (int32)(count1 - 1) * dStep1 * (int32)dPixelSize); in OptimizeOrder() 172 if (count1 == 1) step1 = 0xFFFFFFFF; in OptimizeOrder() 234 count [1] = count1; in OptimizeOrder() 238 count1 in OptimizeOrder() 40 OptimizeOrder(const void *&sPtr, void *&dPtr, uint32 sPixelSize, uint32 dPixelSize, uint32 &count0, uint32 &count1, uint32 &count2, int32 &sStep0, int32 &sStep1, int32 &sStep2, int32 &dStep0, int32 &dStep1, int32 &dStep2) OptimizeOrder() argument 277 OptimizeOrder(const void *&sPtr, uint32 sPixelSize, uint32 &count0, uint32 &count1, uint32 &count2, int32 &sStep0, int32 &sStep1, int32 &sStep2) OptimizeOrder() argument 311 OptimizeOrder(void *&dPtr, uint32 dPixelSize, uint32 &count0, uint32 &count1, uint32 &count2, int32 &dStep0, int32 &dStep1, int32 &dStep2) OptimizeOrder() argument [all...] |
/third_party/alsa-utils/alsaloop/ |
H A D | pcmjob.c | 511 snd_pcm_uframes_t count, count1, cpos, ppos; 519 count1 = count; 520 if (count1 + cpos > capt->buf_size) 521 count1 = capt->buf_size - cpos; 522 if (count1 > buf_avail(play)) 523 count1 = buf_avail(play); 524 if (count1 + ppos > play->buf_size) 525 count1 = play->buf_size - ppos; 526 if (count1 == 0) 530 count1 * cap 548 snd_pcm_uframes_t count, pos, count1, pos1; buf_add_src() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | collationweights.cpp | 446 // Calculate how to split the range between minLength (count1) and minLength+1 (count2). in allocWeightsInMinLengthRanges() 448 // count1 + count2 * nextCountBytes = n in allocWeightsInMinLengthRanges() 449 // count1 + count2 = count in allocWeightsInMinLengthRanges() 452 // and then into the following count1 & count2 computations. in allocWeightsInMinLengthRanges() 454 int32_t count1 = count - count2; // number of minLength weights in allocWeightsInMinLengthRanges() local 455 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) { in allocWeightsInMinLengthRanges() 458 --count1; in allocWeightsInMinLengthRanges() 459 U_ASSERT((count1 + count2 * nextCountBytes) >= n); in allocWeightsInMinLengthRanges() 464 if(count1 == 0) { in allocWeightsInMinLengthRanges() 474 splitRange, rangeCount, count1, count in allocWeightsInMinLengthRanges() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationweights.cpp | 446 // Calculate how to split the range between minLength (count1) and minLength+1 (count2). in allocWeightsInMinLengthRanges() 448 // count1 + count2 * nextCountBytes = n in allocWeightsInMinLengthRanges() 449 // count1 + count2 = count in allocWeightsInMinLengthRanges() 452 // and then into the following count1 & count2 computations. in allocWeightsInMinLengthRanges() 454 int32_t count1 = count - count2; // number of minLength weights in allocWeightsInMinLengthRanges() local 455 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) { in allocWeightsInMinLengthRanges() 458 --count1; in allocWeightsInMinLengthRanges() 459 U_ASSERT((count1 + count2 * nextCountBytes) >= n); in allocWeightsInMinLengthRanges() 464 if(count1 == 0) { in allocWeightsInMinLengthRanges() 474 splitRange, rangeCount, count1, count in allocWeightsInMinLengthRanges() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationweights.cpp | 446 // Calculate how to split the range between minLength (count1) and minLength+1 (count2). in allocWeightsInMinLengthRanges() 448 // count1 + count2 * nextCountBytes = n in allocWeightsInMinLengthRanges() 449 // count1 + count2 = count in allocWeightsInMinLengthRanges() 452 // and then into the following count1 & count2 computations. in allocWeightsInMinLengthRanges() 454 int32_t count1 = count - count2; // number of minLength weights in allocWeightsInMinLengthRanges() local 455 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) { in allocWeightsInMinLengthRanges() 458 --count1; in allocWeightsInMinLengthRanges() 459 U_ASSERT((count1 + count2 * nextCountBytes) >= n); in allocWeightsInMinLengthRanges() 464 if(count1 == 0) { in allocWeightsInMinLengthRanges() 474 splitRange, rangeCount, count1, count in allocWeightsInMinLengthRanges() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | string_view.h | 422 constexpr int compare(size_type pos1, size_type count1, string_view v) const { 423 return substr(pos1, count1).compare(v); 428 constexpr int compare(size_type pos1, size_type count1, string_view v, 430 return substr(pos1, count1).compare(v.substr(pos2, count2)); 439 constexpr int compare(size_type pos1, size_type count1, const char* s) const { 440 return substr(pos1, count1).compare(string_view(s)); 445 constexpr int compare(size_type pos1, size_type count1, const char* s, 447 return substr(pos1, count1).compare(string_view(s, count2));
|