Home
last modified time | relevance | path

Searched refs:uval (Results 1 – 25 of 55) sorted by relevance

123

/external/iproute2/ip/
Dlink_gre6.c155 unsigned uval; in gre_parse_opt() local
161 uval = get_addr32(*argv); in gre_parse_opt()
163 if (get_unsigned(&uval, *argv, 0) < 0) { in gre_parse_opt()
168 uval = htonl(uval); in gre_parse_opt()
171 ikey = okey = uval; in gre_parse_opt()
173 unsigned uval; in gre_parse_opt() local
178 uval = get_addr32(*argv); in gre_parse_opt()
180 if (get_unsigned(&uval, *argv, 0)<0) { in gre_parse_opt()
184 uval = htonl(uval); in gre_parse_opt()
186 ikey = uval; in gre_parse_opt()
[all …]
Dlink_vti.c117 unsigned uval; in vti_parse_opt() local
121 uval = get_addr32(*argv); in vti_parse_opt()
123 if (get_unsigned(&uval, *argv, 0) < 0) { in vti_parse_opt()
128 uval = htonl(uval); in vti_parse_opt()
131 ikey = okey = uval; in vti_parse_opt()
133 unsigned uval; in vti_parse_opt() local
137 uval = get_addr32(*argv); in vti_parse_opt()
139 if (get_unsigned(&uval, *argv, 0) < 0) { in vti_parse_opt()
143 uval = htonl(uval); in vti_parse_opt()
145 ikey = uval; in vti_parse_opt()
[all …]
Dlink_vti6.c113 unsigned uval; in vti6_parse_opt() local
117 uval = get_addr32(*argv); in vti6_parse_opt()
119 if (get_unsigned(&uval, *argv, 0) < 0) { in vti6_parse_opt()
124 uval = htonl(uval); in vti6_parse_opt()
127 ikey = okey = uval; in vti6_parse_opt()
129 unsigned uval; in vti6_parse_opt() local
133 uval = get_addr32(*argv); in vti6_parse_opt()
135 if (get_unsigned(&uval, *argv, 0) < 0) { in vti6_parse_opt()
139 uval = htonl(uval); in vti6_parse_opt()
141 ikey = uval; in vti6_parse_opt()
[all …]
Dlink_gre.c159 unsigned uval; in gre_parse_opt() local
165 uval = get_addr32(*argv); in gre_parse_opt()
167 if (get_unsigned(&uval, *argv, 0) < 0) { in gre_parse_opt()
172 uval = htonl(uval); in gre_parse_opt()
175 ikey = okey = uval; in gre_parse_opt()
177 unsigned uval; in gre_parse_opt() local
182 uval = get_addr32(*argv); in gre_parse_opt()
184 if (get_unsigned(&uval, *argv, 0)<0) { in gre_parse_opt()
188 uval = htonl(uval); in gre_parse_opt()
190 ikey = uval; in gre_parse_opt()
[all …]
Dlink_ip6tnl.c182 __u8 uval; in ip6tunnel_parse_opt() local
184 if (get_u8(&uval, *argv, 0)) in ip6tunnel_parse_opt()
186 hop_limit = uval; in ip6tunnel_parse_opt()
192 __u8 uval; in ip6tunnel_parse_opt() local
193 if (get_u8(&uval, *argv, 0) < -1) in ip6tunnel_parse_opt()
195 encap_limit = uval; in ip6tunnel_parse_opt()
202 __u8 uval; in ip6tunnel_parse_opt() local
208 if (get_u8(&uval, *argv, 16)) in ip6tunnel_parse_opt()
210 flowinfo |= htonl((__u32)uval << 20) & IP6_FLOWINFO_TCLASS; in ip6tunnel_parse_opt()
215 __u32 uval; in ip6tunnel_parse_opt() local
[all …]
Dipl2tp.c528 __u32 uval; in parse_args() local
530 if (get_u32(&uval, *argv, 0)) in parse_args()
532 p->tunnel_id = uval; in parse_args()
535 __u32 uval; in parse_args() local
537 if (get_u32(&uval, *argv, 0)) in parse_args()
539 p->peer_tunnel_id = uval; in parse_args()
542 __u32 uval; in parse_args() local
544 if (get_u32(&uval, *argv, 0)) in parse_args()
546 p->session_id = uval; in parse_args()
549 __u32 uval; in parse_args() local
[all …]
Diplink_geneve.c62 unsigned uval; in geneve_parse_opt() local
66 if (get_unsigned(&uval, *argv, 0)) in geneve_parse_opt()
68 if (uval > 255) in geneve_parse_opt()
70 ttl = uval; in geneve_parse_opt()
74 __u32 uval; in geneve_parse_opt() local
78 if (rtnl_dsfield_a2n(&uval, *argv)) in geneve_parse_opt()
80 tos = uval; in geneve_parse_opt()
Dip6tunnel.c186 __u8 uval; in parse_args() local
187 if (get_u8(&uval, *argv, 0) < -1) in parse_args()
189 p->encap_limit = uval; in parse_args()
195 __u8 uval; in parse_args() local
197 if (get_u8(&uval, *argv, 0)) in parse_args()
199 p->hop_limit = uval; in parse_args()
204 __u8 uval; in parse_args() local
210 if (get_u8(&uval, *argv, 16)) in parse_args()
212 p->flowinfo |= htonl((__u32)uval << 20) & IP6_FLOWINFO_TCLASS; in parse_args()
217 __u32 uval; in parse_args() local
[all …]
Diplink_vxlan.c125 unsigned uval; in vxlan_parse_opt() local
129 if (get_unsigned(&uval, *argv, 0)) in vxlan_parse_opt()
131 if (uval > 255) in vxlan_parse_opt()
133 ttl = uval; in vxlan_parse_opt()
137 __u32 uval; in vxlan_parse_opt() local
141 if (rtnl_dsfield_a2n(&uval, *argv)) in vxlan_parse_opt()
143 tos = uval; in vxlan_parse_opt()
Dtunnel.c186 unsigned uval; in tnl_parse_key() local
191 if (get_unsigned(&uval, key, 0) < 0) { in tnl_parse_key()
196 return htonl(uval); in tnl_parse_key()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp155 Value.uval = data.getUnsigned(offset_ptr, AddrSize) + R.second; in extractValue()
157 Value.uval = data.getUnsigned(offset_ptr, AddrSize); in extractValue()
162 Value.uval = data.getULEB128(offset_ptr); in extractValue()
166 Value.uval = data.getU8(offset_ptr); in extractValue()
170 Value.uval = data.getU16(offset_ptr); in extractValue()
174 Value.uval = data.getU32(offset_ptr); in extractValue()
180 Value.uval = data.getU8(offset_ptr); in extractValue()
184 Value.uval = data.getU16(offset_ptr); in extractValue()
188 Value.uval = data.getU32(offset_ptr); in extractValue()
193 Value.uval += AI->second.second; in extractValue()
[all …]
/external/flac/libFLAC/
Dbitwriter.c406 FLAC__uint32 uval; in FLAC__bitwriter_rice_bits() local
411 uval = (val<<1) ^ (val>>31); in FLAC__bitwriter_rice_bits()
413 return 1 + parameter + (uval >> parameter); in FLAC__bitwriter_rice_bits()
419 unsigned bits, msbs, uval;
426 uval = (unsigned)(((-(++val)) << 1) + 1);
428 uval = (unsigned)(val << 1);
434 msbs = uval >> k;
441 q = uval / parameter;
442 r = uval - (q * parameter);
451 unsigned FLAC__bitwriter_golomb_bits_unsigned(unsigned uval, unsigned parameter)
[all …]
Dbitreader.c421 FLAC__uint32 uval, mask; in FLAC__bitreader_read_raw_int32() local
423 if(!FLAC__bitreader_read_raw_uint32(br, &uval, bits)) in FLAC__bitreader_read_raw_int32()
428 *val = (uval ^ mask) - mask; in FLAC__bitreader_read_raw_int32()
688 unsigned uval; in FLAC__bitreader_read_rice_signed() local
703 uval = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed()
704 if(uval & 1) in FLAC__bitreader_read_rice_signed()
705 *val = -((int)(uval >> 1)) - 1; in FLAC__bitreader_read_rice_signed()
707 *val = (int)(uval >> 1); in FLAC__bitreader_read_rice_signed()
856 unsigned bit, uval, k;
873 uval = (msbs << k) | lsbs;
[all …]
/external/icu/icu4c/source/common/
Dcstring.c163 uint32_t uval; in T_CString_integerToString() local
166 uval = (uint32_t) v; in T_CString_integerToString()
169 uval = (uint32_t)(-v); in T_CString_integerToString()
176 digit = (uint8_t)(uval % radix); in T_CString_integerToString()
178 uval = uval / radix; in T_CString_integerToString()
179 } while (uval != 0); in T_CString_integerToString()
201 uint64_t uval; in T_CString_int64ToString() local
204 uval = (uint64_t) v; in T_CString_int64ToString()
207 uval = (uint64_t)(-v); in T_CString_int64ToString()
214 digit = (uint8_t)(uval % radix); in T_CString_int64ToString()
[all …]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFFormValue.cpp94 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize()); in extractValue()
97 Value.uval = data.getULEB128(offset_ptr); in extractValue()
101 Value.uval = data.getU8(offset_ptr); in extractValue()
105 Value.uval = data.getU16(offset_ptr); in extractValue()
109 Value.uval = data.getU32(offset_ptr); in extractValue()
115 Value.uval = data.getU8(offset_ptr); in extractValue()
119 Value.uval = data.getU16(offset_ptr); in extractValue()
123 Value.uval = data.getU32(offset_ptr); in extractValue()
127 Value.uval = data.getU64(offset_ptr); in extractValue()
133 Value.uval = data.getU32(offset_ptr); in extractValue()
[all …]
DDWARFFormValue.h24 uval = 0; in ValueType()
28 uint64_t uval; member
64 uint64_t getUnsigned() const { return Value.uval; } in getUnsigned()
/external/ltp/lib/
Dtst_kvercmp.c100 struct utsname uval; in tst_kvercmp() local
102 uname(&uval); in tst_kvercmp()
104 return tst_kvcmp(uval.release, r1, r2, r3); in tst_kvercmp()
149 struct utsname uval; in tst_kvercmp2() local
152 uname(&uval); in tst_kvercmp2()
153 kver = uval.release; in tst_kvercmp2()
/external/libunwind/include/
Ddwarf_i.h212 uint8_t uval; in dwarf_reads8() local
215 if ((ret = dwarf_readu8 (as, a, addr, &uval, arg)) < 0) in dwarf_reads8()
217 *val = (int8_t) uval; in dwarf_reads8()
225 uint16_t uval; in dwarf_reads16() local
228 if ((ret = dwarf_readu16 (as, a, addr, &uval, arg)) < 0) in dwarf_reads16()
230 *val = (int16_t) uval; in dwarf_reads16()
238 uint32_t uval; in dwarf_reads32() local
241 if ((ret = dwarf_readu32 (as, a, addr, &uval, arg)) < 0) in dwarf_reads32()
243 *val = (int32_t) uval; in dwarf_reads32()
251 uint64_t uval; in dwarf_reads64() local
[all …]
/external/elfutils/libdw/
Ddwarf_highpc.c56 Dwarf_Word uval; in dwarf_highpc() local
57 if (INTUSE(dwarf_formudata) (attr_high, &uval) == 0) in dwarf_highpc()
59 *return_addr += uval; in dwarf_highpc()
/external/clang/test/CodeGen/
Datomic.c9 unsigned int uval = 1; in atomic() local
25 old = __sync_fetch_and_umin(&uval, 5u); in atomic()
28 old = __sync_fetch_and_umax(&uval, 6u); in atomic()
/external/svox/pico/lib/
Dpicotok.c677 picoos_uint32 uval; in tok_interpretMarkup() local
704 if (tok_isRelative(tok->markupParams[0].paramVal, & uval)) { in tok_interpretMarkup()
705 …tok_checkLimits(this, & uval, PICO_SPEED_FACTOR_MIN, PICO_SPEED_FACTOR_MAX,(picoos_uchar*)"relativ… in tok_interpretMarkup()
706 …_ITEM_CMD, PICODATA_ITEMINFO1_CMD_SPEED, PICODATA_ITEMINFO2_CMD_RELATIVE, uval, (picoos_uchar*)""); in tok_interpretMarkup()
708 uval = picoos_atoi((picoos_char*)tok->markupParams[0].paramVal); in tok_interpretMarkup()
709 … tok_checkLimits(this, & uval, PICO_SPEED_MIN, PICO_SPEED_MAX,(picoos_uchar*)"speed"); in tok_interpretMarkup()
710 …_ITEM_CMD, PICODATA_ITEMINFO1_CMD_SPEED, PICODATA_ITEMINFO2_CMD_ABSOLUTE, uval, (picoos_uchar*)""); in tok_interpretMarkup()
720 if (tok_isRelative(tok->markupParams[0].paramVal, & uval)) { in tok_interpretMarkup()
721 …tok_checkLimits(this, & uval,PICO_PITCH_FACTOR_MIN,PICO_PITCH_FACTOR_MAX, (picoos_uchar*)"relative… in tok_interpretMarkup()
722 …_ITEM_CMD, PICODATA_ITEMINFO1_CMD_PITCH, PICODATA_ITEMINFO2_CMD_RELATIVE, uval, (picoos_uchar*)""); in tok_interpretMarkup()
[all …]
/external/llvm/test/CodeGen/Mips/
Dinlineasm-operand-code.ll16 @uval = common global %union.u_tag zeroinitializer, align 8
153 ; ALL: lw ${{[0-9]+}}, %got(uval)(${{[0-9,a-z]+}})
160 …%bosco = load i64, i64* getelementptr inbounds (%union.u_tag, %union.u_tag* @uval, i32 0, i32 0), …
171 ; ALL: lw ${{[0-9]+}}, %got(uval)(${{[0-9,a-z]+}})
178 …%bosco = load i64, i64* getelementptr inbounds (%union.u_tag, %union.u_tag* @uval, i32 0, i32 0), …
189 ; ALL: lw ${{[0-9]+}}, %got(uval)(${{[0-9,a-z]+}})
196 …%bosco = load i64, i64* getelementptr inbounds (%union.u_tag, %union.u_tag* @uval, i32 0, i32 0), …
/external/clang/test/OpenMP/
Dsimd_linear_messages.cpp112 …#pragma omp simd linear (uval( // expected-error {{expected expression}} expected-error 2 {{expect… in foomain()
142 …#pragma omp simd linear(uval(i)) // expected-error {{variable of non-reference type 'int' can be u… in foomain()
153 #pragma omp simd linear(uval(j)) in foomain()
177 #pragma omp simd linear(uval(f)) in linear_modifiers()
238 …#pragma omp simd linear(uval(i) : 4) // expected-error {{variable of non-reference type 'int' can … in main()
Dtaskloop_simd_linear_messages.cpp112 …#pragma omp taskloop simd linear (uval( // expected-error {{expected expression}} expected-error 2… in foomain()
142 …#pragma omp taskloop simd linear(uval(i)) // expected-error {{variable of non-reference type 'int'… in foomain()
153 #pragma omp taskloop simd linear(uval(j)) in foomain()
177 #pragma omp taskloop simd linear(uval(f)) in linear_modifiers()
238 …#pragma omp taskloop simd linear(uval(i) : 4) // expected-error {{variable of non-reference type '… in main()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h40 uval = 0; in ValueType()
44 uint64_t uval; member

123