Home
last modified time | relevance | path

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

12345678910>>...149

/external/qemu/include/qemu/
Dhost-utils.h59 static inline int clz32(uint32_t val) in clz32() argument
62 return val ? __builtin_clz(val) : 32; in clz32()
67 if (!(val & 0xFFFF0000U)) { in clz32()
69 val <<= 16; in clz32()
71 if (!(val & 0xFF000000U)) { in clz32()
73 val <<= 8; in clz32()
75 if (!(val & 0xF0000000U)) { in clz32()
77 val <<= 4; in clz32()
79 if (!(val & 0xC0000000U)) { in clz32()
81 val <<= 2; in clz32()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dfile.h249 #define YASM_WRITE_8(ptr, val) \ argument
250 *((ptr)++) = (unsigned char)((val) & 0xFF)
258 #define YASM_WRITE_16_L(ptr, val) \ argument
260 *((ptr)++) = (unsigned char)((val) & 0xFF); \
261 *((ptr)++) = (unsigned char)(((val) >> 8) & 0xFF); \
270 #define YASM_WRITE_32_L(ptr, val) \ argument
272 *((ptr)++) = (unsigned char)((val) & 0xFF); \
273 *((ptr)++) = (unsigned char)(((val) >> 8) & 0xFF); \
274 *((ptr)++) = (unsigned char)(((val) >> 16) & 0xFF); \
275 *((ptr)++) = (unsigned char)(((val) >> 24) & 0xFF); \
[all …]
Dintnum.c44 union val { union
47 } val; member
91 intn->val.l = (long)BitVector_Chunk_Read(bv, 31, 0); in intnum_frombv()
101 intn->val.bv = BitVector_Clone(bv); in intnum_frombv()
104 intn->val.l = -((long)ul); in intnum_frombv()
108 intn->val.bv = BitVector_Clone(bv); in intnum_frombv()
119 return intn->val.bv; in intnum_tobv()
122 if (intn->val.l >= 0) in intnum_tobv()
123 BitVector_Chunk_Store(bv, 32, 0, (unsigned long)intn->val.l); in intnum_tobv()
125 BitVector_Chunk_Store(bv, 32, 0, (unsigned long)-intn->val.l); in intnum_tobv()
[all …]
/external/libpng/arm/
Dfilter_neon_intrinsics.c72 vdest.val[3] = vdup_n_u8(0); in png_read_filter_row_sub3_neon()
79 vtmp1 = vext_u8(vrp.val[0], vrp.val[1], 3); in png_read_filter_row_sub3_neon()
80 vdest.val[0] = vadd_u8(vdest.val[3], vrp.val[0]); in png_read_filter_row_sub3_neon()
81 vtmp2 = vext_u8(vrp.val[0], vrp.val[1], 6); in png_read_filter_row_sub3_neon()
82 vdest.val[1] = vadd_u8(vdest.val[0], vtmp1); in png_read_filter_row_sub3_neon()
84 vtmp1 = vext_u8(vrp.val[1], vrp.val[1], 1); in png_read_filter_row_sub3_neon()
85 vdest.val[2] = vadd_u8(vdest.val[1], vtmp2); in png_read_filter_row_sub3_neon()
86 vdest.val[3] = vadd_u8(vdest.val[2], vtmp1); in png_read_filter_row_sub3_neon()
92 vst1_lane_u32(png_ptr(uint32_t,rp), png_ldr(uint32x2_t,&vdest.val[0]), 0); in png_read_filter_row_sub3_neon()
94 vst1_lane_u32(png_ptr(uint32_t,rp), png_ldr(uint32x2_t,&vdest.val[1]), 0); in png_read_filter_row_sub3_neon()
[all …]
/external/jsoncpp/src/test_lib_json/
Dmain.cpp362 Json::Value val; in JSONTEST_FIXTURE() local
384 val = Json::Value(Json::intValue); in JSONTEST_FIXTURE()
386 JSONTEST_ASSERT_EQUAL(Json::intValue, val.type()); in JSONTEST_FIXTURE()
396 JSONTEST_ASSERT_PRED( checkIs( val, checks ) ); in JSONTEST_FIXTURE()
398 JSONTEST_ASSERT(val.isConvertibleTo(Json::nullValue)); in JSONTEST_FIXTURE()
399 JSONTEST_ASSERT(val.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
400 JSONTEST_ASSERT(val.isConvertibleTo(Json::uintValue)); in JSONTEST_FIXTURE()
402 JSONTEST_ASSERT_EQUAL(0, val.asInt()); in JSONTEST_FIXTURE()
403 JSONTEST_ASSERT_EQUAL(0, val.asLargestInt()); in JSONTEST_FIXTURE()
404 JSONTEST_ASSERT_EQUAL(0, val.asUInt()); in JSONTEST_FIXTURE()
[all …]
/external/chromium_org/third_party/libwebp/dsp/
Dneon.h26 v.val[0] = a; \
27 v.val[1] = b; \
31 v.val[0] = a; \
32 v.val[1] = b; \
33 v.val[2] = c; \
37 v.val[0] = a; \
38 v.val[1] = b; \
39 v.val[2] = c; \
40 v.val[3] = d; \
53 row01.val[0] = vreinterpretq_u64_s32(rows.val[0]); in Transpose4x4()
[all …]
/external/webp/src/dsp/
Dneon.h26 v.val[0] = a; \
27 v.val[1] = b; \
31 v.val[0] = a; \
32 v.val[1] = b; \
33 v.val[2] = c; \
37 v.val[0] = a; \
38 v.val[1] = b; \
39 v.val[2] = c; \
40 v.val[3] = d; \
53 row01.val[0] = vreinterpretq_u64_s32(rows.val[0]); in Transpose4x4()
[all …]
/external/chromium_org/tools/gdb/
Dgdb_chrome.py54 def yield_fields(val): argument
63 fields = val.type.target().fields()
65 fields = val.type.fields()
68 yield (field.name, val.cast(gdb.lookup_type(field.name)))
70 yield (field.name, val[field.name])
74 def __init__(self, val): argument
75 self.val = val
85 return webkit.ustring_to_string(self.val['_M_dataplus']['_M_p'])
94 return self.val['spec_']
100 return self.val['path_']['_M_dataplus']['_M_p']
[all …]
/external/chromium_org/ui/events/gestures/
Dgesture_configuration.h28 static void set_fling_max_cancel_to_down_time_in_ms(int val) { in set_fling_max_cancel_to_down_time_in_ms() argument
29 fling_max_cancel_to_down_time_in_ms_ = val; in set_fling_max_cancel_to_down_time_in_ms()
34 static void set_fling_max_tap_gap_time_in_ms(int val) { in set_fling_max_tap_gap_time_in_ms() argument
35 fling_max_tap_gap_time_in_ms_ = val; in set_fling_max_tap_gap_time_in_ms()
46 static void set_max_distance_for_two_finger_tap_in_pixels(double val) { in set_max_distance_for_two_finger_tap_in_pixels() argument
47 max_distance_for_two_finger_tap_in_pixels_ = val; in set_max_distance_for_two_finger_tap_in_pixels()
49 static void set_long_press_time_in_seconds(double val) { in set_long_press_time_in_seconds() argument
50 long_press_time_in_seconds_ = val; in set_long_press_time_in_seconds()
52 static void set_semi_long_press_time_in_seconds(double val) { in set_semi_long_press_time_in_seconds() argument
53 semi_long_press_time_in_seconds_ = val; in set_semi_long_press_time_in_seconds()
[all …]
/external/libvpx/libvpx/vpx_ports/
Dmem_ops.h66 unsigned MEM_VALUE_T val; in mem_get_be16() local
69 val = mem[0] << 8; in mem_get_be16()
70 val |= mem[1]; in mem_get_be16()
71 return val; in mem_get_be16()
77 unsigned MEM_VALUE_T val; in mem_get_be24() local
80 val = mem[0] << 16; in mem_get_be24()
81 val |= mem[1] << 8; in mem_get_be24()
82 val |= mem[2]; in mem_get_be24()
83 return val; in mem_get_be24()
89 unsigned MEM_VALUE_T val; in mem_get_be32() local
[all …]
/external/clang/test/Sema/
Datomic-ops.c185 void memory_checks(_Atomic(int) *Ap, int *p, int val) { in memory_checks() argument
192 (void)__c11_atomic_load(Ap, val); in memory_checks()
196 (void)__c11_atomic_store(Ap, val, memory_order_relaxed); in memory_checks()
197 …(void)__c11_atomic_store(Ap, val, memory_order_acquire); // expected-warning {{memory order argume… in memory_checks()
198 …(void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argume… in memory_checks()
199 (void)__c11_atomic_store(Ap, val, memory_order_release); in memory_checks()
200 …(void)__c11_atomic_store(Ap, val, memory_order_acq_rel); // expected-warning {{memory order argume… in memory_checks()
201 (void)__c11_atomic_store(Ap, val, memory_order_seq_cst); in memory_checks()
210 (void)__c11_atomic_init(Ap, val); in memory_checks()
211 (void)__c11_atomic_init(Ap, val); in memory_checks()
[all …]
/external/deqp/modules/egl/
DteglConfigList.cpp77 EGLint val = 0; in iterate() local
79 eglGetConfigAttrib(display, configs[i], EGL_BUFFER_SIZE, &val); in iterate()
80 info.bufferSize = val; in iterate()
82 eglGetConfigAttrib(display, configs[i], EGL_RED_SIZE, &val); in iterate()
83 info.redSize = val; in iterate()
85 eglGetConfigAttrib(display, configs[i], EGL_GREEN_SIZE, &val); in iterate()
86 info.greenSize = val; in iterate()
88 eglGetConfigAttrib(display, configs[i], EGL_BLUE_SIZE, &val); in iterate()
89 info.blueSize = val; in iterate()
91 eglGetConfigAttrib(display, configs[i], EGL_LUMINANCE_SIZE, &val); in iterate()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/
Dmem_ops.h66 unsigned MEM_VALUE_T val; in mem_get_be16() local
69 val = mem[0] << 8; in mem_get_be16()
70 val |= mem[1]; in mem_get_be16()
71 return val; in mem_get_be16()
77 unsigned MEM_VALUE_T val; in mem_get_be24() local
80 val = mem[0] << 16; in mem_get_be24()
81 val |= mem[1] << 8; in mem_get_be24()
82 val |= mem[2]; in mem_get_be24()
83 return val; in mem_get_be24()
89 unsigned MEM_VALUE_T val; in mem_get_be32() local
[all …]
/external/chromium_org/third_party/skia/src/opts/
DSkXfermode_opts_arm_neon.cpp243 src_scale = vsubw_u8(vdupq_n_u16(256), dst.val[NEON_A]); in dstover_modeproc_neon8()
245 ret.val[NEON_A] = dst.val[NEON_A] + SkAlphaMul_neon8(src.val[NEON_A], src_scale); in dstover_modeproc_neon8()
246 ret.val[NEON_R] = dst.val[NEON_R] + SkAlphaMul_neon8(src.val[NEON_R], src_scale); in dstover_modeproc_neon8()
247 ret.val[NEON_G] = dst.val[NEON_G] + SkAlphaMul_neon8(src.val[NEON_G], src_scale); in dstover_modeproc_neon8()
248 ret.val[NEON_B] = dst.val[NEON_B] + SkAlphaMul_neon8(src.val[NEON_B], src_scale); in dstover_modeproc_neon8()
257 scale = SkAlpha255To256_neon8(dst.val[NEON_A]); in srcin_modeproc_neon8()
259 ret.val[NEON_A] = SkAlphaMul_neon8(src.val[NEON_A], scale); in srcin_modeproc_neon8()
260 ret.val[NEON_R] = SkAlphaMul_neon8(src.val[NEON_R], scale); in srcin_modeproc_neon8()
261 ret.val[NEON_G] = SkAlphaMul_neon8(src.val[NEON_G], scale); in srcin_modeproc_neon8()
262 ret.val[NEON_B] = SkAlphaMul_neon8(src.val[NEON_B], scale); in srcin_modeproc_neon8()
[all …]
/external/skia/src/opts/
DSkXfermode_opts_arm_neon.cpp243 src_scale = vsubw_u8(vdupq_n_u16(256), dst.val[NEON_A]); in dstover_modeproc_neon8()
245 ret.val[NEON_A] = dst.val[NEON_A] + SkAlphaMul_neon8(src.val[NEON_A], src_scale); in dstover_modeproc_neon8()
246 ret.val[NEON_R] = dst.val[NEON_R] + SkAlphaMul_neon8(src.val[NEON_R], src_scale); in dstover_modeproc_neon8()
247 ret.val[NEON_G] = dst.val[NEON_G] + SkAlphaMul_neon8(src.val[NEON_G], src_scale); in dstover_modeproc_neon8()
248 ret.val[NEON_B] = dst.val[NEON_B] + SkAlphaMul_neon8(src.val[NEON_B], src_scale); in dstover_modeproc_neon8()
257 scale = SkAlpha255To256_neon8(dst.val[NEON_A]); in srcin_modeproc_neon8()
259 ret.val[NEON_A] = SkAlphaMul_neon8(src.val[NEON_A], scale); in srcin_modeproc_neon8()
260 ret.val[NEON_R] = SkAlphaMul_neon8(src.val[NEON_R], scale); in srcin_modeproc_neon8()
261 ret.val[NEON_G] = SkAlphaMul_neon8(src.val[NEON_G], scale); in srcin_modeproc_neon8()
262 ret.val[NEON_B] = SkAlphaMul_neon8(src.val[NEON_B], scale); in srcin_modeproc_neon8()
[all …]
/external/chromium_org/gin/
Dconverter.cc23 Handle<Value> Converter<bool>::ToV8(Isolate* isolate, bool val) { in ToV8() argument
24 return Boolean::New(isolate, val).As<Value>(); in ToV8()
27 bool Converter<bool>::FromV8(Isolate* isolate, Handle<Value> val, bool* out) { in FromV8() argument
28 *out = val->BooleanValue(); in FromV8()
32 Handle<Value> Converter<int32_t>::ToV8(Isolate* isolate, int32_t val) { in ToV8() argument
33 return Integer::New(isolate, val).As<Value>(); in ToV8()
36 bool Converter<int32_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8() argument
38 if (!val->IsInt32()) in FromV8()
40 *out = val->Int32Value(); in FromV8()
44 Handle<Value> Converter<uint32_t>::ToV8(Isolate* isolate, uint32_t val) { in ToV8() argument
[all …]
/external/chromium_org/chrome/common/extensions/docs/static/sass/
D_mixins.scss47 @mixin flex($val) { parameter
48 -webkit-box-flex: $val; // Old Safari :(
49 -webkit-flex: $val;
50 -moz-flex: $val;
51 -ms-flex: $val;
52 -o-flex: $val;
53 flex: $val;
56 @mixin justify-content($val: center) { parameter
58 -webkit-justify-content: $val;
59 -moz-justify-content: $val;
[all …]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dbyte_io.h68 T val(0); in InternalReadBigEndian()
70 val |= static_cast<T>(data[i]) << ((B - 1 - i) * 8); in InternalReadBigEndian()
72 return val; in InternalReadBigEndian()
76 T val(0); in InternalReadLittleEndian()
78 val |= static_cast<T>(data[i]) << (i * 8); in InternalReadLittleEndian()
80 return val; in InternalReadLittleEndian()
88 static T SignExtend(T val) { in SignExtend() argument
89 uint8_t msb = static_cast<uint8_t>(val >> ((B - 1) * 8)); in SignExtend()
97 return val | sign_extend; in SignExtend()
99 return val; in SignExtend()
[all …]
/external/libhevc/common/arm/
Dihevc_sao_band_offset_chroma.s98 VLD1.8 D1,[r14]! @band_table_u.val[0]
102 VLD1.8 D2,[r14]! @band_table_u.val[1]
106 VLD1.8 D3,[r14]! @band_table_u.val[2]
114 VLD1.8 D4,[r14]! @band_table_u.val[3]
124 …VADD.I8 D5,D1,D31 @band_table_u.val[0] = vadd_u8(band_table_u.val[0], sao_ba…
127 …VADD.I8 D6,D2,D31 @band_table_u.val[1] = vadd_u8(band_table_u.val[1], sao_ba…
130 …VADD.I8 D7,D3,D31 @band_table_u.val[2] = vadd_u8(band_table_u.val[2], sao_ba…
133 …VADD.I8 D8,D4,D31 @band_table_u.val[3] = vadd_u8(band_table_u.val[3], sao_ba…
142 …VADD.I8 D1,D5,D29 @band_table_u.val[0] = vadd_u8(band_table_u.val[0], vdup_n…
144 VLD1.8 D9,[r14]! @band_table_v.val[0]
[all …]
/external/qemu/hw/pci-host/
Dpci_host.h42 static void pci_host_data_writeb(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writeb() argument
47 (hwaddr)addr, val); in pci_host_data_writeb()
49 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 1); in pci_host_data_writeb()
52 static void pci_host_data_writew(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writew() argument
56 val = bswap16(val); in pci_host_data_writew()
59 (hwaddr)addr, val); in pci_host_data_writew()
61 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 2); in pci_host_data_writew()
64 static void pci_host_data_writel(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writel() argument
68 val = bswap32(val); in pci_host_data_writel()
71 (hwaddr)addr, val); in pci_host_data_writel()
[all …]
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
Dcopy_constant_to_storage_tests.cpp33 const ir_constant *val,
69 ir_constant *val; in int_test() local
70 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val); in int_test()
72 const unsigned red_zone_size = Elements(storage) - val->type->components(); in int_test()
74 val->type->components(), in int_test()
78 val, in int_test()
79 val->type->base_type, in int_test()
80 val->type->components()); in int_test()
82 verify_data(storage, 0, val, red_zone_size); in int_test()
88 ir_constant *val; in uint_test() local
[all …]
/external/mesa3d/src/glsl/tests/
Dcopy_constant_to_storage_tests.cpp33 const ir_constant *val,
69 ir_constant *val; in int_test() local
70 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val); in int_test()
72 const unsigned red_zone_size = Elements(storage) - val->type->components(); in int_test()
74 val->type->components(), in int_test()
78 val, in int_test()
79 val->type->base_type, in int_test()
80 val->type->components()); in int_test()
82 verify_data(storage, 0, val, red_zone_size); in int_test()
88 ir_constant *val; in uint_test() local
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXObjectFactory.java43 static public XObject create(Object val) in create() argument
48 if (val instanceof XObject) in create()
50 result = (XObject) val; in create()
52 else if (val instanceof String) in create()
54 result = new XString((String) val); in create()
56 else if (val instanceof Boolean) in create()
58 result = new XBoolean((Boolean)val); in create()
60 else if (val instanceof Double) in create()
62 result = new XNumber(((Double) val)); in create()
66 result = new XObject(val); in create()
[all …]
/external/openssl/crypto/stack/
Dsafestack.h150 #define SKM_sk_set(type, st,i,val) \ argument
151 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val))
154 #define SKM_sk_push(type, st, val) \ argument
155 sk_push(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
156 #define SKM_sk_unshift(type, st, val) \ argument
157 sk_unshift(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
158 #define SKM_sk_find(type, st, val) \ argument
159 sk_find(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
160 #define SKM_sk_find_ex(type, st, val) \ argument
162 CHECKED_PTR_OF(type, val))
[all …]
/external/openssl/include/openssl/
Dsafestack.h150 #define SKM_sk_set(type, st,i,val) \ argument
151 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val))
154 #define SKM_sk_push(type, st, val) \ argument
155 sk_push(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
156 #define SKM_sk_unshift(type, st, val) \ argument
157 sk_unshift(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
158 #define SKM_sk_find(type, st, val) \ argument
159 sk_find(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
160 #define SKM_sk_find_ex(type, st, val) \ argument
162 CHECKED_PTR_OF(type, val))
[all …]

12345678910>>...149