Home
last modified time | relevance | path

Searched refs:get_count (Results 1 – 25 of 53) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/ldso_cfi/
Dldso_cfi_check.c46 GET_COUNT get_count = NULL; variable
102 *(void **)(&get_count) = dlsym(handle, "get_count"); in cfi_slowpath_function_test_0002()
108 size_t count = (*get_count)(); in cfi_slowpath_function_test_0002()
114 EXPECT_EQ("cfi_slowpath_function_test_0002", ++count, (*get_count)()); in cfi_slowpath_function_test_0002()
135 *(void **)(&get_count) = dlsym(handle, "get_count"); in cfi_slowpath_function_test_0003()
142 size_t count = (*get_count)(); in cfi_slowpath_function_test_0003()
147 EXPECT_EQ("cfi_slowpath_function_test_0003", count, (*get_count)()); in cfi_slowpath_function_test_0003()
165 *(void **)(&get_count) = dlsym(handle, "get_count"); in cfi_slowpath_function_test_0004()
167 size_t count = (*get_count)(); in cfi_slowpath_function_test_0004()
169 EXPECT_EQ("cfi_slowpath_function_test_0004", count, (*get_count)()); in cfi_slowpath_function_test_0004()
[all …]
Dldso_cfi_test_lib.c38 size_t get_count() { in get_count() function
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-cs-common.hh68 unsigned int nSubrs = get_count (); in init()
79 unsigned int get_count () const { return (subrs == nullptr)? 0: subrs->count; } in get_count() function
155 if (unlikely ((n < 0) || ((unsigned int)n >= biasedSubrs.get_count ()))) in pop_subr_num()
167 || callStack.get_count () >= kMaxCallLimit)) in call_subr()
191 vstem_count += SUPER::argStack.get_count() / 2; in determine_hintmask_size()
377 env.hstem_count += env.argStack.get_count () / 2; in process_hstem()
383 env.vstem_count += env.argStack.get_count () / 2; in process_vstem()
428 env.pop_n_args (env.argStack.get_count ()); in flush_args()
490 for (unsigned int i = 0; i + 2 <= env.argStack.get_count (); i += 2) in rlineto()
502 for (; i + 2 <= env.argStack.get_count (); i += 2) in hlineto()
[all …]
Dhb-cff1-interp-cs.hh54 if (likely (!processed_width && (SUPER::argStack.get_count () > 0))) in set_width()
99 if (env.argStack.get_count () >= 4) in process_op()
126 has_width = ((env.argStack.get_count () & 1) != 0); in check_width()
130 has_width = (env.argStack.get_count () > 1); in check_width()
133 has_width = (env.argStack.get_count () > 2); in check_width()
Dhb-subset-cff1.cc94 unsigned get_count () const { return base->get_count () + SUPER::get_count (); } in get_count() function
97 if (i < base->get_count ()) in get_value()
100 return SUPER::values[i - base->get_count ()]; in get_value()
229 unsigned get_count () const { return base->get_count (); } in get_count() function
295 for (unsigned int i = env.arg_start; i < env.argStack.get_count (); i++) in flush_args()
412 for (unsigned int i = 0; i < env.callStack.get_count (); i++) in finalize_parsed_str()
683 …if (unlikely (sidmap.get_count () > 0x8000)) /* assumption: a dict won't reference that many strin… in create()
Dhb-cff-interp-common.hh477 unsigned int get_count () const { return count; } in get_count() function
602 for (unsigned int i = 0; i < get_count (); i++) in has_op()
607 unsigned get_count () const { return values.length; } in get_count() function
664 pop_n_args (argStack.get_count ()); in clear_args()
Dhb-cff2-interp-cs.hh239 unsigned int start = env.argStack.get_count () - ((k+1) * n); in process_blend()
241 if (unlikely (start > env.argStack.get_count ())) in process_blend()
Dhb-subset-cff-common.hh417 unsigned int parsed_len = get_count (); in add_call_op()
558 if (get_count () < 1240) in create()
560 else if (get_count () < 33900) in create()
768 unsigned int count = remap.get_count (); in encode_subrs()
972 for (unsigned int i = 0; i < str.get_count(); i++) in encode_str()
Dhb-ot-cff-common.hh336 for (unsigned int i = 0; i < dictval.get_count (); i++) in serialize()
351 for (unsigned int i = 0; i < dictval.get_count (); i++) in calculate_serialized_size()
361 for (unsigned int i = 0; i < dictval.get_count (); i++) in calculate_serialized_size()
459 hb_codepoint_t get_count () const { return count; } in get_count() function
/third_party/harfbuzz/src/
Dhb-cff-interp-cs-common.hh68 unsigned int nSubrs = get_count (); in init()
79 unsigned int get_count () const { return subrs ? subrs->count : 0; } in get_count() function
155 if (unlikely ((n < 0) || ((unsigned int)n >= biasedSubrs.get_count ()))) in pop_subr_num()
167 || callStack.get_count () >= kMaxCallLimit)) in call_subr()
191 vstem_count += SUPER::argStack.get_count() / 2; in determine_hintmask_size()
377 env.hstem_count += env.argStack.get_count () / 2; in process_hstem()
383 env.vstem_count += env.argStack.get_count () / 2; in process_vstem()
428 env.pop_n_args (env.argStack.get_count ()); in flush_args()
490 for (unsigned int i = 0; i + 2 <= env.argStack.get_count (); i += 2) in rlineto()
502 for (; i + 2 <= env.argStack.get_count (); i += 2) in hlineto()
[all …]
Dhb-cff1-interp-cs.hh54 if (likely (!processed_width && (SUPER::argStack.get_count () > 0))) in set_width()
99 if (env.argStack.get_count () >= 4) in process_op()
126 has_width = ((env.argStack.get_count () & 1) != 0); in check_width()
130 has_width = (env.argStack.get_count () > 1); in check_width()
133 has_width = (env.argStack.get_count () > 2); in check_width()
Dhb-subset-cff1.cc93 unsigned get_count () const { return base->get_count () + SUPER::get_count (); } in get_count() function
96 if (i < base->get_count ()) in get_value()
99 return SUPER::values[i - base->get_count ()]; in get_value()
235 for (unsigned int i = env.arg_start; i < env.argStack.get_count (); i++) in flush_args()
352 for (unsigned int i = 0; i < env.callStack.get_count (); i++) in complete_parsed_str()
Dhb-cff-interp-common.hh453 unsigned int get_count () const { return count; } in get_count() function
576 for (unsigned int i = 0; i < get_count (); i++) in has_op()
581 unsigned get_count () const { return values.length; } in get_count() function
626 void clear_args () { pop_n_args (argStack.get_count ()); } in clear_args()
Dhb-cff2-interp-cs.hh240 unsigned int start = env.argStack.get_count () - ((k+1) * n); in process_blend()
242 if (unlikely (start > env.argStack.get_count ())) in process_blend()
Dhb-ot-cff1-table.cc371 unsigned int n = env.argStack.get_count (); in process_seac()
525 unsigned int n = env.argStack.get_count (); in process_seac()
589 unsigned int n = env.argStack.get_count (); in process_seac()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-cs-common.hh68 unsigned int nSubrs = get_count (); in init()
79 unsigned int get_count () const { return subrs ? subrs->count : 0; } in get_count() function
155 if (unlikely ((n < 0) || ((unsigned int)n >= biasedSubrs.get_count ()))) in pop_subr_num()
167 || callStack.get_count () >= kMaxCallLimit)) in call_subr()
191 vstem_count += SUPER::argStack.get_count() / 2; in determine_hintmask_size()
377 env.hstem_count += env.argStack.get_count () / 2; in process_hstem()
383 env.vstem_count += env.argStack.get_count () / 2; in process_vstem()
428 env.pop_n_args (env.argStack.get_count ()); in flush_args()
490 for (unsigned int i = 0; i + 2 <= env.argStack.get_count (); i += 2) in rlineto()
502 for (; i + 2 <= env.argStack.get_count (); i += 2) in hlineto()
[all …]
Dhb-cff1-interp-cs.hh54 if (likely (!processed_width && (SUPER::argStack.get_count () > 0))) in set_width()
99 if (env.argStack.get_count () >= 4) in process_op()
126 has_width = ((env.argStack.get_count () & 1) != 0); in check_width()
130 has_width = (env.argStack.get_count () > 1); in check_width()
133 has_width = (env.argStack.get_count () > 2); in check_width()
Dhb-subset-cff1.cc93 unsigned get_count () const { return base->get_count () + SUPER::get_count (); } in get_count() function
96 if (i < base->get_count ()) in get_value()
99 return SUPER::values[i - base->get_count ()]; in get_value()
235 for (unsigned int i = env.arg_start; i < env.argStack.get_count (); i++) in flush_args()
352 for (unsigned int i = 0; i < env.callStack.get_count (); i++) in complete_parsed_str()
Dhb-cff-interp-common.hh453 unsigned int get_count () const { return count; } in get_count() function
576 for (unsigned int i = 0; i < get_count (); i++) in has_op()
581 unsigned get_count () const { return values.length; } in get_count() function
626 void clear_args () { pop_n_args (argStack.get_count ()); } in clear_args()
Dhb-cff2-interp-cs.hh240 unsigned int start = env.argStack.get_count () - ((k+1) * n); in process_blend()
242 if (unlikely (start > env.argStack.get_count ())) in process_blend()
Dhb-ot-cff1-table.cc371 unsigned int n = env.argStack.get_count (); in process_seac()
525 unsigned int n = env.argStack.get_count (); in process_seac()
589 unsigned int n = env.argStack.get_count (); in process_seac()
/third_party/python/Lib/test/
Dtest_capi.py1012 self.assertEqual(a.get_count(), b.get_count())
1013 self.assertEqual(a.get_count(), 0)
1016 self.assertEqual(a.get_count(), b.get_count())
1017 self.assertEqual(a.get_count(), 1)
1020 self.assertEqual(a.get_count(), b.get_count())
1021 self.assertEqual(a.get_count(), 4)
1024 self.assertEqual(a.get_count(), b.get_count())
1025 self.assertEqual(a.get_count(), 0)
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dlayout_array.rs67 pub get_count: rte_mempool_get_count, field
136 ::std::ptr::addr_of!((*ptr).get_count) as usize - ptr as usize in bindgen_test_layout_rte_mempool_ops()
143 stringify!(get_count) in bindgen_test_layout_rte_mempool_ops()
163 self.get_count == other.get_count in eq()
/third_party/rust/crates/clap/examples/tutorial_builder/
D03_01_flag_count.rs13 println!("verbose: {:?}", matches.get_count("verbose")); in main()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dlayout_array.h63 rte_mempool_get_count get_count; /**< Get qty of available objs. */ member

123