Home
last modified time | relevance | path

Searched refs:ints (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-cross/tests-other/
H A Dsmall_vector.cpp47 SmallVector<RAIIInt, 2> ints; in propagate_stack_to_heap() local
48 ints.emplace_back(1); in propagate_stack_to_heap()
49 ints.emplace_back(2); in propagate_stack_to_heap()
50 auto *old_data = ints.data(); in propagate_stack_to_heap()
51 SPVC_ASSERT(ints[0].v == 1); in propagate_stack_to_heap()
52 SPVC_ASSERT(ints[1].v == 2); in propagate_stack_to_heap()
53 ints.emplace_back(3); in propagate_stack_to_heap()
54 SPVC_ASSERT(old_data != ints.data()); in propagate_stack_to_heap()
55 SPVC_ASSERT(ints[0].v == 1); in propagate_stack_to_heap()
56 SPVC_ASSERT(ints[ in propagate_stack_to_heap()
63 SmallVector<RAIIInt, 2> ints; insert_end() local
80 SmallVector<RAIIInt, 2> ints; insert_begin_realloc() local
97 SmallVector<RAIIInt, 2> ints; insert_middle_realloc() local
114 SmallVector<RAIIInt, 2> ints; insert_begin_no_realloc() local
132 SmallVector<RAIIInt, 2> ints; insert_middle_no_realloc() local
150 SmallVector<RAIIInt, 2> ints; erase_end() local
163 SmallVector<RAIIInt, 2> ints; erase_middle() local
177 SmallVector<RAIIInt, 2> ints; erase_start() local
[all...]
/third_party/libunwind/libunwind/tests/
H A Dppc64-test-altivec-utils.c7 int ints[4]; member
16 ((union si_overlay *) &v)->ints[0] = count++; in vec_init()
17 ((union si_overlay *) &v)->ints[1] = count++; in vec_init()
18 ((union si_overlay *) &v)->ints[2] = count++; in vec_init()
19 ((union si_overlay *) &v)->ints[3] = count++; in vec_init()
27 ((union si_overlay *) &v)->ints[0], in vec_print()
28 ((union si_overlay *) &v)->ints[1], in vec_print()
29 ((union si_overlay *) &v)->ints[2], in vec_print()
30 ((union si_overlay *) &v)->ints[3]); in vec_print()
/third_party/nghttp2/tests/
H A Dnghttp2_queue_test.c34 int ints[] = {1, 2, 3, 4, 5}; in test_nghttp2_queue() local
40 nghttp2_queue_push(&queue, &ints[i]); in test_nghttp2_queue()
41 CU_ASSERT_EQUAL(ints[0], *(int *)(nghttp2_queue_front(&queue))); in test_nghttp2_queue()
45 CU_ASSERT_EQUAL(ints[i], *(int *)(nghttp2_queue_front(&queue))); in test_nghttp2_queue()
/third_party/rust/crates/minimal-lexical/etc/
H A Dbellerophon_table.py76 ints = [base**i for _, i in fps]
78 return fps, ints
124 small, ints = generate_small(base, step)
131 print(SMALL_INT_STR.format(base, len(ints), ints))
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
H A DXLIFF2ICUConverter.java978 ResourceInt[] ints = new ResourceInt[2]; in parseTransUnit()
979 ints[0] = new ResourceInt(); in parseTransUnit()
980 ints[1] = new ResourceInt(); in parseTransUnit()
981 parseResourceInt(node, ints); in parseTransUnit()
982 ints[0].translate = ints[1].translate = translate; in parseTransUnit()
983 set[0] = ints[0]; in parseTransUnit()
984 set[1] = ints[1]; in parseTransUnit()
986 ResourceAlias[] ints = new ResourceAlias[2]; in parseTransUnit()
987 ints[ in parseTransUnit()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DPluralSamples.java200 List<Integer> ints = new ArrayList<Integer>(result); in fractions()
203 for (int j = 0; j < ints.size(); ++j) { in fractions()
204 Integer base = ints.get(j); in fractions()
212 Integer fract = getDifferentCategory(ints, keyword); in fractions()
231 private Integer getDifferentCategory(List<Integer> ints, String keyword) { in getDifferentCategory() argument
232 for (int i = ints.size() - 1; i >= 0; --i) { in getDifferentCategory()
233 Integer other = ints.get(i); in getDifferentCategory()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cGPUShader5Tests.cpp861 static const glw::GLint ints[4] = { -1, -1234, 1, 1234 }; in iterate() local
867 { Utils::VARIABLE_TYPE_INT, "int", ints }, in iterate()
877 { Utils::VARIABLE_TYPE_IVEC2, "ivec2", ints }, in iterate()
887 { Utils::VARIABLE_TYPE_IVEC3, "ivec3", ints }, in iterate()
897 { Utils::VARIABLE_TYPE_IVEC4, "ivec4", ints }, in iterate()
948 { Utils::VARIABLE_TYPE_INT, "int", ints }, in iterate()
958 { Utils::VARIABLE_TYPE_IVEC2, "ivec2", ints }, in iterate()
968 { Utils::VARIABLE_TYPE_IVEC3, "ivec3", ints }, in iterate()
978 { Utils::VARIABLE_TYPE_IVEC4, "ivec4", ints }, in iterate()
/third_party/node/test/node-api/test_threadsafe_function/
H A Dbinding.c27 static int ints[ARRAY_LENGTH]; variable
73 status = napi_call_threadsafe_function(ts_fn, &ints[index], in data_source_thread()
305 ints[index] = index; in Init()
/third_party/mesa3d/src/mesa/main/
H A Dget.c244 GLint n, ints[100]; member
946 _mesa_get_compressed_formats(ctx, v->value_int_n.ints); in find_custom_value()
947 assert(v->value_int_n.n <= (int) ARRAY_SIZE(v->value_int_n.ints)); in find_custom_value()
1304 v->value_int_n.ints[0] = GL_PROGRAM_BINARY_FORMAT_MESA; in find_custom_value()
1354 memcpy(v->value_int_n.ints, ctx->Const.SupportedMultisampleModes, in find_custom_value()
1817 params[i] = INT_TO_BOOLEAN(v.value_int_n.ints[i]); in _mesa_GetBooleanv()
1930 params[i] = (GLfloat) v.value_int_n.ints[i]; in _mesa_GetFloatv()
2078 params[i] = v.value_int_n.ints[i]; in _mesa_GetIntegerv()
2200 params[i] = v.value_int_n.ints[i]; in _mesa_GetInteger64v()
2318 params[i] = v.value_int_n.ints[ in _mesa_GetDoublev()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUResourceBundleReader.java399 int[] ints = new int[count]; in getInts()
402 ints[i] = bytes.getInt(offset); in getInts()
407 temp.get(ints); in getInts()
409 return ints; in getInts()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DICUResourceBundleReader.java401 int[] ints = new int[count]; in getInts()
404 ints[i] = bytes.getInt(offset); in getInts()
409 temp.get(ints); in getInts()
411 return ints; in getInts()
/third_party/mesa3d/src/util/tests/
H A Dxmlconfig.cpp80 TEST_F(xmlconfig_test, ints) in TEST_F()
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetMBCS.java519 int[] ints = mbcsTable.fromUnicodeInts; in writeStage3Roundtrip()
572 ints[st3] = (int)value; in writeStage3Roundtrip()
1295 private static int MBCS_VALUE_4_FROM_STAGE_2(int[] ints, int stage2Entry, int c) { in MBCS_VALUE_4_FROM_STAGE_2() argument
1297 return ints[i]; in MBCS_VALUE_4_FROM_STAGE_2()
2857 int[] ints; in encodeLoop()
2904 ints = sharedData.mbcs.fromUnicodeInts; in encodeLoop()
3135 value = MBCS_VALUE_4_FROM_STAGE_2(ints, stage2Entry, c); in encodeLoop()
4828 int[] ints = mbcsTable.fromUnicodeInts; in MBCSGetFilteredUnicodeSetForUnicode()
4865 b = ints[stage3 / 4]; in MBCSGetFilteredUnicodeSetForUnicode()
/third_party/libbpf/src/
H A Dbtf_dump.c1822 /* ints, floats and ptrs */
1886 const __u64 *ints = data; in btf_dump_int_data() local
1893 lsi = ints[0]; in btf_dump_int_data()
1894 msi = ints[1]; in btf_dump_int_data()
1896 lsi = ints[1]; in btf_dump_int_data()
1897 msi = ints[0]; in btf_dump_int_data()
/third_party/ffmpeg/tests/checkasm/x86/
H A Dcheckasm.asm106 ; test for incorrect assumptions that 32-bit ints are zero-extended to 64-bit.
/third_party/rust/crates/syn/tests/
H A Dtest_lit.rs147 fn ints() { in ints() functions
/third_party/vk-gl-cts/external/amber/src/src/
H A Dpipeline_test.cc952 const uint32_t* ints = buf->GetValues<uint32_t>(); in TEST_F() local
954 EXPECT_EQ(1U, ints[0]); in TEST_F()
956 EXPECT_EQ(1U, ints[2]); in TEST_F()
/third_party/rust/crates/nom/src/character/
H A Dstreaming.rs633 macro_rules! ints { macros
692 ints! { i8 i16 i32 i64 i128 }
1169 fn ints(s in "\\PC*") { in ints() functions
H A Dcomplete.rs727 macro_rules! ints { macros
786 ints! { i8 i16 i32 i64 i128 }
1214 fn ints(s in "\\PC*") { in ints() functions
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DShaderCore.hpp228 rr::RValue<rr::Bool> AnyTrue(rr::RValue<sw::SIMD::Int> const &ints);
230 rr::RValue<rr::Bool> AnyFalse(rr::RValue<sw::SIMD::Int> const &ints);
H A DShaderCore.cpp631 rr::RValue<rr::Bool> AnyTrue(rr::RValue<sw::SIMD::Int> const &ints) in AnyTrue() argument
633 return rr::SignMask(ints) != 0; in AnyTrue()
636 rr::RValue<rr::Bool> AnyFalse(rr::RValue<sw::SIMD::Int> const &ints) in AnyFalse() argument
638 return rr::SignMask(~ints) != 0; in AnyFalse()
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
H A DNVCtrl.h4252 * NVCTRLAttributeValidValues.u.bits.ints are on (for example: if bit
4337 unsigned int ints; member
H A DNVCtrl.c587 values->u.bits.ints = rep.bits; in XNVCTRLQueryValidTargetAttributeValues32()
677 values->u.bits.ints = rep.bits_64; in XNVCTRLQueryValidTargetAttributeValues64()
/third_party/skia/src/core/
H A DSkVM.h555 // Jam the pointer into 1 or 2 ints. in pushPtr()
556 int ints[sizeof(ptr) / sizeof(int)]; in pushPtr() local
557 memcpy(ints, &ptr, sizeof(ptr)); in pushPtr()
558 for (int bits : ints) { in pushPtr()
561 return {base, (int)( sizeof(int)*(buf.size() - SK_ARRAY_COUNT(ints)) )}; in pushPtr()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBlitter.cpp35 rr::RValue<rr::Int> PackFields(rr::Int4 const &ints, const sw::int4 shifts) in PackFields() argument
37 return (rr::Int(ints.x) << shifts[0]) | in PackFields()
38 (rr::Int(ints.y) << shifts[1]) | in PackFields()
39 (rr::Int(ints.z) << shifts[2]) | in PackFields()
40 (rr::Int(ints.w) << shifts[3]); in PackFields()

Completed in 49 milliseconds

12