Searched refs:val (Results 1 - 25 of 1738) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Dthrow-expressions.cpp3 int val = 42; variable
5 return throw val, val;
9 return val ? throw val : val;
19 return 1 ? throw val : val;
H A D2003-11-29-DuplicatedCleanupTest.cpp16 void test(int val) { argument
20 if (val == 0) goto label;
21 if (val == 1) goto label;
25 void test3(int val) { argument
29 if (val == 0) { doesntThrow(); goto label; }
30 if (val == 1) { doesntThrow(); goto label; }
34 void test4(int val) { argument
38 if (val == 0) { F C; goto label; }
39 if (val == 1) { F D; goto label; }
H A Ddestructor-calls.cpp5 static int val; variable
8 B() : iB(++val) { printf("B()\n"); }
10 ~B() { printf("~B(%d)\n", iB); --val; }
14 M() : iM(++val) { printf("M()\n"); }
16 ~M() { printf("~M(%d)\n", iM); --val; }
20 P() : iP(++val) { printf("P()\n"); }
22 ~P() { printf("~P(%d)\n", iP); --val; }
26 N() { printf("N()\n"); iN = ++val; }
27 ~N() { printf("~N(%d) val = %d\n", iN, --val); }
[all...]
/external/qemu/
H A Dhost-utils.h52 static inline int clz32(uint32_t val) argument
55 if (val)
56 return __builtin_clz(val);
62 if (!(val & 0xFFFF0000U)) {
64 val <<= 16;
66 if (!(val & 0xFF000000U)) {
68 val <<= 8;
70 if (!(val & 0xF0000000U)) {
72 val <<= 4;
74 if (!(val
89 clo32(uint32_t val) argument
94 clz64(uint64_t val) argument
114 clo64(uint64_t val) argument
119 ctz32(uint32_t val) argument
158 cto32(uint32_t val) argument
163 ctz64(uint64_t val) argument
183 cto64(uint64_t val) argument
188 ctpop8(uint8_t val) argument
197 ctpop16(uint16_t val) argument
207 ctpop32(uint32_t val) argument
222 ctpop64(uint64_t val) argument
[all...]
/external/clang/test/SemaCXX/
H A DPR9884.cpp4 Base(int val);
10 Derived(int val);
14 Derived::Derived(int val) argument
15 : Base( val )
/external/webkit/Source/JavaScriptCore/runtime/
H A DProtect.h30 inline void gcProtect(JSCell* val) argument
32 Heap::heap(val)->protect(val);
35 inline void gcUnprotect(JSCell* val) argument
37 Heap::heap(val)->unprotect(val);
40 inline void gcProtectNullTolerant(JSCell* val) argument
42 if (val)
43 gcProtect(val);
46 inline void gcUnprotectNullTolerant(JSCell* val) argument
[all...]
/external/dbus/dbus/
H A Ddbus-marshal-basic.h44 #define DBUS_UINT16_SWAP_LE_BE_CONSTANT(val) bswap_16(val)
45 #define DBUS_UINT32_SWAP_LE_BE_CONSTANT(val) bswap_32(val)
48 #define DBUS_UINT16_SWAP_LE_BE_CONSTANT(val) ((dbus_uint16_t) ( \
49 (dbus_uint16_t) ((dbus_uint16_t) (val) >> 8) | \
50 (dbus_uint16_t) ((dbus_uint16_t) (val) << 8)))
52 #define DBUS_UINT32_SWAP_LE_BE_CONSTANT(val) ((dbus_uint32_t) ( \
53 (((dbus_uint32_t) (val) & (dbus_uint32_t) 0x000000ffU) << 24) | \
54 (((dbus_uint32_t) (val)
[all...]
/external/clang/test/Parser/
H A Dcxx-reference.cpp6 int val; variable
16 int & const X = val; // expected-error {{'const' qualifier may not be applied to a reference}}
17 int & volatile Y = val; // expected-error {{'volatile' qualifier may not be applied to a reference}}
18 int & const volatile Z = val; /* expected-error {{'const' qualifier may not be applied}} \
/external/clang/test/CodeGen/
H A D2010-01-13-MemBarrier.c7 unsigned t(uint32_t *ptr, uint32_t val) { argument
10 return __sync_lock_test_and_set(ptr, val);
H A Datomic.c6 int val = 1; local
12 old = __sync_fetch_and_add(&val, 1);
13 // CHECK: atomicrmw add i32* %val, i32 1 seq_cst
18 old = __sync_fetch_and_min(&val, 3);
19 // CHECK: atomicrmw min i32* %val, i32 3 seq_cst
21 old = __sync_fetch_and_max(&val, 4);
22 // CHECK: atomicrmw max i32* %val, i32 4 seq_cst
30 old = __sync_lock_test_and_set(&val, 7);
31 // CHECK: atomicrmw xchg i32* %val, i32 7 seq_cst
33 old = __sync_swap(&val,
[all...]
/external/kernel-headers/original/asm-x86/
H A Dunaligned.h26 * @val: value to place
35 #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
/external/bluetooth/glib/glib/
H A Dgtypes.h129 #define GUINT16_SWAP_LE_BE_CONSTANT(val) ((guint16) ( \
130 (guint16) ((guint16) (val) >> 8) | \
131 (guint16) ((guint16) (val) << 8)))
133 #define GUINT32_SWAP_LE_BE_CONSTANT(val) ((guint32) ( \
134 (((guint32) (val) & (guint32) 0x000000ffU) << 24) | \
135 (((guint32) (val) & (guint32) 0x0000ff00U) << 8) | \
136 (((guint32) (val) & (guint32) 0x00ff0000U) >> 8) | \
137 (((guint32) (val) & (guint32) 0xff000000U) >> 24)))
139 #define GUINT64_SWAP_LE_BE_CONSTANT(val) ((guint64) ( \
140 (((guint64) (val)
[all...]
/external/libgsm/src/
H A Dgsm_option.c14 int gsm_option P3((r, opt, val), gsm r, int opt, int * val) argument
22 if (val) r->ltp_cut = *val;
29 if (val) r->verbose = *val;
37 if (val) r->fast = !!*val;
45 if (val) r->frame_chain = *val;
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXObjectFactory.java39 * @param val The java object which this object will wrap.
43 static public XObject create(Object val) argument
48 if (val instanceof XObject)
50 result = (XObject) val;
52 else if (val instanceof String)
54 result = new XString((String) val);
56 else if (val instanceof Boolean)
58 result = new XBoolean((Boolean)val);
60 else if (val instanceof Double)
62 result = new XNumber(((Double) val));
82 create(Object val, XPathContext xctxt) argument
[all...]
/external/bluetooth/glib/
H A Dglibconfig.h55 #define G_GINT64_CONSTANT(val) (val##L)
56 #define G_GUINT64_CONSTANT(val) (val##UL)
81 #define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val)
184 #define GINT16_TO_LE(val) ((gint16) (val))
185 #define GUINT16_TO_LE(val) ((guint16) (val))
[all...]
/external/qemu/hw/
H A Dpci_host.h42 static void pci_host_data_writeb(void* opaque, pci_addr_t addr, uint32_t val) argument
46 PCI_DPRINTF("writeb addr " TARGET_FMT_plx " val %x\n",
47 (target_phys_addr_t)addr, val);
49 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 1);
52 static void pci_host_data_writew(void* opaque, pci_addr_t addr, uint32_t val) argument
56 val = bswap16(val);
58 PCI_DPRINTF("writew addr " TARGET_FMT_plx " val %x\n",
59 (target_phys_addr_t)addr, val);
61 pci_data_write(s->bus, s->config_reg | (addr & 3), val,
64 pci_host_data_writel(void* opaque, pci_addr_t addr, uint32_t val) argument
79 uint32_t val; local
92 uint32_t val; local
107 uint32_t val; local
[all...]
/external/webkit/Source/WebCore/platform/sql/
H A DSQLValue.cpp34 SQLValue::SQLValue(const SQLValue& val) argument
35 : m_type(val.m_type)
36 , m_number(val.m_number)
37 , m_string(val.m_string.threadsafeCopy())
/external/qemu/elff/
H A Delf_file.h140 * val - References value inside ELF file buffer to pull data from.
145 uint8_t pull_val(const uint8_t* val) const {
146 return *val;
148 uint8_t pull_val(const uint8_t& val) const {
149 return val;
151 int8_t pull_val(const int8_t* val) const {
152 return *val;
154 int8_t pull_val(const int8_t& val) const {
155 return val;
160 * val
[all...]
/external/clang/test/Sema/
H A Dwarn-char-subscripts.c6 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} local
12 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} local
18 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} local
24 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} local
30 int val = array[returnsChar()]; // expected-warning{{array subscript is of type 'char'}} local
36 int val = array[subscript]; // no warning for explicit signed char local
42 int val = array[subscript]; // no warning for unsigned char local
49 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} local
56 int val = array[subscript]; // no warning for explicit signed char local
63 int val local
[all...]
/external/libvpx/vpx_ports/
H A Dmem.h18 #define DECLARE_ALIGNED(n,typ,val) typ val __attribute__ ((aligned (n)))
20 #define DECLARE_ALIGNED(n,typ,val) __declspec(align(n)) typ val
23 #define DECLARE_ALIGNED(n,typ,val) typ val
30 * modified name, then defines val to be a pointer, and aligns that pointer
33 #define DECLARE_ALIGNED_ARRAY(a,typ,val,n)\
34 typ val##_[(n)+(a)/sizeof(typ)+1];\
35 typ *val
[all...]
H A Dmem_ops.h65 unsigned MEM_VALUE_T val; local
68 val = mem[0] << 8;
69 val |= mem[1];
70 return val;
77 unsigned MEM_VALUE_T val; local
80 val = mem[0] << 16;
81 val |= mem[1] << 8;
82 val |= mem[2];
83 return val;
90 unsigned MEM_VALUE_T val; local
104 unsigned MEM_VALUE_T val; local
116 unsigned MEM_VALUE_T val; local
129 unsigned MEM_VALUE_T val; local
172 mem_put_be16(void *vmem, MEM_VALUE_T val) argument
182 mem_put_be24(void *vmem, MEM_VALUE_T val) argument
193 mem_put_be32(void *vmem, MEM_VALUE_T val) argument
205 mem_put_le16(void *vmem, MEM_VALUE_T val) argument
215 mem_put_le24(void *vmem, MEM_VALUE_T val) argument
226 mem_put_le32(void *vmem, MEM_VALUE_T val) argument
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dbytebuffer.h49 bool ReadUInt8(uint8* val);
50 bool ReadUInt16(uint16* val);
51 bool ReadUInt24(uint32* val);
52 bool ReadUInt32(uint32* val);
53 bool ReadUInt64(uint64* val);
54 bool ReadString(std::string* val, size_t len); // append to val
55 bool ReadBytes(char* val, size_t len);
57 void WriteUInt8(uint8 val);
58 void WriteUInt16(uint16 val);
[all...]
H A Dbytebuffer.cc68 bool ByteBuffer::ReadUInt8(uint8* val) { argument
69 if (!val) return false;
71 return ReadBytes(reinterpret_cast<char*>(val), 1);
74 bool ByteBuffer::ReadUInt16(uint16* val) { argument
75 if (!val) return false;
81 *val = NetworkToHost16(v);
86 bool ByteBuffer::ReadUInt24(uint32* val) { argument
87 if (!val) return false;
93 *val = NetworkToHost32(v);
98 bool ByteBuffer::ReadUInt32(uint32* val) { argument
110 ReadUInt64(uint64* val) argument
122 ReadString(std::string* val, size_t len) argument
134 ReadBytes(char* val, size_t len) argument
144 WriteUInt8(uint8 val) argument
148 WriteUInt16(uint16 val) argument
153 WriteUInt24(uint32 val) argument
158 WriteUInt32(uint32 val) argument
163 WriteUInt64(uint64 val) argument
168 WriteString(const std::string& val) argument
172 WriteBytes(const char* val, size_t len) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncRound.java46 final double val= obj.num();
47 if (val >= -0.5 && val < 0) return new XNumber(-0.0);
48 if (val == 0.0) return new XNumber(val);
49 return new XNumber(java.lang.Math.floor(val
/external/kernel-headers/original/linux/
H A Dpreempt.h13 extern void fastcall add_preempt_count(int val);
14 extern void fastcall sub_preempt_count(int val);
16 # define add_preempt_count(val) do { preempt_count() += (val); } while (0)
17 # define sub_preempt_count(val) do { preempt_count() -= (val); } while (0)

Completed in 969 milliseconds

1234567891011>>