Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 49) sorted by relevance

12

/ndk/sources/host-tools/ndk-stack/elff/
Delf_file.h145 uint8_t pull_val(const uint8_t* val) const { in pull_val() argument
146 return *val; in pull_val()
148 uint8_t pull_val(const uint8_t& val) const { in pull_val() argument
149 return val; in pull_val()
151 int8_t pull_val(const int8_t* val) const { in pull_val() argument
152 return *val; in pull_val()
154 int8_t pull_val(const int8_t& val) const { in pull_val() argument
155 return val; in pull_val()
165 uint16_t pull_val(const uint16_t* val) const { in pull_val() argument
167 return *val; in pull_val()
[all …]
Ddwarf_defs.h169 Elf_Byte val; member
181 if (val == 0) { in get_common()
198 const Elf_Byte* cur = &val; in get_common()
268 return INC_CPTR(&val, value->encoded_size); in process()
303 return at.val == 0; in is_separator()
319 return INC_CPTR_T(Dwarf_Abbr_AT, &at.val, 2); in process()
322 Dwarf_Value val; in process() local
326 reinterpret_cast<const Dwarf_Leb128*>(at.process_unsigned(&val)); in process()
327 *at_value = val.u16; in process()
330 next = reinterpret_cast<const Dwarf_Leb128*>(next->process_unsigned(&val)); in process()
[all …]
Ddwarf_utils.h55 void dump_attrib(Dwarf_At at, Dwarf_Form form, const Dwarf_Value* val);
61 void dump_value(const Dwarf_Value* val);
Ddwarf_utils.cc23 #define DWARF_NAMEFY(val) case val: return "" #val "" argument
235 dump_attrib(Dwarf_At at, Dwarf_Form form, const Dwarf_Value* val) { in dump_attrib() argument
242 dump_value(val); in dump_attrib()
/ndk/tests/device/test-stlport/unit/
Dnum_put_get_test.cpp56 static bool check_float(float val, float ref) in check_float() argument
59 return val <= ref + epsilon && val >= ref - epsilon; in check_float()
62 static bool check_double(double val, double ref) in check_double() argument
65 return val <= ref + epsilon && val >= ref - epsilon; in check_double()
284 F val; in check_get_float() local
285 str >> val; in check_get_float()
288 CPPUNIT_ASSERT( limits::infinity() > val ); in check_get_float()
297 F val; in check_get_float() local
298 str >> val; in check_get_float()
301 CPPUNIT_ASSERT( limits::infinity() > val ); in check_get_float()
[all …]
Dnum_facets_test.cpp40 float val = 1234.56f; in _num_put_get() local
43 fostr << val; in _num_put_get()
55 val = 12345678.9f; in _num_put_get()
63 fostr << val; in _num_put_get()
66 val = 1000000000.0f; in _num_put_get()
68 fostr << val; in _num_put_get()
73 val = 1234.0f; in _num_put_get()
80 fostr << val; in _num_put_get()
83 val = 10000001.0f; in _num_put_get()
85 fostr << val; in _num_put_get()
Dmath_aux.h19 bool are_equals(_Tp val, _Tp ref) { in are_equals() argument
20 if (val < ref) { in are_equals()
21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
Dmemory_test.cpp28 auto_ptr<int> CreateAutoPtr(int val) in CreateAutoPtr() argument
29 { return auto_ptr<int>(new int(val)); } in CreateAutoPtr()
31 bool CheckEquality(auto_ptr<int> pint, int val) in CheckEquality() argument
32 { return *pint == val; } in CheckEquality()
Dbind_test.cpp39 int operator()(int incr, int& val) const in operator ()()
40 { return val += incr; } in operator ()()
45 int operator()(int& val, int incr) const in operator ()() argument
46 { return val += incr; } in operator ()()
Dlimits_test.cpp88 bool test_integral_limits(const _Tp &val, bool unknown_sign = true, bool is_signed = true) { in test_integral_limits() argument
89 if (!test_integral_limits_base(val, unknown_sign, is_signed)) in test_integral_limits()
173 _Tp val = lim::max(); in test_float_limits() local
174 val *= 2; in test_float_limits()
178 CHECK_COND(test_float_values(val, infinity)); in test_float_limits()
Dconfig_test.cpp55 int val = 0x01020304; in endianess() local
56 char *ptr = (char*)(&val); in endianess()
/ndk/tests/device/test-gnustl-full/unit/
Dnum_put_get_test.cpp56 static bool check_float(float val, float ref) in check_float() argument
59 return val <= ref + epsilon && val >= ref - epsilon; in check_float()
62 static bool check_double(double val, double ref) in check_double() argument
65 return val <= ref + epsilon && val >= ref - epsilon; in check_double()
284 F val; in check_get_float() local
285 str >> val; in check_get_float()
288 CPPUNIT_ASSERT( limits::infinity() > val ); in check_get_float()
297 F val; in check_get_float() local
298 str >> val; in check_get_float()
301 CPPUNIT_ASSERT( limits::infinity() > val ); in check_get_float()
[all …]
Dnum_facets_test.cpp40 float val = 1234.56f; in _num_put_get() local
43 fostr << val; in _num_put_get()
55 val = 12345678.9f; in _num_put_get()
63 fostr << val; in _num_put_get()
66 val = 1000000000.0f; in _num_put_get()
68 fostr << val; in _num_put_get()
73 val = 1234.0f; in _num_put_get()
80 fostr << val; in _num_put_get()
83 val = 10000001.0f; in _num_put_get()
85 fostr << val; in _num_put_get()
Dmath_aux.h19 bool are_equals(_Tp val, _Tp ref) { in are_equals() argument
20 if (val < ref) { in are_equals()
21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
Dmemory_test.cpp28 auto_ptr<int> CreateAutoPtr(int val) in CreateAutoPtr() argument
29 { return auto_ptr<int>(new int(val)); } in CreateAutoPtr()
31 bool CheckEquality(auto_ptr<int> pint, int val) in CheckEquality() argument
32 { return *pint == val; } in CheckEquality()
Dbind_test.cpp39 int operator()(int incr, int& val) const in operator ()()
40 { return val += incr; } in operator ()()
45 int operator()(int& val, int incr) const in operator ()() argument
46 { return val += incr; } in operator ()()
Dlimits_test.cpp88 bool test_integral_limits(const _Tp &val, bool unknown_sign = true, bool is_signed = true) { in test_integral_limits() argument
89 if (!test_integral_limits_base(val, unknown_sign, is_signed)) in test_integral_limits()
173 _Tp val = lim::max(); in test_float_limits() local
174 val *= 2; in test_float_limits()
178 CHECK_COND(test_float_values(val, infinity)); in test_float_limits()
Dconfig_test.cpp55 int val = 0x01020304; in endianess() local
56 char *ptr = (char*)(&val); in endianess()
/ndk/sources/host-tools/make-3.81/
Dar.c86 long int val; in ar_member_date() local
110 val = ar_scan (arname, ar_member_date_1, (long int) memname); in ar_member_date()
116 return (val <= 0 ? (time_t) -1 : (time_t) val); in ar_member_date()
146 register int val; in ar_touch() local
164 val = 1; in ar_touch()
181 val = 0; in ar_touch()
192 return val; in ar_touch()
Dexpand.c516 char *val; in allocated_variable_append() local
525 val = variable_append (v->name, strlen (v->name), current_variable_set_list); in allocated_variable_append()
526 variable_buffer_output (val, "", 1); in allocated_variable_append()
527 val = variable_buffer; in allocated_variable_append()
532 return val; in allocated_variable_append()
Dgetopt.c697 optopt = pfound->val; in _getopt_internal()
712 optopt = pfound->val; in _getopt_internal()
721 *(pfound->flag) = pfound->val; in _getopt_internal()
724 return pfound->val; in _getopt_internal()
893 *(pfound->flag) = pfound->val; in _getopt_internal()
896 return pfound->val; in _getopt_internal()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dquotearg.c628 char *val; member
644 free (sv[i].val); in quotearg_free()
645 if (sv[0].val != slot0) in quotearg_free()
647 free (sv[0].val); in quotearg_free()
649 slotvec0.val = slot0; in quotearg_free()
701 char *val = sv[n].val; in quotearg_n_options() local
704 size_t qsize = quotearg_buffer_restyled (val, size, arg, argsize, in quotearg_n_options()
711 if (val != slot0) in quotearg_n_options()
712 free (val); in quotearg_n_options()
713 sv[n].val = val = xcharalloc (size); in quotearg_n_options()
[all …]
Dgetopt.c514 || pfound->val != p->val) in _getopt_internal_r()
621 d->optopt = pfound->val; in _getopt_internal_r()
660 d->optopt = pfound->val; in _getopt_internal_r()
669 *(pfound->flag) = pfound->val; in _getopt_internal_r()
672 return pfound->val; in _getopt_internal_r()
1003 *(pfound->flag) = pfound->val; in _getopt_internal_r()
1006 return pfound->val; in _getopt_internal_r()
/ndk/sources/android/cpufeatures/
Dcpu-features.c231 int val = 0; in parse_decimal() local
236 val = val*10 + d; in parse_decimal()
242 *result = val; in parse_decimal()
300 int val, start_value, end_value; in cpulist_parse() local
325 for (val = start_value; val <= end_value; val++) { in cpulist_parse()
326 cpulist_set(list, val); in cpulist_parse()
/ndk/sources/cxx-stl/stlport/src/
Dnum_get_float.cpp149 void _Stl_set_exponent(uint64 &val, uint64 exp) in _Stl_set_exponent() argument
150 { val = (val & ~exponent_mask) | ((exp & bit11) << 52); } in _Stl_set_exponent()
331 double val; member
474 return drep.val; in _Stl_atod()
846 __string_to_float(const __iostring& v, float& val) in __string_to_float() argument
849 val = (float)_Stl_string_to_double(v.c_str()); in __string_to_float()
851 val = (float)_Stl_string_to_doubleT<double,ieee754_double,12,IEEE754_DOUBLE_BIAS>(v.c_str()); in __string_to_float()
856 __string_to_float(const __iostring& v, double& val) in __string_to_float() argument
859 val = _Stl_string_to_double(v.c_str()); in __string_to_float()
861 val = _Stl_string_to_doubleT<double,ieee754_double,12,IEEE754_DOUBLE_BIAS>(v.c_str()); in __string_to_float()
[all …]

12