/third_party/node/deps/base64/base64/lib/arch/neon64/ |
H A D | enc_loop.c | 13 out.val[0] = vqtbl4q_u8(tbl_enc, out.val[0]); in enc_loop_neon64_inner() 14 out.val[1] = vqtbl4q_u8(tbl_enc, out.val[1]); in enc_loop_neon64_inner() 15 out.val[2] = vqtbl4q_u8(tbl_enc, out.val[2]); in enc_loop_neon64_inner() 16 out.val[3] = vqtbl4q_u8(tbl_enc, out.val[3]); in enc_loop_neon64_inner()
|
/third_party/node/deps/npm/node_modules/debug/node_modules/ms/ |
H A D | index.js | 13 * Parse or format the given `val`. 19 * @param {String|Number} val 21 * @throws {Error} throw an error if val is not a non-empty string or a number 26 module.exports = function(val, options) { 28 var type = typeof val; 29 if (type === 'string' && val.length > 0) { 30 return parse(val); 31 } else if (type === 'number' && isFinite(val)) { 32 return options.long ? fmtLong(val) : fmtShort(val); [all...] |
/third_party/node/deps/npm/node_modules/ms/ |
H A D | index.js | 13 * Parse or format the given `val`. 19 * @param {String|Number} val 21 * @throws {Error} throw an error if val is not a non-empty string or a number 26 module.exports = function (val, options) { 28 var type = typeof val; 29 if (type === 'string' && val.length > 0) { 30 return parse(val); 31 } else if (type === 'number' && isFinite(val)) { 32 return options.long ? fmtLong(val) : fmtShort(val); [all...] |
/third_party/lwip/src/include/lwip/ |
H A D | lowpower.h | 80 #define SET_TMR_TICK(tick, val) do { \ 81 if ((val) > 0) { \ 83 (tick) = (val); \ 85 (tick) = (tick) > (val) ? (val) : (tick); \ 143 #define LOWPOWER_SEM_NEW(lock, val) \ 145 (val) = sys_sem_new(&(lock), 0); \ 154 void sys_timeout_set_wake_time(u32_t val);
|
/third_party/mesa3d/src/util/ |
H A D | u_atomic.c | 53 __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) in __sync_add_and_fetch_8() argument 58 *ptr += val; in __sync_add_and_fetch_8() 66 __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) in __sync_sub_and_fetch_8() argument 71 *ptr -= val; in __sync_sub_and_fetch_8() 79 __sync_fetch_and_add_8(uint64_t *ptr, uint64_t val) in __sync_fetch_and_add_8() argument 85 *ptr += val; in __sync_fetch_and_add_8() 92 __sync_fetch_and_sub_8(uint64_t *ptr, uint64_t val) in __sync_fetch_and_sub_8() argument 98 *ptr -= val; in __sync_fetch_and_sub_8()
|
/third_party/backends/backend/ |
H A D | mustek_usb.c | 127 SANE_String val; in calc_parameters() local 132 val = s->val[OPT_MODE].s; in calc_parameters() 136 if (!strcmp (val, SANE_VALUE_SCAN_MODE_LINEART)) in calc_parameters() 143 else if (!strcmp (val, SANE_VALUE_SCAN_MODE_GRAY)) in calc_parameters() 150 else if (!strcmp (val, SANE_VALUE_SCAN_MODE_COLOR)) in calc_parameters() 159 DBG (1, "calc_parameters: invalid mode %s\n", (SANE_Char *) val); in calc_parameters() 163 s->tl_x = SANE_UNFIX (s->val[OPT_TL_X].w) / MM_PER_INCH; in calc_parameters() 164 s->tl_y = SANE_UNFIX (s->val[OPT_TL_Y].w) / MM_PER_INCH; in calc_parameters() 165 s->width = SANE_UNFIX (s->val[OPT_BR_ in calc_parameters() 1169 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int * info) sane_control_option() argument 1386 SANE_String val; sane_start() local [all...] |
H A D | s9036.c | 281 double pixels_per_mm = (double) s->val[OPT_RESOLUTION] / MM_PER_INCH; in set_window() 287 int brightness = auto_bright ? 0 : (SANE_UNFIX (s->val[OPT_BRIGHTNESS]) in set_window() 290 int contrast = auto_contr ? 0 : (SANE_UNFIX (s->val[OPT_CONTRAST]) in set_window() 294 int bright_adjust = auto_bright ? 20 - s->val[OPT_BRIGHT_ADJUST] : 0; in set_window() 296 int contr_adjust = auto_contr ? (256 - s->val[OPT_CONTR_ADJUST]) % 256 : 0; in set_window() 358 s->val[OPT_DEPTH], s->val[OPT_RESOLUTION], in set_window() 369 set_size (cmd.wd.x_axis_res, 2, s->val[OPT_RESOLUTION]); in set_window() 370 set_size (cmd.wd.y_axis_res, 2, s->val[OPT_RESOLUTION]); in set_window() 375 SANE_UNFIX (s->val[OPT_TL_ in set_window() 967 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int * info) sane_control_option() argument [all...] |
H A D | ricoh.c | 321 memset (s->val, 0, sizeof (s->val)); in init_options() 333 s->val[OPT_NUM_OPTS].w = NUM_OPTIONS; in init_options() 350 s->val[OPT_MODE].s = strdup (mode_list[s->hw->info.image_mode_default]); in init_options() 360 s->val[OPT_X_RESOLUTION].w = s->hw->info.xres_default; in init_options() 373 s->val[OPT_Y_RESOLUTION].w = s->hw->info.yres_default; in init_options() 394 s->val[OPT_TL_X].w = 0; in init_options() 404 s->val[OPT_TL_Y].w = 0; in init_options() 414 s->val[OPT_BR_X].w = default_x_range.max; in init_options() 424 s->val[OPT_BR_ in init_options() 652 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int * info) sane_control_option() argument [all...] |
H A D | epson.c | 1064 set_cmd (Epson_Scanner * s, u_char cmd, int val) in set_cmd() argument 1079 params[0] = val; in set_cmd() 1274 cct[0] = s->val[OPT_CCT_1].w; in set_color_correction_coefficients() 1275 cct[1] = s->val[OPT_CCT_2].w; in set_color_correction_coefficients() 1276 cct[2] = s->val[OPT_CCT_3].w; in set_color_correction_coefficients() 1277 cct[3] = s->val[OPT_CCT_4].w; in set_color_correction_coefficients() 1278 cct[4] = s->val[OPT_CCT_5].w; in set_color_correction_coefficients() 1279 cct[5] = s->val[OPT_CCT_6].w; in set_color_correction_coefficients() 1280 cct[6] = s->val[OPT_CCT_7].w; in set_color_correction_coefficients() 1281 cct[7] = s->val[OPT_CCT_ in set_color_correction_coefficients() 4638 int val; sane_start() local 4693 int val = color_params[s->val[OPT_COLOR_CORRECTION].w]; sane_start() local 5982 int val = buf[2] << 8 | buf[1]; get_identity_information() local 6032 int val = 0x12 << 8 | 0xC0; get_identity_information() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | bmvvideo.c | 59 unsigned val, saved_val = 0; in decode_bmv_frame() local 97 val = *src; in decode_bmv_frame() 100 val = saved_val; in decode_bmv_frame() 103 if (!(val & 0xC)) { in decode_bmv_frame() 111 val |= (unsigned)*src << shift; in decode_bmv_frame() 120 val = ((val >> 2) & ~mask) | (val & mask); in decode_bmv_frame() 122 if ((val & (0xC << shift))) { in decode_bmv_frame() 133 saved_val = val >> ( in decode_bmv_frame() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | softfloat.h | 207 static av_always_inline SoftFloat av_sqrt_sf(SoftFloat val) in av_sqrt_sf() argument 211 if (val.mant == 0) in av_sqrt_sf() 212 val.exp = MIN_EXP; in av_sqrt_sf() 213 else if (val.mant < 0) in av_sqrt_sf() 217 tabIndex = (val.mant - 0x20000000) >> 20; in av_sqrt_sf() 219 rem = val.mant & 0xFFFFF; in av_sqrt_sf() 220 val.mant = (int)(((int64_t)av_sqrttbl_sf[tabIndex] * (0x100000 - rem) + in av_sqrt_sf() 223 val.mant = (int)(((int64_t)av_sqr_exp_multbl_sf[val.exp & 1] * val in av_sqrt_sf() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_offsets.c | 38 try_extract_const_addition(nir_builder *b, nir_ssa_scalar val, opt_offsets_state *state, unsigned *out_const, uint32_t max) in try_extract_const_addition() argument 40 val = nir_ssa_scalar_chase_movs(val); in try_extract_const_addition() 42 if (!nir_ssa_scalar_is_alu(val)) in try_extract_const_addition() 43 return val; in try_extract_const_addition() 45 nir_alu_instr *alu = nir_instr_as_alu(val.def->parent_instr); in try_extract_const_addition() 51 return val; in try_extract_const_addition() 54 {alu->src[0].src.ssa, alu->src[0].swizzle[val.comp]}, in try_extract_const_addition() 55 {alu->src[1].src.ssa, alu->src[1].swizzle[val.comp]}, in try_extract_const_addition() 74 return val; in try_extract_const_addition() 125 nir_ssa_scalar val = {.def = off_src->ssa, .comp = 0}; try_fold_load_store() local [all...] |
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/ |
H A D | cgroup_xattr.c | 81 static struct tst_val val; variable 170 val.size = value_size; in setup() 171 val.buf = SAFE_MALLOC(NULL, value_size); in setup() 209 if (val.buf != NULL) in cleanup() 210 free(val.buf); in cleanup() 330 (const void *)val.buf, val.size, 0) == -1; in set_xattrs() 341 tst_resm_hexd(TINFO, val.buf, val.size, "value:"); in set_xattrs() 371 fail = val in get_xattrs() [all...] |
/third_party/node/deps/zlib/contrib/optimizations/ |
H A D | inffast_chunk.c | 151 Tracevv((stderr, here->val >= 0x20 && here->val < 0x7f ? in inflate_fast_chunk_() 153 "inflate: literal 0x%02x\n", here->val)); in inflate_fast_chunk_() 154 *out++ = (unsigned char)(here->val); in inflate_fast_chunk_() 159 Tracevv((stderr, here->val >= 0x20 && here->val < 0x7f ? in inflate_fast_chunk_() 161 "inflate: 2nd literal 0x%02x\n", here->val)); in inflate_fast_chunk_() 162 *out++ = (unsigned char)(here->val); in inflate_fast_chunk_() 175 Tracevv((stderr, here->val >= 0x20 && here->val < in inflate_fast_chunk_() [all...] |
/third_party/ltp/testcases/kernel/mem/vmtests/ |
H A D | stack_space.c | 213 char val; in dotest() local 230 val = (64 / testers) * me + 1; in dotest() 241 * verify == val. in dotest() 242 * write "val" on it. in dotest() 244 * ++val. in dotest() 254 bfill(val_buf, val, csize); in dotest() 269 "%s[%d] bad verify @ %d (%p) for val %d count %d, should be 0.", in dotest() 270 prog, me, chunk, buf, val, in dotest() 286 "%s[%d] bad verify @ %d (%p) for val %d count %d.", in dotest() 287 prog, me, chunk, buf, val, in dotest() 348 char val; global() local [all...] |
/third_party/python/Lib/distutils/ |
H A D | cmd.py | 208 val = getattr(self, option) 209 if val is None: 212 elif not isinstance(val, str): 214 % (option, what, val)) 215 return val 229 val = getattr(self, option) 230 if val is None: 232 elif isinstance(val, str): 233 setattr(self, option, re.split(r',\s*|\s+', val)) 235 if isinstance(val, lis [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | logging.h | 148 auto GetUnderlyingEnumTypeForPrinting(T val) { in GetUnderlyingEnumTypeForPrinting() argument 156 return static_cast<int_t>(static_cast<underlying_t>(val)); in GetUnderlyingEnumTypeForPrinting() 167 PrintCheckOperand(T val) { in PrintCheckOperand() argument 168 return detail::PrintToString(std::forward<T>(val)); in PrintCheckOperand() 180 PrintCheckOperand(T val) { in PrintCheckOperand() argument 181 return PrintCheckOperand(reinterpret_cast<const void*>(val)); in PrintCheckOperand() 189 PrintCheckOperand(T val) { in PrintCheckOperand() argument 190 std::string val_str = detail::PrintToString(val); in PrintCheckOperand() 192 detail::PrintToString(detail::GetUnderlyingEnumTypeForPrinting(val)); in PrintCheckOperand() 210 PrintCheckOperand(T val) { in PrintCheckOperand() argument 219 PrintCheckOperand(T val) PrintCheckOperand() argument [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | var.rs | 43 val: Option<VarType>, 54 val: Option<VarType>, in new() 62 val, in new() 73 pub fn val(&self) -> Option<&VarType> { in val() functions 74 self.val.as_ref() in val() 225 let (type_kind, val) = match value { in parse() 244 EvalResult::Str(val) => { in parse() 251 callbacks.str_macro(&name, &val); in parse() 253 (TypeKind::Pointer(char_ty), VarType::String(val)) in parse() 270 Var::new(name, None, ty, Some(val), tru in parse() 338 let mut val = cursor.evaluate().and_then(|v| v.as_int()); parse() variables [all...] |
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | array.c | 47 static void RepeatedFieldIter_make(zval *val, zval *repeated_field); 111 void RepeatedField_GetPhpWrapper(zval *val, upb_array *arr, in RepeatedField_GetPhpWrapper() argument 114 ZVAL_NULL(val); in RepeatedField_GetPhpWrapper() 118 if (!ObjCache_Get(arr, val)) { in RepeatedField_GetPhpWrapper() 128 ZVAL_OBJ(val, &intern->std); in RepeatedField_GetPhpWrapper() 132 upb_array *RepeatedField_GetUpbArray(zval *val, const upb_fielddef *f, in RepeatedField_GetUpbArray() argument 134 if (Z_ISREF_P(val)) { in RepeatedField_GetUpbArray() 135 ZVAL_DEREF(val); in RepeatedField_GetUpbArray() 138 if (Z_TYPE_P(val) == IS_ARRAY) { in RepeatedField_GetUpbArray() 141 HashTable *table = HASH_OF(val); in RepeatedField_GetUpbArray() 150 upb_msgval val; RepeatedField_GetUpbArray() local 304 zval *offset, *val; PHP_METHOD() local 476 RepeatedFieldIter_make(zval *val, zval *repeated_field) RepeatedFieldIter_make() argument [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | int128.h | 62 UINT128_CONSTEXPR uint128(const uint128_pod &val); 185 inline uint128 operator-(const uint128& val) { in operator -() argument 186 const uint64 hi_flip = ~Uint128High64(val); in operator -() 187 const uint64 lo_flip = ~Uint128Low64(val); in operator -() 195 inline bool operator!(const uint128& val) { in operator !() argument 196 return !Uint128High64(val) && !Uint128Low64(val); in operator !() 201 inline uint128 operator~(const uint128& val) { in operator ~() argument 202 return uint128(~Uint128High64(val), ~Uint128Low64(val)); in operator ~() 232 operator <<(const uint128& val, int amount) operator <<() argument 249 operator >>(const uint128& val, int amount) operator >>() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | config_winreg.c | 121 DWORD val, buflen; in wpa_config_read_reg_dword() local 124 buflen = sizeof(val); in wpa_config_read_reg_dword() 125 ret = RegQueryValueEx(hk, name, NULL, NULL, (LPBYTE) &val, &buflen); in wpa_config_read_reg_dword() 126 if (ret == ERROR_SUCCESS && buflen == sizeof(val)) { in wpa_config_read_reg_dword() 127 wpa_printf(MSG_DEBUG, TSTR "=%d", name, (int) val); in wpa_config_read_reg_dword() 128 *_val = val; in wpa_config_read_reg_dword() 140 TCHAR *val; in wpa_config_read_reg_string() local 146 val = os_malloc(buflen); in wpa_config_read_reg_string() 147 if (val == NULL) in wpa_config_read_reg_string() 150 ret = RegQueryValueEx(hk, name, NULL, NULL, (LPBYTE) val, in wpa_config_read_reg_string() 204 int val; wpa_config_read_global() local 503 wpa_config_write_reg_dword(HKEY hk, const TCHAR *name, int val, int def) wpa_config_write_reg_dword() argument 526 wpa_config_write_reg_string(HKEY hk, const char *name, const char *val) wpa_config_write_reg_string() argument 711 char val[20]; write_int() local [all...] |
/third_party/libunwind/libunwind/src/setjmp/ |
H A D | longjmp.c | 52 static void _longjmp (jmp_buf env, int val); 53 static void longjmp (jmp_buf env, int val); 58 _longjmp (jmp_buf env, int val) in _longjmp() argument 88 || unw_set_reg (&c, UNW_REG_EH + 1, val) < 0 in _longjmp() 105 void longjmp (jmp_buf env, int val) 110 longjmp (jmp_buf env, int val) in longjmp() argument 112 _longjmp (env, val); in longjmp()
|
/third_party/skia/src/core/ |
H A D | SkUtils.h | 35 T val; in sk_unaligned_load() local 36 memcpy(&val, ptr, sizeof(val)); in sk_unaligned_load() 37 return val; in sk_unaligned_load() 41 static SK_ALWAYS_INLINE void sk_unaligned_store(P* ptr, T val) { in sk_unaligned_store() argument 44 memcpy(ptr, &val, sizeof(val)); in sk_unaligned_store()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | options.c | 156 int val; member 167 *flag = map->val; in handle_subopt_val() 182 static int apply_mask(unsigned long *val, const char *str, unsigned len, const struct mask_map *map, int neg) in apply_mask() argument 189 *val |= map->mask; in apply_mask() 191 *val &= ~map->mask; in apply_mask() 235 int val; member 241 int val = 1; in handle_switches() local 246 val = 0; in handle_switches() 258 if (!val) in handle_switches() 267 val in handle_switches() 424 unsigned long val; handle_ftabstop() local [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | test_util.py | 735 def __init__(self, val, error_string_on_conversion=None): 736 assert isinstance(val, numbers.Integral) 737 if isinstance(val, NonStandardInteger): 738 val = val.val 739 self.val = val 745 return long(self.val) 748 return NonStandardInteger(operator.abs(self.val)) [all...] |