Home
last modified time | relevance | path

Searched refs:subscript (Results 1 – 25 of 111) sorted by relevance

12345

/external/clang/test/Sema/
Dwarn-char-subscripts.c5 char subscript = 0; in t1() local
6 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} in t1()
11 char subscript = 0; in t2() local
12 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} in t2()
17 char subscript = 0; in t3() local
18 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} in t3()
23 char subscript = 0; in t4() local
24 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} in t4()
35 signed char subscript = 0; in t6() local
36 int val = array[subscript]; // no warning for explicit signed char in t6()
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/
Dqual_names_test.py37 a_sub_b = QN(a, subscript=b)
64 a_sub_b = QN(a, subscript=b)
75 b_sub_c = QN(b, subscript=c)
76 a_sub_b_sub_c = QN(a, subscript=b_sub_c)
114 a_sub_b = QN(a, subscript='b')
115 a_sub_b2 = QN(a, subscript='b')
123 b_sub_c = QN(b, subscript=c)
124 a_sub_b_sub_c = QN(a, subscript=b_sub_c)
127 a_sub__b_dot_c = QN(a, subscript=b_dot_c)
129 a_sub_b = QN(a, subscript=b)
[all …]
Dqual_names.py64 def __init__(self, base, attr=None, subscript=None): argument
65 if attr is not None and subscript is not None:
67 'both: attr={}, subscript={}.'.format(attr, subscript))
82 elif subscript is not None:
86 self.qn = (base, subscript)
237 subscript = QN(NumberLiteral(s.value.n))
239 subscript = QN(StringLiteral(s.value.s))
243 subscript = anno.getanno(node.slice.value, anno.Basic.QN)
249 subscript=subscript))
/external/compiler-rt/test/asan/TestCases/Windows/
Dintercept_strdup.cc10 int subscript = 1; in main() local
11 ptr[subscript] = '3'; in main()
16 subscript = -1; in main()
17 ptr[subscript] = 42; in main()
Dstack_array_right_oob.cc7 int subscript = 42; in main() local
9 buffer[subscript] = 42; in main()
Dstack_array_left_oob.cc7 int subscript = -1; in main() local
9 buffer[subscript] = 42; in main()
Dstack_array_sanity.cc7 int subscript = 1; in main() local
9 buffer[subscript] = 42; in main()
Ddll_noreturn.cc8 int subscript = -1; in noreturn_f() local
10 buffer[subscript] = 42; in noreturn_f()
Dthread_stack_array_left_oob.cc7 int subscript = -1; in thread_proc() local
9 stack_buffer[subscript] = 42; in thread_proc()
Dthread_stack_array_right_oob.cc7 int subscript = 42; in thread_proc() local
9 stack_buffer[subscript] = 42; in thread_proc()
Ddll_thread_stack_array_left_oob.cc9 int subscript = -1; in thread_proc() local
11 stack_buffer[subscript] = 42; in thread_proc()
Dqueue_user_work_item_report.cc9 int subscript = -1; in work_item() local
11 stack_buffer[subscript] = 42; in work_item()
/external/clang/test/SemaCXX/
Dwarn-char-subscripts.cpp6 T subscript = 0; in t1() local
7 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} in t1()
13 T subscript = 0; in t2() local
14 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} in t2()
/external/clang/test/SemaObjCXX/
Dobjc-container-subscripting.mm35 …base[index] = obj; // expected-error {{indexing expression is invalid because subscript type 'doub…
36 …obj = base[index]; // expected-error {{indexing expression is invalid because subscript type 'doub…
75 …ed-error {{type 'ExplicitlyConvertibleTo<NSMutableArray *>' does not provide a subscript operator}}
136 …return array[w]; // expected-error {{indexing expression is invalid because subscript type 'WeirdI…
/external/clang/test/SemaObjC/
Dobjc-container-subscripting-2.m19 …array[f] = array; // expected-error {{indexing expression is invalid because subscript type 'float…
20 …return array[3.14]; // expected-error {{indexing expression is invalid because subscript type 'dou…
Darc-dict-bridged-cast.m31 …ameKey] = 0; // expected-error {{indexing expression is invalid because subscript type 'CFStringRe…
32 …*)0), 100)]; // expected-error {{indexing expression is invalid because subscript type 'CFMutableS…
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp246 unsigned int subscript = GL_INVALID_INDEX; in getFragDataLocation() local
247 baseName = ParseUniformName(baseName, &subscript); in getFragDataLocation()
256 if(subscript == GL_INVALID_INDEX) // No subscript in getFragDataLocation()
264 return varying.registerIndex + (rowCount > 1 ? colCount * subscript : subscript); in getFragDataLocation()
345 unsigned int subscript = GL_INVALID_INDEX; in getUniform() local
346 std::string baseName = es2::ParseUniformName(name, &subscript); in getUniform()
361 unsigned int subscript = GL_INVALID_INDEX; in getUniformLocation() local
362 std::string baseName = es2::ParseUniformName(name, &subscript); in getUniformLocation()
372 if(subscript == GL_INVALID_INDEX) in getUniformLocation()
378 if(uniformIndex[location].element == subscript) in getUniformLocation()
[all …]
/external/clang/docs/
DObjectiveCLiterals.rst348 Objective-C supports two kinds of subscript expressions: *array-style*
349 subscript expressions use integer typed subscripts; *dictionary-style*
350 subscript expressions use Objective-C object pointer typed subscripts.
351 Each type of subscript expression is mapped to a message send using a
355 the type of the subscript, an object can be subscripted using both array
361 When the subscript operand has an integral type, the expression is
416 When the subscript operand has an Objective-C object pointer type, the
420 subscript operand, as in the following example:
434 subscript:
454 An Objective-C subscript expression occurs when the base operand of the
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/Delinearization/
Dmultidim_only_ivs_3d.ll33 %subscript = add i64 %subscript2, %k
34 %idx = getelementptr inbounds double, double* %A, i64 %subscript
Dmultidim_ivs_and_integer_offsets_3d.ll36 %subscript = add i64 %subscript2, %offset2
37 %idx = getelementptr inbounds double, double* %A, i64 %subscript
/external/llvm/test/Analysis/Delinearization/
Dmultidim_only_ivs_3d.ll33 %subscript = add i64 %subscript2, %k
34 %idx = getelementptr inbounds double, double* %A, i64 %subscript
Dmultidim_ivs_and_integer_offsets_3d.ll36 %subscript = add i64 %subscript2, %offset2
37 %idx = getelementptr inbounds double, double* %A, i64 %subscript
/external/python/cpython2/Grammar/
DGrammar112 subscriptlist: subscript (',' subscript)* [',']
113 subscript: '.' '.' '.' | test | [test] ':' [test] [sliceop]
/external/clang/test/Analysis/
Dobjc-subscript.m66 self[0] = o; // expected-warning {{Argument for subscript setter is an uninitialized value}}
75 self[input] = o; // expected-warning {{Argument for subscript setter is an uninitialized value}}
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/ARM/
Dpartial-subreg.ll9 ; CHECK: DW_AT_name {{.*}}"subscript.get"
50 !5 = distinct !DISubprogram(name: "subscript.get", linkageName: "_TFV4simd8float2x3g9subscriptFSiVS…

12345