/third_party/alsa-lib/include/ |
H A D | local.h | 254 int _snd_safe_strtoll_base(const char *str, long long *val, int base); 255 static inline int safe_strtoll(const char *str, long long *val) { return safe_strtoll_base(str, val, 0); } in safe_strtoll() argument 257 int _snd_safe_strtol_base(const char *str, long *val, int base); 258 static inline int safe_strtol(const char *str, long *val) { return safe_strtol_base(str, val, 0); } in safe_strtol() argument 260 int _snd_safe_strtod(const char *str, double *val);
|
/third_party/node/lib/internal/ |
H A D | freeze_intrinsics.js | 395 // If val is something we should be freezing but aren't yet, 397 function enqueue(val) { 398 if (Object(val) !== val) { 402 const type = typeof val; 406 if (frozenSet.has(val) || freezingSet.has(val)) { 411 freezingSet.add(val); // TODO: Use uncurried form
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
H A D | pthread_create.c | 25 int val = __thread_list_lock; in __tl_lock() local 26 if (val == tid) { in __tl_lock() 30 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() 31 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock() 47 int val = __thread_list_lock; in __tl_sync() local 48 if (!val) return; in __tl_sync() 49 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_sync()
|
/third_party/musl/src/thread/liteos_a/ |
H A D | pthread_create.c | 25 int val = __thread_list_lock; in __tl_lock() local 26 if (val == tid) { in __tl_lock() 30 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() 31 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock() 47 int val = __thread_list_lock; in __tl_sync() local 48 if (!val) return; in __tl_sync() 49 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_sync()
|
/third_party/libinput/src/ |
H A D | util-prop-parsers.c | 467 int val = libevdev_property_from_name(s); in parse_input_prop_property() local 468 if (val == -1) in parse_input_prop_property() 470 prop = (unsigned int)val; in parse_input_prop_property() 504 int *val; in parse_evdev_abs_prop() local 513 val = values; in parse_evdev_abs_prop() 525 *val = v; in parse_evdev_abs_prop() 532 val++; in parse_evdev_abs_prop()
|
/third_party/lzma/C/ |
H A D | CpuArch.c | 734 UInt32 val = 0;
in z7_sysctlbyname_Get_BoolInt() local 735 if (z7_sysctlbyname_Get_UInt32(name, &val) == 0 && val == 1)
in z7_sysctlbyname_Get_BoolInt() 814 int z7_sysctlbyname_Get_UInt32(const char *name, UInt32 *val)
in z7_sysctlbyname_Get_UInt32() argument 816 size_t bufSize = sizeof(*val);
in z7_sysctlbyname_Get_UInt32() 817 const int res = z7_sysctlbyname_Get(name, val, &bufSize);
in z7_sysctlbyname_Get_UInt32() 818 if (res == 0 && bufSize != sizeof(*val))
in z7_sysctlbyname_Get_UInt32()
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_mlaa.c | 220 unsigned int val, bool iscolor) in pp_jimenezmlaa_init_run() 235 pp_debug("mlaa: using %u max search steps\n", val); in pp_jimenezmlaa_init_run() 239 "%s\n", blend2fs_1, (float) val, blend2fs_2); in pp_jimenezmlaa_init_run() 299 pp_jimenezmlaa_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) in pp_jimenezmlaa_init() argument 301 return pp_jimenezmlaa_init_run(ppq, n, val, false); in pp_jimenezmlaa_init() 307 unsigned int val) in pp_jimenezmlaa_init_color() 309 return pp_jimenezmlaa_init_run(ppq, n, val, true); in pp_jimenezmlaa_init_color() 219 pp_jimenezmlaa_init_run(struct pp_queue_t *ppq, unsigned int n, unsigned int val, bool iscolor) pp_jimenezmlaa_init_run() argument 306 pp_jimenezmlaa_init_color(struct pp_queue_t *ppq, unsigned int n, unsigned int val) pp_jimenezmlaa_init_color() argument
|
/third_party/toybox/toys/pending/ |
H A D | arp.c | 52 int val; member 84 return arr[i].val; in get_index() 143 int val, len; in set_entry() local 146 if (!sscanf(hw_addr, "%2x%n", &val, &len)) break; in set_entry() 148 *p++ = val; in set_entry() 263 if (hwtype[i].val & h_type) break; in arp_main() 274 if (flag_type[i].val & flag) printf(" %s", flag_type[i].name); in arp_main()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | extension_set_inl.h | 106 uint64 val; \ in ParseFieldWithExtensionInfo() 107 ptr = VarintParse(ptr, &val); \ in ParseFieldWithExtensionInfo() 109 auto value = WireFormatLite::ZigZagDecode##SIZE(val); \ in ParseFieldWithExtensionInfo() 144 uint64 val; in ParseFieldWithExtensionInfo() local 145 ptr = VarintParse(ptr, &val); in ParseFieldWithExtensionInfo() 147 int value = val; in ParseFieldWithExtensionInfo() 151 WriteVarint(number, val, metadata->mutable_unknown_fields<T>()); in ParseFieldWithExtensionInfo()
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/ |
H A D | maps_test.js | 65 var val = iter.next(); 66 if (val.done) { 69 arr.push(val.value); 155 var val = entry[1]; 156 assert(val === msg.getMapStringMsgMap().get(key)); 159 msg.getMapStringMsgMap().forEach(function(val, key) { 160 assert(val === msg.getMapStringMsgMap().get(key));
|
/third_party/libbpf/src/ |
H A D | relo_core.c | 681 __u64 *val, __u32 *field_sz, __u32 *type_id, in bpf_core_calc_field_relo() 695 *val = spec ? 1 : 0; in bpf_core_calc_field_relo() 708 *val = spec->bit_offset / 8; in bpf_core_calc_field_relo() 719 *val = sz; in bpf_core_calc_field_relo() 768 *val = byte_off; in bpf_core_calc_field_relo() 775 *val = byte_sz; in bpf_core_calc_field_relo() 778 *val = (btf_is_any_enum(mt) && BTF_INFO_KFLAG(mt->info)) || in bpf_core_calc_field_relo() 785 *val = 64 - (bit_off + bit_sz - byte_off * 8); in bpf_core_calc_field_relo() 787 *val = (8 - byte_sz) * 8 + (bit_off - byte_off * 8); in bpf_core_calc_field_relo() 791 *val in bpf_core_calc_field_relo() 678 bpf_core_calc_field_relo(const char *prog_name, const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, __u32 *field_sz, __u32 *type_id, bool *validate) bpf_core_calc_field_relo() argument 803 bpf_core_calc_type_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, bool *validate) bpf_core_calc_type_relo() argument 847 bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val) bpf_core_calc_enumval_relo() argument [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | backend-native.c | 592 int indicator, val; in hfp_rfcomm_handle() local 603 if (c->state == 0 && sscanf(buf, "AT+BRSF=%d", &val) == 1) { in hfp_rfcomm_handle() 604 c->capabilities = val; in hfp_rfcomm_handle() 605 pa_log_info("HFP capabilities returns 0x%x", val); in hfp_rfcomm_handle() 670 } else if (sscanf(buf, "AT+BCS=%d", &val)) { in hfp_rfcomm_handle() 671 if (val == 1) { in hfp_rfcomm_handle() 673 } else if (val == 2 && pa_bluetooth_discovery_get_enable_msbc(t->device->discovery)) { in hfp_rfcomm_handle() 676 pa_assert_fp(val != 1 && val != 2); in hfp_rfcomm_handle() 681 c->selected_codec = val; in hfp_rfcomm_handle() 811 int key, val, i; rfcomm_io_callback() local [all...] |
/third_party/toybox/lib/ |
H A D | lib.c | 307 long long val; in atolx() local 309 val = xstrtol(numstr, &c, 0); in atolx() 313 if (shift==-1) val *= 2; in atolx() 314 else if (!shift) val *= 512; in atolx() 316 if (*c && tolower(*c++)=='d') while (shift--) val *= 1000; in atolx() 317 else val *= 1LL<<(shift*10); in atolx() 323 return val; in atolx() 328 long long val = atolx(numstr); in atolx_range() local 330 if (val < low) error_exit("%lld < %lld", val, lo in atolx_range() 668 poke_le(void *ptr, long long val, unsigned size) poke_le() argument 678 poke_be(void *ptr, long long val, unsigned size) poke_be() argument 688 poke(void *ptr, long long val, unsigned size) poke() argument [all...] |
/third_party/backends/backend/ |
H A D | artec_eplus48u.c | 681 int black_level = s->val[OPT_BLACK_LEVEL].w; in copy_scan_line() 2582 double gamma = SANE_UNFIX (s->val[OPT_GAMMA].w); in calculateGamma() 2599 double gamma = SANE_UNFIX (s->val[OPT_GAMMA_R].w); in calculateGammaRed() 2616 double gamma = SANE_UNFIX (s->val[OPT_GAMMA_G].w); in calculateGammaGreen() 2633 double gamma = SANE_UNFIX (s->val[OPT_GAMMA_B].w); in calculateGammaBlue() 2728 memset (s->val, 0, sizeof (s->val)); in init_options() 2743 s->val[OPT_NUM_OPTS].w = NUM_OPTIONS; in init_options() 2761 s->val[OPT_SCAN_MODE].s = strdup (mode_list[1]); in init_options() 2770 s->val[OPT_BIT_DEPT in init_options() 2994 int val; calculate_contrast() local [all...] |
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttinterp.c | 1959 FT_F26Dot6 val; in Round_None() local 1964 val = ADD_LONG( distance, compensation ); in Round_None() 1965 if ( val < 0 ) in Round_None() 1966 val = 0; in Round_None() 1970 val = SUB_LONG( distance, compensation ); in Round_None() 1971 if ( val > 0 ) in Round_None() 1972 val = 0; in Round_None() 1974 return val; in Round_None() 2002 FT_F26Dot6 val; in Round_To_Grid() local 2007 val in Round_To_Grid() 2047 FT_F26Dot6 val; Round_To_Half_Grid() local 2094 FT_F26Dot6 val; Round_Down_To_Grid() local 2138 FT_F26Dot6 val; Round_Up_To_Grid() local 2183 FT_F26Dot6 val; Round_To_Double_Grid() local 2234 FT_F26Dot6 val; Round_Super() local 2288 FT_F26Dot6 val; Round_Super_45() local 6555 FT_F26Dot6 val; Ins_ISECT() local [all...] |
/third_party/python/Python/ |
H A D | Python-ast.c | 5513 stmt_ty val; in obj2ast_mod() local 5519 res = obj2ast_stmt(state, tmp2, &val, arena); in obj2ast_mod() 5527 asdl_seq_SET(body, i, val); in obj2ast_mod() 5550 type_ignore_ty val; in obj2ast_mod() local 5556 res = obj2ast_type_ignore(state, tmp2, &val, arena); in obj2ast_mod() 5564 asdl_seq_SET(type_ignores, i, val); in obj2ast_mod() 5599 stmt_ty val; in obj2ast_mod() local 5605 res = obj2ast_stmt(state, tmp2, &val, arena); in obj2ast_mod() 5613 asdl_seq_SET(body, i, val); in obj2ast_mod() 5678 expr_ty val; in obj2ast_mod() local 5875 stmt_ty val; obj2ast_stmt() local 5912 expr_ty val; obj2ast_stmt() local 6036 stmt_ty val; obj2ast_stmt() local 6073 expr_ty val; obj2ast_stmt() local 6180 expr_ty val; obj2ast_stmt() local 6217 keyword_ty val; obj2ast_stmt() local 6254 stmt_ty val; obj2ast_stmt() local 6291 expr_ty val; obj2ast_stmt() local 6372 expr_ty val; obj2ast_stmt() local 6424 expr_ty val; obj2ast_stmt() local 6696 stmt_ty val; obj2ast_stmt() local 6733 stmt_ty val; obj2ast_stmt() local 6838 stmt_ty val; obj2ast_stmt() local 6875 stmt_ty val; obj2ast_stmt() local 6962 stmt_ty val; obj2ast_stmt() local 6999 stmt_ty val; obj2ast_stmt() local 7068 stmt_ty val; obj2ast_stmt() local 7105 stmt_ty val; obj2ast_stmt() local 7157 withitem_ty val; obj2ast_stmt() local 7194 stmt_ty val; obj2ast_stmt() local 7263 withitem_ty val; obj2ast_stmt() local 7300 stmt_ty val; obj2ast_stmt() local 7385 match_case_ty val; obj2ast_stmt() local 7486 stmt_ty val; obj2ast_stmt() local 7523 excepthandler_ty val; obj2ast_stmt() local 7560 stmt_ty val; obj2ast_stmt() local 7597 stmt_ty val; obj2ast_stmt() local 7650 stmt_ty val; obj2ast_stmt() local 7687 excepthandler_ty val; obj2ast_stmt() local 7724 stmt_ty val; obj2ast_stmt() local 7761 stmt_ty val; obj2ast_stmt() local 7859 alias_ty val; obj2ast_stmt() local 7928 alias_ty val; obj2ast_stmt() local 7995 identifier val; obj2ast_stmt() local 8045 identifier val; obj2ast_stmt() local 8271 expr_ty val; obj2ast_expr() local 8598 expr_ty val; obj2ast_expr() local 8635 expr_ty val; obj2ast_expr() local 8685 expr_ty val; obj2ast_expr() local 8753 comprehension_ty val; obj2ast_expr() local 8821 comprehension_ty val; obj2ast_expr() local 8907 comprehension_ty val; obj2ast_expr() local 8975 comprehension_ty val; obj2ast_expr() local 9134 cmpop_ty val; obj2ast_expr() local 9171 expr_ty val; obj2ast_expr() local 9240 expr_ty val; obj2ast_expr() local 9277 keyword_ty val; obj2ast_expr() local 9394 expr_ty val; obj2ast_expr() local 9721 expr_ty val; obj2ast_expr() local 9789 expr_ty val; obj2ast_expr() local 10276 expr_ty val; obj2ast_comprehension() local 10466 stmt_ty val; obj2ast_excepthandler() local 10528 arg_ty val; obj2ast_arguments() local 10565 arg_ty val; obj2ast_arguments() local 10619 arg_ty val; obj2ast_arguments() local 10656 expr_ty val; obj2ast_arguments() local 10710 expr_ty val; obj2ast_arguments() local 11230 stmt_ty val; obj2ast_match_case() local 11427 pattern_ty val; obj2ast_pattern() local 11479 expr_ty val; obj2ast_pattern() local 11516 pattern_ty val; obj2ast_pattern() local 11603 pattern_ty val; obj2ast_pattern() local 11640 identifier val; obj2ast_pattern() local 11677 pattern_ty val; obj2ast_pattern() local 11806 pattern_ty val; obj2ast_pattern() local [all...] |
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnn.c | 169 struct rnnvalue *val = parsevalue(db, file, node); in trytypetag() local 170 if (val) in trytypetag() 171 ADDARRAY(ti->vals, val); in trytypetag() 221 struct rnnvalue *val = calloc(sizeof *val, 1); in parsevalue() local 222 val->file = file; in parsevalue() 226 val->name = strdup(getattrib(db, file, node->line, attr)); in parsevalue() 228 val->value = getnumattrib(db, file, node->line, attr); in parsevalue() 229 val->valvalid = 1; in parsevalue() 231 val in parsevalue() 347 struct rnnvalue *val = parsevalue(db, file, chain); parseenum() local 960 copyvalue(struct rnnvalue *val, char *file) copyvalue() argument 1145 prepvalue(struct rnndb *db, struct rnnvalue *val, char *prefix, struct rnnvarinfo *parvi) prepvalue() argument [all...] |
/third_party/libinput/test/ |
H A D | test-pad.c | 406 int val; in START_TEST() local 432 for (val = 0; val < 100.0; val += 1) { in START_TEST() 433 litest_pad_ring_change(dev, val); in START_TEST() 506 int val; in START_TEST() local 517 for (val = 0; val < 100; val += 9.5) { in START_TEST() 518 litest_pad_strip_change(dev, val); in START_TEST() 660 int val; START_TEST() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/ |
H A D | esextcTextureBorderClampSamplingTexture.cpp | 464 glw::GLfloat val = (glw::GLfloat)m_test_configuration.get_init_border_color(); in iterate() local 465 glw::GLfloat border_color[] = { val, val, val, val }; in iterate() 471 glw::GLuint val = (glw::GLuint)m_test_configuration.get_init_border_color(); in iterate() local 472 glw::GLuint border_color[] = { val, val, val, val }; in iterate() 478 glw::GLint val = (glw::GLint)m_test_configuration.get_init_border_color(); iterate() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | ShaderCore.hpp | 145 inline void Store(T val, OutOfBoundsBehavior robustness, Int mask, bool atomic = false, std::memory_order order = std::memory_order_relaxed); 148 inline void Store(RValue<T> val, OutOfBoundsBehavior robustness, Int mask, bool atomic = false, std::memory_order order = std::memory_order_relaxed); 238 rr::RValue<sw::SIMD::Float> Sign(rr::RValue<sw::SIMD::Float> const &val); 240 // Returns the <whole, frac> of val. 241 // Both whole and frac will have the same sign as val. 243 Modf(rr::RValue<sw::SIMD::Float> const &val); 422 inline void SIMD::Pointer::Store(T val, OutOfBoundsBehavior robustness, Int mask, bool atomic /* = false */, std::memory_order order /* = std::memory_order_relaxed */) in Store() argument 449 auto maskedVal = As<SIMD::Int>(val) & elect; in Store() 465 *p = (prev & ~mask) | (As<SIMD::Int>(val) & mask); in Store() 469 rr::Scatter(rr::Pointer<EL>(base), val, off in Store() local [all...] |
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/ |
H A D | header.cpp | 127 virtual std::string fmtConstInt(unsigned val, const std::string& name, in fmtConstInt() argument 138 static std::string fmtNum(const char* fmt, unsigned val) { in fmtNum() argument 140 snprintf(buff, sizeof(buff), fmt, val); in fmtNum() 400 std::string fmtConstInt(unsigned val, const std::string& name, 402 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); 491 virtual std::string fmtConstInt(unsigned val, const std::string& name, 495 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 673 virtual std::string fmtConstInt(unsigned val, const std::string& name, 676 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 702 std::string fmtConstInt(unsigned val, cons [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/ |
H A D | header.cpp | 127 virtual std::string fmtConstInt(unsigned val, const std::string& name, in fmtConstInt() argument 138 static std::string fmtNum(const char* fmt, unsigned val) { in fmtNum() argument 140 snprintf(buff, sizeof(buff), fmt, val); in fmtNum() 400 std::string fmtConstInt(unsigned val, const std::string& name, 402 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); 491 virtual std::string fmtConstInt(unsigned val, const std::string& name, 495 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 673 virtual std::string fmtConstInt(unsigned val, const std::string& name, 676 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 702 std::string fmtConstInt(unsigned val, cons [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | networkconfig.cpp | 644 char *val; in paramsFromConfig() local 645 val = reply + 1; in paramsFromConfig() 646 while (*(val + 1)) in paramsFromConfig() 647 val++; in paramsFromConfig() 648 if (*val == '"') in paramsFromConfig() 649 *val = '\0'; in paramsFromConfig() 655 val = reply + 2; in paramsFromConfig() 656 memcpy(val, "EAP-", 4); in paramsFromConfig() 660 val = reply + 5; in paramsFromConfig() 661 memcpy(val, "EA in paramsFromConfig() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | networkconfig.cpp | 644 char *val; in paramsFromConfig() local 645 val = reply + 1; in paramsFromConfig() 646 while (*(val + 1)) in paramsFromConfig() 647 val++; in paramsFromConfig() 648 if (*val == '"') in paramsFromConfig() 649 *val = '\0'; in paramsFromConfig() 655 val = reply + 2; in paramsFromConfig() 656 memcpy(val, "EAP-", 4); in paramsFromConfig() 660 val = reply + 5; in paramsFromConfig() 661 memcpy(val, "EA in paramsFromConfig() [all...] |
/applications/standard/app_samples/code/BasicFeature/Native/NdkOpenGL/entry/src/main/cpp/include/util/ |
H A D | native_common.h | 58 #define DECLARE_NAPI_PROPERTY(name, val) \ 60 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \ 63 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ 65 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|