Home
last modified time | relevance | path

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

123456

/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.py68 def __init__(self, base, attr=None, subscript=None): argument
69 if attr is not None and subscript is not None:
71 'both: attr={}, subscript={}.'.format(attr, subscript))
86 elif subscript is not None:
90 self.qn = (base, subscript)
246 subscript = QN(NumberLiteral(s.value.value))
250 subscript = anno.getanno(node.slice.value, anno.Basic.QN)
256 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_left_oob.cc7 int subscript = -1; in main() local
9 buffer[subscript] = 42; in main()
Dstack_array_right_oob.cc7 int subscript = 42; 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/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Einsum.pbtxt24 have a corresponding input subscript appearing in the comma-separated left-hand
26 output subscript. The input subscripts and the output subscript should consist
40 appearing more than once in the same input subscript, we take the
47 subscript but not in the output subscript are summed over prior to Tensor
53 input subscripts and also in the output subscript make up the batch
84 ellipsis in the output subscript. If the broadcasted dimensions are non-empty
95 * This Op also supports repeated indices in the output subscript, which is not
/external/mesa3d/src/intel/compiler/
Dbrw_fs_lower_regioning.cpp355 ibld.MOV(subscript(tmp, raw_type, j), subscript(raw_src, raw_type, j)); in lower_src_region()
408 ibld.MOV(subscript(tmp, raw_type, j), in lower_dst_region()
409 subscript(inst->dst, raw_type, j)); in lower_dst_region()
413 ibld.at(block, inst->next).MOV(subscript(inst->dst, raw_type, j), in lower_dst_region()
414 subscript(tmp, raw_type, j)); in lower_dst_region()
/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/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/angle/src/libANGLE/
DVaryingPacking.cpp423 void VaryingPacking::packUserVaryingTF(const ProgramVaryingRef &ref, size_t subscript) in packUserVaryingTF() argument
432 mPackedVaryings.back().arrayIndex = static_cast<GLuint>(subscript); in packUserVaryingTF()
520 size_t subscript = GL_INVALID_INDEX; in collectAndPackUserVaryings() local
523 subscript = subscripts.back(); in collectAndPackUserVaryings()
552 packUserVaryingTF(ref, subscript); in collectAndPackUserVaryings()
557 if (subscript == GL_INVALID_INDEX) in collectAndPackUserVaryings()
/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

123456