Home
last modified time | relevance | path

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

123456789

/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/core/tpu/kernels/
Dsharding_util_ops.cc134 Eigen::DSizes<Eigen::DenseIndex, 1> subscript; in GetSliceIndices() local
135 subscript[0] = index * slice_shape[0]; in GetSliceIndices()
136 return subscript; in GetSliceIndices()
143 Eigen::DSizes<Eigen::DenseIndex, 2> subscript; in GetSliceIndices() local
144 subscript[1] = (index % num_partitions[1]) * slice_shape[1]; in GetSliceIndices()
145 subscript[0] = (index / num_partitions[1]) * slice_shape[0]; in GetSliceIndices()
146 return subscript; in GetSliceIndices()
153 Eigen::DSizes<Eigen::DenseIndex, 3> subscript; in GetSliceIndices() local
154 subscript[2] = (index % num_partitions[2]) * slice_shape[2]; in GetSliceIndices()
155 subscript[1] = in GetSliceIndices()
[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)
112 a_sub_b = QN(a, subscript='b')
113 a_sub_b2 = QN(a, subscript='b')
121 b_sub_c = QN(b, subscript=c)
122 a_sub_b_sub_c = QN(a, subscript=b_sub_c)
125 a_sub__b_dot_c = QN(a, subscript=b_dot_c)
127 a_sub_b = QN(a, subscript=b)
[all …]
Dqual_names.py60 def __init__(self, base, attr=None, subscript=None): argument
61 if attr is not None and subscript is not None:
63 'both: attr={}, subscript={}.'.format(attr, subscript))
78 elif subscript is not None:
82 self.qn = (base, subscript)
249 subscript = QN(Literal(s.value))
253 subscript = anno.getanno(s, anno.Basic.QN)
259 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_right_oob.cc7 int subscript = 42; in thread_proc() local
9 stack_buffer[subscript] = 42; in thread_proc()
Dthread_stack_array_left_oob.cc7 int subscript = -1; 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/angle/src/compiler/translator/tree_util/
DSpecializationConstant.cpp198 int subscript, in CreateFloatArrayWithRotationIndex() argument
207 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Identity][subscript] * scale, EbpLow), in CreateFloatArrayWithRotationIndex()
208 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated90Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
210 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated180Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
212 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated270Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
214 CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::FlippedIdentity][subscript] * scale, in CreateFloatArrayWithRotationIndex()
217 valuesEnumMap[vk::SurfaceRotation::FlippedRotated90Degrees][subscript] * scale, EbpLow), in CreateFloatArrayWithRotationIndex()
219 valuesEnumMap[vk::SurfaceRotation::FlippedRotated180Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
222 valuesEnumMap[vk::SurfaceRotation::FlippedRotated270Degrees][subscript] * scale, in CreateFloatArrayWithRotationIndex()
/external/icu/icu4c/source/data/lang/
Droot.txt19 subscript{"subscript {0}"}
/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/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/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/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}}

123456789