Home
last modified time | relevance | path

Searched refs:ARRAY (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/boost/libs/preprocessor/test/
Darray.cxx30 # define ARRAY (3, (0, 1, 2)) macro
37 BEGIN BOOST_PP_ARRAY_ELEM(1, ARRAY) == 1 END
46 BEGIN BOOST_PP_ARRAY_SIZE(ARRAY) == 3 END
59 BEGIN BOOST_PP_VARIADIC_ELEM(2,BOOST_PP_ARRAY_ENUM(ARRAY)) == 2 END
75 BEGIN BOOST_PP_LIST_AT(BOOST_PP_ARRAY_TO_LIST(ARRAY), 1) == 1 END
85 BEGIN BOOST_PP_SEQ_ELEM(0, BOOST_PP_ARRAY_TO_SEQ(ARRAY)) == 0 END
95 BEGIN BOOST_PP_TUPLE_ELEM(2, BOOST_PP_ARRAY_TO_TUPLE(ARRAY)) == 2 END
103 BEGIN BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_ARRAY_TO_TUPLE(ARRAY)) == 2 END
113 BEGIN BOOST_PP_ARRAY_ELEM(0, BOOST_PP_ARRAY_INSERT(ARRAY,2,40)) == 0 END
114 BEGIN BOOST_PP_ARRAY_ELEM(1, BOOST_PP_ARRAY_INSERT(ARRAY,1,40)) == 40 END
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp161 EXPECT_TRUE(Munger.runTest(ARRAY(Align0))); in TEST()
162 EXPECT_TRUE(DumpMunger.runTestForAssembly(ARRAY(Align0))); in TEST()
176 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST()
180 EXPECT_FALSE(DumpMunger.runTestForAssembly(ARRAY(Align30))); in TEST()
197 EXPECT_TRUE(Munger.runTest(ARRAY(Align29))); in TEST()
198 EXPECT_TRUE(DumpMunger.runTestForAssembly(ARRAY(Align29))); in TEST()
287 EXPECT_FALSE(Munger.runTest(ARRAY(Align0), ParseError)); in TEST()
290 EXPECT_FALSE(DumpMunger.runTestForAssembly(ARRAY(Align0))); in TEST()
306 EXPECT_FALSE(Munger.runTest(ARRAY(Align4), ParseError)); in TEST()
309 EXPECT_FALSE(DumpMunger.runTestForAssembly(ARRAY(Align4))); in TEST()
[all …]
DIceParseTypesTest.cpp84 EXPECT_FALSE(Munger.runTest(ARRAY(Edit))); in TEST()
101 EXPECT_FALSE(Munger.runTest(ARRAY(Edit))); in TEST()
/third_party/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp35 #define ARRAY EXPECT_TRUE(type->sampler_array); macro
56 T( sampler1DArray, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_FLOAT, ARRAY, COLOR, 2)
57 T( sampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, ARRAY, COLOR, 3)
58 T( samplerCubeArray, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_FLOAT, ARRAY, COLOR, 4)
62 T( sampler2DMSArray, GLSL_SAMPLER_DIM_MS, GLSL_TYPE_FLOAT, ARRAY, COLOR, 3)
67 T(isampler1DArray, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_INT, ARRAY, COLOR, 2)
68 T(isampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_INT, ARRAY, COLOR, 3)
69 T(isamplerCubeArray, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_INT, ARRAY, COLOR, 4)
73 T(isampler2DMSArray, GLSL_SAMPLER_DIM_MS, GLSL_TYPE_INT, ARRAY, COLOR, 3)
78 T(usampler1DArray, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_UINT, ARRAY, COLOR, 2)
[all …]
/third_party/skia/bench/
DMathBench.cpp325 ARRAY = 1000, enumerator
327 float fData[ARRAY];
334 for (int i = 0; i < ARRAY; ++i) { in FloorBench()
359 for (int i = 0; i < ARRAY; ++i) { in onDraw()
366 for (int i = 0; i < ARRAY; ++i) { in onDraw()
386 ARRAY = 1000, enumerator
388 uint32_t fData[ARRAY];
395 for (int i = 0; i < ARRAY; ++i) { in CLZBench()
419 for (int i = 0; i < ARRAY; ++i) { in onDraw()
426 for (int i = 0; i < ARRAY; ++i) { in onDraw()
[all …]
/third_party/flutter/skia/bench/
DMathBench.cpp325 ARRAY = 1000, enumerator
327 float fData[ARRAY];
334 for (int i = 0; i < ARRAY; ++i) { in FloorBench()
359 for (int i = 0; i < ARRAY; ++i) { in onDraw()
366 for (int i = 0; i < ARRAY; ++i) { in onDraw()
386 ARRAY = 1000, enumerator
388 uint32_t fData[ARRAY];
395 for (int i = 0; i < ARRAY; ++i) { in CLZBench()
419 for (int i = 0; i < ARRAY; ++i) { in onDraw()
426 for (int i = 0; i < ARRAY; ++i) { in onDraw()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_global.cpp54 #define ARRAY(a) \ macro
64 ARRAY(ArrayInitPartial),
65 ARRAY(ArrayInitFull),
66 ARRAY(ArrayConst),
67 ARRAY(ArrayDouble),
/third_party/ejdb/src/util/
Dlwre.c89 #define re_array_append(RE, ARRAY, ELEMENT) \ argument
90 ((ARRAY).size++, \
91 (((ARRAY).size > (ARRAY).capacity) \
92 ? ((ARRAY).at = RE_REALLOC((RE), (ARRAY).at, \
93 sizeof(*(ARRAY).at) * ((ARRAY).capacity = ((ARRAY).capacity \
94 … ? ((ARRAY).capacity * 2) \
96 : (ARRAY).at) \
97 [(ARRAY).size - 1] = (ELEMENT))
99 #define re_array_copy(RE, ARRAY) \ argument
100 { (ARRAY).size, \
[all …]
/third_party/grpc/src/core/lib/json/
Djson.h52 ARRAY enumerator
155 Json(const Array& array) : type_(Type::ARRAY), array_value_(array) {} in Json()
157 type_ = Type::ARRAY;
164 Json(Array&& array) : type_(Type::ARRAY), array_value_(std::move(array)) {} in Json()
166 type_ = Type::ARRAY;
193 case Type::ARRAY:
215 case Type::ARRAY: in CopyFrom()
234 case Type::ARRAY: in MoveFrom()
Djson_reader.cc191 GPR_ASSERT(parent->type() == Json::Type::ARRAY); in CreateAndLinkValue()
215 GPR_ASSERT(type == Json::Type::ARRAY); in StartContainer()
345 } else if (c == ']' && stack_.back()->type() != Json::Type::ARRAY) { in Run()
364 stack_.back()->type() == Json::Type::ARRAY) { in Run()
381 if (c == ']' && stack_.back()->type() != Json::Type::ARRAY) { in Run()
518 if (!StartContainer(Json::Type::ARRAY)) { in Run()
Djson_writer.cc291 ContainerBegins(Json::Type::ARRAY); in DumpArray()
295 ContainerEnds(Json::Type::ARRAY); in DumpArray()
303 case Json::Type::ARRAY: in DumpValue()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DResourceModule.java88 …defaultHeader = getFromTable(info, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING… in ResourceModule()
254 …UResourceBundle t = getFromTable(res, key, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING…
262 case UResourceBundle.ARRAY:
299 … data = getFromTable(res, DATA, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING});
305 … header = getFromTable(res, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING});
314 settings = getFromTable(res, SETTINGS, UResourceBundle.ARRAY);
331 assert_is (settings.getType() == UResourceBundle.ARRAY);
341 assert_is (data.getType() == UResourceBundle.ARRAY
383 if(theData.getType()==UResourceBundle.ARRAY){
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DResourceModule.java89 …defaultHeader = getFromTable(info, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING… in ResourceModule()
255 …UResourceBundle t = getFromTable(res, key, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING…
263 case UResourceBundle.ARRAY:
300 … data = getFromTable(res, DATA, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING});
306 … header = getFromTable(res, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING});
315 settings = getFromTable(res, SETTINGS, UResourceBundle.ARRAY);
332 assert_is (settings.getType() == UResourceBundle.ARRAY);
342 assert_is (data.getType() == UResourceBundle.ARRAY
384 if(theData.getType()==UResourceBundle.ARRAY){
/third_party/python/Lib/ctypes/test/
Dtest_arrays.py22 int_array = ARRAY(fmt, alen)
51 CharArray = ARRAY(c_char, 3)
87 numarray = ARRAY(c_int, alen)
106 self.assertIsNot(ARRAY(c_int, 3), ARRAY(c_int, 4))
107 self.assertIs(ARRAY(c_int, 3), ARRAY(c_int, 3))
/third_party/weston/libweston/renderer-gl/
Degl-glue.c112 #define ARRAY(...) ((const EGLint[]) { __VA_ARGS__ }) macro
114 { ARRAY(EGL_CONFIG_ID), 1, "id: ", "", 3 },
115 { ARRAY(EGL_RED_SIZE, EGL_GREEN_SIZE, EGL_BLUE_SIZE, EGL_ALPHA_SIZE), 4,
117 { ARRAY(EGL_BUFFER_SIZE), 1, "buf: ", "", 2 },
118 { ARRAY(EGL_DEPTH_SIZE), 1, "dep: ", "", 2 },
119 { ARRAY(EGL_STENCIL_SIZE), 1, "stcl: ", "", 1 },
120 { ARRAY(EGL_MIN_SWAP_INTERVAL, EGL_MAX_SWAP_INTERVAL), 2,
123 #undef ARRAY
/third_party/vk-gl-cts/framework/delibs/debase/
DdeDefs.h263 # define DE_LENGTH_OF_ARRAY(ARRAY) ((int)(sizeof(deArraySizeHelper(ARRAY)))) argument
265 # define DE_LENGTH_OF_ARRAY(ARRAY) ((int)(sizeof(ARRAY) / sizeof((ARRAY)[0]))) argument
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DJSON.java49 return new JSON(ValueType.ARRAY, list); in fromList()
75 valueTypes['['] = ValueType.ARRAY;
157 return type == ValueType.ARRAY; in isArray()
165 if (type == ValueType.ARRAY) { in get()
183 if (type != ValueType.ARRAY) { in get()
260 return type == ValueType.ARRAY ? (List<Object>) value : fallbackValue; in asListOr()
400 case ARRAY: in read()
765 UNKNOWN, STRING, NUMBER, NULL, BOOLEAN, ARRAY, OBJECT; enumConstant
785 return ARRAY; in getTypeOf()
933 } else if (json.type == ValueType.ARRAY) { in Builder()
[all …]
/third_party/node/deps/npm/node_modules/jsonparse/
Djsonparse.js42 var ARRAY = C.ARRAY = 0x82; variable
367 this.mode = ARRAY;
376 if (this.mode === ARRAY) {
398 if (this.mode === ARRAY) { this.key++; this.state = VALUE; }
401 …} else if (token === RIGHT_BRACKET && this.mode === ARRAY || token === RIGHT_BRACE && this.mode ==…
/third_party/mksh/
Dvar.c196 if (vp && (vp->flag & (DEFINED | ASSOC | ARRAY)) == in array_index_calc()
781 if ((set & (ARRAY | ASSOC)) == ASSOC) { in vtypeset()
783 set &= ~(ARRAY | ASSOC); in vtypeset()
785 if ((clr & (ARRAY | ASSOC)) == ASSOC) { in vtypeset()
787 clr &= ~(ARRAY | ASSOC); in vtypeset()
905 if (vp && ((vp->flag & (ARRAY | ASSOC)) == ASSOC)) in vtypeset()
919 if (new_refflag == SRF_DISABLE && (vp->flag & (ARRAY|ASSOC)) == ASSOC) in vtypeset()
922 if (vp->flag & ARRAY) { in vtypeset()
934 vp->flag &= ~ARRAY; in vtypeset()
941 vpbase = (vp->flag & ARRAY) ? global(arrayname(tvar)) : vp; in vtypeset()
[all …]
/third_party/mesa3d/src/mesa/main/
Dformat_parser.py33 ARRAY = 'array' variable
341 if self.layout == ARRAY:
378 if self.layout not in (ARRAY, PACKED):
387 if self.layout not in (ARRAY, PACKED):
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc233 if (json.type() != Json::Type::ARRAY) { in ChooseServiceConfig()
249 if (it->second.type() != Json::Type::ARRAY) { in ChooseServiceConfig()
259 if (it->second.type() != Json::Type::ARRAY) { in ChooseServiceConfig()
/third_party/grpc/src/core/ext/filters/client_channel/
Dservice_config.cc90 if (it->second.type() != Json::Type::ARRAY) { in ParseJsonMethodConfig()
137 if (it->second.type() != Json::Type::ARRAY) { in ParsePerMethodParams()
/third_party/protobuf/php/tests/proto/
Dtest_reserved_enum_value_upper.proto8 ARRAY = 2; enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTF.def20 HANDLE_BTF_KIND(3, ARRAY)
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_module.c931 #define ARRAY { DXIL_OP_ARRAY, { 0 } } macro
953 { LITERAL(TYPE_CODE_FUNCTION), FIXED(1), ARRAY, TYPE_INDEX }, 4
956 { LITERAL(TYPE_CODE_STRUCT_ANON), FIXED(1), ARRAY, TYPE_INDEX }, 4
959 { LITERAL(TYPE_CODE_STRUCT_NAME), ARRAY, CHAR6 }, 3
962 { LITERAL(TYPE_CODE_STRUCT_NAMED), FIXED(1), ARRAY, TYPE_INDEX }, 4
1116 { LITERAL(FUNC_CODE_INST_GEP), FIXED(1), TYPE_INDEX, ARRAY,
1203 [VST_ABBREV_ENTRY_8] = { { FIXED(3), VBR(8), ARRAY, FIXED(8) }, 4 },
1205 { LITERAL(VST_CODE_ENTRY), VBR(8), ARRAY, FIXED(7), }, 4
1208 { LITERAL(VST_CODE_ENTRY), VBR(8), ARRAY, CHAR6, }, 4
1211 { LITERAL(VST_CODE_BBENTRY), VBR(8), ARRAY, CHAR6, }, 4
[all …]

123456