Home
last modified time | relevance | path

Searched refs:ival (Results 1 – 25 of 102) sorted by relevance

12345

/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp368 ppToken->ival = 0; in characterLiteral()
385 ppToken->ival = 7; in characterLiteral()
388 ppToken->ival = 8; in characterLiteral()
391 ppToken->ival = 9; in characterLiteral()
394 ppToken->ival = 10; in characterLiteral()
397 ppToken->ival = 11; in characterLiteral()
400 ppToken->ival = 12; in characterLiteral()
403 ppToken->ival = 13; in characterLiteral()
413 ppToken->ival = ch; in characterLiteral()
418 ppToken->ival = ch; in characterLiteral()
[all …]
/external/libnl/src/lib/
Droute.c154 int ival; in nl_cli_route_parse_nexthop() local
171 if (!(ival = rtnl_link_name2i(link_cache, arg))) in nl_cli_route_parse_nexthop()
174 rtnl_route_nh_set_ifindex(nh, ival); in nl_cli_route_parse_nexthop()
228 int ival; in nl_cli_route_parse_scope() local
230 if ((ival = rtnl_str2scope(arg)) < 0) in nl_cli_route_parse_scope()
233 rtnl_route_set_scope(route, ival); in nl_cli_route_parse_scope()
258 int ival; in nl_cli_route_parse_type() local
260 if ((ival = nl_str2rtntype(arg)) < 0) in nl_cli_route_parse_type()
263 if ((ival = rtnl_route_set_type(route, ival)) < 0) in nl_cli_route_parse_type()
264 nl_cli_fatal(ival, "Unable to set routing type: %s", in nl_cli_route_parse_type()
[all …]
Daddr.c57 int ival; in nl_cli_addr_parse_dev() local
59 if (!(ival = rtnl_link_name2i(link_cache, arg))) in nl_cli_addr_parse_dev()
62 rtnl_addr_set_ifindex(addr, ival); in nl_cli_addr_parse_dev()
89 int ival; in nl_cli_addr_parse_scope() local
91 if ((ival = rtnl_str2scope(arg)) < 0) in nl_cli_addr_parse_scope()
94 rtnl_addr_set_scope(addr, ival); in nl_cli_addr_parse_scope()
Dneigh.c58 int ival; in nl_cli_neigh_parse_dev() local
60 if (!(ival = rtnl_link_name2i(link_cache, arg))) in nl_cli_neigh_parse_dev()
63 rtnl_neigh_set_ifindex(neigh, ival); in nl_cli_neigh_parse_dev()
/external/python/cpython3/Misc/
Dcoverity_model.c41 static PyObject *get_small_int(sdigit ival) in get_small_int() argument
49 PyObject *PyLong_FromLong(long ival) in PyLong_FromLong() argument
54 if ((ival >= -5) && (ival < 257 + 5)) { in PyLong_FromLong()
55 p = get_small_int(ival); in PyLong_FromLong()
65 PyObject *PyLong_FromLongLong(long long ival) in PyLong_FromLongLong() argument
67 return PyLong_FromLong((long)ival); in PyLong_FromLongLong()
70 PyObject *PyLong_FromSsize_t(Py_ssize_t ival) in PyLong_FromSsize_t() argument
72 return PyLong_FromLong((long)ival); in PyLong_FromSsize_t()
/external/python/cpython2/Python/
Dgetargs.c630 long ival; in convertsimple() local
633 ival = PyInt_AsLong(arg); in convertsimple()
634 if (ival == -1 && PyErr_Occurred()) in convertsimple()
636 else if (ival < 0) { in convertsimple()
641 else if (ival > UCHAR_MAX) { in convertsimple()
647 *p = (unsigned char) ival; in convertsimple()
654 long ival; in convertsimple() local
657 ival = PyInt_AsUnsignedLongMask(arg); in convertsimple()
658 if (ival == -1 && PyErr_Occurred()) in convertsimple()
661 *p = (unsigned char) ival; in convertsimple()
[all …]
/external/iproute2/misc/
Drtacct.c67 __u32 ival[256*4]; member
293 __u32 *ival; in update_db() local
296 ival = read_kern_table(_ival); in update_db()
300 __u32 incr = ival[i] - kern_db->ival[i]; in update_db()
302 if (ival[i] == 0 && incr == 0 && in update_db()
307 kern_db->ival[i] = ival[i]; in update_db()
344 static void pad_kern_table(struct rtacct_data *dat, __u32 *ival) in pad_kern_table() argument
349 if (dat->ival != ival) in pad_kern_table()
350 memcpy(dat->ival, ival, sizeof(dat->ival)); in pad_kern_table()
352 dat->val[i] = ival[i]; in pad_kern_table()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.logical.unary.frag.out10 0:13 ival: direct index for structure ( uniform int)
11 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-com…
17 0:14 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-com…
23 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-com…
29 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-com…
35 0:19 ival: direct index for structure ( uniform int)
36 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-com…
44 0:20 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-com…
52 0:21 ival: direct index for structure ( uniform int)
53 0:21 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-c…
[all …]
Dhlsl.logical.binary.frag.out12 0:13 ival: direct index for structure ( uniform int)
13 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-c…
18 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-c…
26 0:14 ival: direct index for structure ( uniform int)
27 0:14 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-c…
32 0:14 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-c…
59 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-component v…
76 0:13 ival: direct index for structure ( uniform int)
77 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-c…
82 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform int ival, uniform 4-c…
[all …]
Dhlsl.promote.binary.frag.out10 0:15 ival: direct index for structure ( uniform int)
11 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
15 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
21 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
25 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
31 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
35 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
41 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
45 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
57 …niform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-compone…
[all …]
/external/python/cpython3/Python/
Dgetargs.c684 long ival; in convertsimple() local
687 ival = PyLong_AsLong(arg); in convertsimple()
688 if (ival == -1 && PyErr_Occurred()) in convertsimple()
690 else if (ival < 0) { in convertsimple()
695 else if (ival > UCHAR_MAX) { in convertsimple()
701 *p = (unsigned char) ival; in convertsimple()
708 long ival; in convertsimple() local
711 ival = PyLong_AsUnsignedLongMask(arg); in convertsimple()
712 if (ival == -1 && PyErr_Occurred()) in convertsimple()
715 *p = (unsigned char) ival; in convertsimple()
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.logical.unary.frag6 uniform int ival;
13 !ival; // scalar int
19 if (ival);
21 if (!ival);
Dhlsl.logical.binary.frag6 uniform int ival;
13 if (ival && fval);
14 if (ival || fval);
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dgp-plus-offset-load.ll8 define void @loadWord(i32 %val1, i32 %val2, i32* nocapture %ival) nounwind {
16 store i32 %0, i32* %ival, align 4
23 define void @loadByte(i32 %val1, i32 %val2, i8* nocapture %ival) nounwind {
31 store i8 %0, i8* %ival, align 1
38 define void @loadHWord(i32 %val1, i32 %val2, i16* %ival) nounwind {
46 store i16 %0, i16* %ival, align 2
Dgp-plus-offset-store.ll8 define void @storeByte(i32 %val1, i32 %val2, i8 zeroext %ival) nounwind {
15 …store i8 %ival, i8* getelementptr inbounds (%struct.struc, %struct.struc* @foo, i32 0, i32 1), ali…
22 define void @storeHW(i32 %val1, i32 %val2, i16 signext %ival) nounwind {
29 …store i16 %ival, i16* getelementptr inbounds (%struct.struc, %struct.struc* @foo, i32 0, i32 2), a…
/external/llvm/test/CodeGen/Hexagon/
Dgp-plus-offset-load.ll8 define void @loadWord(i32 %val1, i32 %val2, i32* nocapture %ival) nounwind {
16 store i32 %0, i32* %ival, align 4
23 define void @loadByte(i32 %val1, i32 %val2, i8* nocapture %ival) nounwind {
31 store i8 %0, i8* %ival, align 1
38 define void @loadHWord(i32 %val1, i32 %val2, i16* %ival) nounwind {
46 store i16 %0, i16* %ival, align 2
Dgp-plus-offset-store.ll8 define void @storeByte(i32 %val1, i32 %val2, i8 zeroext %ival) nounwind {
15 …store i8 %ival, i8* getelementptr inbounds (%struct.struc, %struct.struc* @foo, i32 0, i32 1), ali…
22 define void @storeHW(i32 %val1, i32 %val2, i16 signext %ival) nounwind {
29 …store i16 %ival, i16* getelementptr inbounds (%struct.struc, %struct.struc* @foo, i32 0, i32 2), a…
/external/python/cpython2/Objects/
Dintobject.c87 PyInt_FromLong(long ival) in PyInt_FromLong() argument
91 if (-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS) { in PyInt_FromLong()
92 v = small_ints[ival + NSMALLNEGINTS]; in PyInt_FromLong()
95 if (ival >= 0) in PyInt_FromLong()
111 v->ob_ival = ival; in PyInt_FromLong()
116 PyInt_FromSize_t(size_t ival) in PyInt_FromSize_t() argument
118 if (ival <= LONG_MAX) in PyInt_FromSize_t()
119 return PyInt_FromLong((long)ival); in PyInt_FromSize_t()
120 return _PyLong_FromSize_t(ival); in PyInt_FromSize_t()
124 PyInt_FromSsize_t(Py_ssize_t ival) in PyInt_FromSsize_t() argument
[all …]
/external/bcc/tools/
Dwakeuptime.py25 ival = int(val)
29 if ival < 0:
31 return ival
34 ival = positive_int(val)
35 if ival == 0:
37 return ival
Doffcputime.py24 ival = int(val)
28 if ival < 0:
30 return ival
33 ival = positive_int(val)
34 if ival == 0:
36 return ival
Dprofile.py44 ival = int(val)
48 if ival < 0:
50 return ival
53 ival = positive_int(val)
54 if ival == 0:
56 return ival
/external/python/cpython3/Objects/
Dbytes_methods.c472 Py_ssize_t ival; in parse_args_finds_byte() local
491 ival = PyNumber_AsSsize_t(tmp_subobj, NULL); in parse_args_finds_byte()
492 if (ival == -1 && PyErr_Occurred()) { in parse_args_finds_byte()
495 if (ival < 0 || ival > 255) { in parse_args_finds_byte()
501 *byte = (char)ival; in parse_args_finds_byte()
712 Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL); in _Py_bytes_contains() local
713 if (ival == -1 && PyErr_Occurred()) { in _Py_bytes_contains()
724 if (ival < 0 || ival >= 256) { in _Py_bytes_contains()
729 return memchr(str, (int) ival, len) != NULL; in _Py_bytes_contains()
Dlongobject.c49 get_small_int(sdigit ival) in get_small_int() argument
52 assert(-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS); in get_small_int()
53 v = (PyObject *)&small_ints[ival + NSMALLNEGINTS]; in get_small_int()
56 if (ival >= 0) in get_small_int()
63 #define CHECK_SMALL_INT(ival) \ argument
64 do if (-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS) { \
65 return get_small_int((sdigit)ival); \
72 sdigit ival = MEDIUM_VALUE(v); in maybe_small_long() local
73 if (-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS) { in maybe_small_long()
75 return (PyLongObject *)get_small_int(ival); in maybe_small_long()
[all …]
/external/bcc/tools/old/
Dprofile.py57 ival = int(val)
61 if ival < 0:
63 return ival
66 ival = positive_int(val)
67 if ival == 0:
69 return ival
/external/jemalloc_new/test/unit/
Demitter.c302 int ival = 123; in emit_json_arr() local
308 emitter_json_kv(emitter, "foo", emitter_type_int, &ival); in emit_json_arr()
311 emitter_json_arr_value(emitter, emitter_type_int, &ival); in emit_json_arr()
312 emitter_json_arr_value(emitter, emitter_type_int, &ival); in emit_json_arr()
314 emitter_json_kv(emitter, "bar", emitter_type_int, &ival); in emit_json_arr()
315 emitter_json_kv(emitter, "baz", emitter_type_int, &ival); in emit_json_arr()

12345