Home
last modified time | relevance | path

Searched refs:dummy (Results 1 – 25 of 991) sorted by relevance

12345678910>>...40

/external/caliper/examples/src/main/java/examples/
DIntModBenchmark.java29 int dummy = 5; in conditional() local
31 dummy += Integer.MAX_VALUE + conditionalMod(dummy, M); in conditional()
33 return dummy; in conditional()
42 int dummy = 5; in doubleRemainder() local
44 dummy += Integer.MAX_VALUE + doubleRemainderMod(dummy, M); in doubleRemainder()
46 return dummy; in doubleRemainder()
55 int dummy = 5; in rightShiftingMod() local
57 dummy += Integer.MAX_VALUE + rightShiftingMod(dummy, M); in rightShiftingMod()
59 return dummy; in rightShiftingMod()
69 int dummy = 5; in leftShiftingMod() local
[all …]
DDoubleToStringBenchmark2.java44 int dummy = 0; in toString() local
48 dummy += d.toString().length(); in toString()
53 dummy += ((Double) d).toString().length(); in toString()
56 return dummy; in toString()
60 int dummy = 0; in stringValueOf() local
64 dummy += String.valueOf(d).length(); in stringValueOf()
69 dummy += String.valueOf(d).length(); in stringValueOf()
72 return dummy; in stringValueOf()
76 int dummy = 0; in stringFormat() local
80 dummy += String.format("%f", d).length(); in stringFormat()
[all …]
DCopyArrayBenchmark.java282 int dummy = 0; in objects() local
284 dummy += System.identityHashCode(strategy.copy(objectArray)); in objects()
286 return dummy; in objects()
290 int dummy = 0; in booleans() local
292 dummy += System.identityHashCode(strategy.copy(booleanArray)); in booleans()
294 return dummy; in booleans()
298 int dummy = 0; in bytes() local
300 dummy += System.identityHashCode(strategy.copy(byteArray)); in bytes()
302 return dummy; in bytes()
306 int dummy = 0; in chars() local
[all …]
DVarargsBenchmark.java160 long dummy = 0; in oneArgument() local
164 dummy += strategy.one(data[i % dataLength]); in oneArgument()
166 return dummy; in oneArgument()
170 long dummy = 0; in twoArguments() local
174 dummy += strategy.two(data[i % dataLength], data[(i + 1) % dataLength]); in twoArguments()
176 return dummy; in twoArguments()
180 long dummy = 0; in threeArguments() local
184 dummy += strategy.three( in threeArguments()
189 return dummy; in threeArguments()
193 long dummy = 0; in fourArguments() local
[all …]
DLoopingBackwardsBenchmark.java29 int dummy = 0; in forwards() local
32 dummy += j; in forwards()
35 return dummy; in forwards()
39 int dummy = 0; in backwards() local
42 dummy += j; in backwards()
45 return dummy; in backwards()
DListIterationBenchmark.java55 int dummy = 0; in listIteration() local
58 dummy |= value.hashCode(); in listIteration()
61 return dummy; in listIteration()
65 int dummy = 0; in arrayIteration() local
68 dummy |= value.hashCode(); in arrayIteration()
71 return dummy; in arrayIteration()
DDemoBenchmark.java53 int dummy = 0; in something() local
55 dummy += i; in something()
57 return dummy; in something()
61 int dummy = 0; in somethingElse() local
63 dummy -= i; in somethingElse()
65 return dummy; in somethingElse()
/external/guava/guava-tests/benchmark/com/google/common/base/
DJoinerBenchmark.java57 int dummy = 0; in joinerWithStringDelimiter() local
59 dummy ^= JOINER_ON_STRING.join(components).length(); in joinerWithStringDelimiter()
61 return dummy; in joinerWithStringDelimiter()
68 int dummy = 0; in joinerWithCharacterDelimiter() local
70 dummy ^= JOINER_ON_CHARACTER.join(components).length(); in joinerWithCharacterDelimiter()
72 return dummy; in joinerWithCharacterDelimiter()
80 int dummy = 0; in joinerInlined() local
91 dummy ^= sb.toString().length(); in joinerInlined()
93 return dummy; in joinerInlined()
102 int dummy = 0; in stringBuilderIsEmpty() local
[all …]
DObjectsBenchmark.java41 int dummy = 0; in hashString_2() local
43 dummy += Objects.hashCode(S0, S1); in hashString_2()
45 return dummy; in hashString_2()
49 int dummy = 0; in hashString_3() local
51 dummy += Objects.hashCode(S0, S1, S2); in hashString_3()
53 return dummy; in hashString_3()
57 int dummy = 0; in hashString_4() local
59 dummy += Objects.hashCode(S0, S1, S2, S3); in hashString_4()
61 return dummy; in hashString_4()
65 int dummy = 0; in hashString_5() local
[all …]
DAsciiBenchmark.java80 int dummy = 0; in asciiStringToUpperCase() local
82 dummy += Ascii.toUpperCase(string).length(); in asciiStringToUpperCase()
84 return dummy; in asciiStringToUpperCase()
92 int dummy = 0; in asciiCharSequenceToUpperCase() local
94 dummy += charSequenceToUpperCase(string).length(); in asciiCharSequenceToUpperCase()
96 return dummy; in asciiCharSequenceToUpperCase()
104 int dummy = 0; in stringToUpperCase() local
106 dummy += string.toUpperCase(Locale.US).length(); in stringToUpperCase()
108 return dummy; in stringToUpperCase()
119 boolean dummy = false; in equalsIgnoreCaseCharSequence()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/
DScannerImplTest.java40 Mark dummy = new Mark("dummy", 0, 0, 0, "", 0); in testGetToken() local
42 etalonTokens.add(new StreamStartToken(dummy, dummy)); in testGetToken()
43 etalonTokens.add(new BlockMappingStartToken(dummy, dummy)); in testGetToken()
44 etalonTokens.add(new KeyToken(dummy, dummy)); in testGetToken()
45 etalonTokens.add(new ScalarToken("string", true, dummy, dummy, (char) 0)); in testGetToken()
46 etalonTokens.add(new ValueToken(dummy, dummy)); in testGetToken()
47 etalonTokens.add(new ScalarToken("abcd", true, dummy, dummy, (char) 0)); in testGetToken()
48 etalonTokens.add(new BlockEndToken(dummy, dummy)); in testGetToken()
49 etalonTokens.add(new StreamEndToken(dummy, dummy)); in testGetToken()
/external/llvm/test/Transforms/MergeFunc/
Dcall-and-invoke-with-ranges.ll4 bitcast i8 0 to i8 ; dummy to make the function large enough
5 %out = call i8 @dummy(), !range !0
12 ; CHECK-NEXT: %out = call i8 @dummy()
15 %out = call i8 @dummy()
22 ; CHECK-NEXT: %out = call i8 @dummy(), !range !1
25 %out = call i8 @dummy(), !range !1
30 %out = invoke i8 @dummy() to label %next unwind label %lpad, !range !0
42 ; CHECK-NEXT: invoke i8 @dummy
43 %out = invoke i8 @dummy() to label %next unwind label %lpad
55 ; CHECK-NEXT: invoke i8 @dummy
[all …]
/external/guava/guava-tests/benchmark/com/google/common/collect/
DSortedCopyBenchmark.java84 int dummy = 0; in collections() local
90 dummy += copy.get(0); in collections()
96 dummy += ImmutableList.copyOf(copy).get(0); in collections()
99 return dummy; in collections()
104 int dummy = 0; in ordering() local
107 dummy += ORDERING.sortedCopy(input).get(0); in ordering()
111 dummy += ORDERING.immutableSortedCopy(input).get(0); in ordering()
114 return dummy; in ordering()
119 int dummy = 0; in sortedSet() local
122 dummy += new TreeSet<Integer>(input).first(); in sortedSet()
[all …]
DImmutableListCreationBenchmark.java38 int dummy = 0; in builderAdd() local
44 dummy += builder.build().size(); in builderAdd()
46 return dummy; in builderAdd()
51 int dummy = 0; in preSizedBuilderAdd() local
57 dummy += builder.build().size(); in preSizedBuilderAdd()
59 return dummy; in preSizedBuilderAdd()
64 int dummy = 0; in copyArrayList() local
70 dummy += ImmutableList.copyOf(builder).size(); in copyArrayList()
72 return dummy; in copyArrayList()
/external/v8/test/mjsunit/es6/
Ddebug-stepin-microtasks.js68 var dummy = {};
69 Object.observe(dummy, observer1);
70 Object.observe(dummy, Object); // Should skip stepping into native.
71 Object.observe(dummy, Boolean); // Should skip stepping into native.
72 Object.observe(dummy, observer2);
73 dummy.foo = 1;
91 var dummy = {};
92 Object.observe(dummy, function() {
101 dummy.foo = 1;
/external/libunwind/aux/
Dconfig.guess92 dummy=dummy-$$
223 cat <<EOF >$dummy.s
249 $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
251 case `./$dummy` in
275 rm -f $dummy.s $dummy
401 sed 's/^ //' << EOF >$dummy.c
422 $CC_FOR_BUILD $dummy.c -o $dummy \
423 && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
424 && rm -f $dummy.c $dummy && exit 0
425 rm -f $dummy.c $dummy
[all …]
/external/webrtc/webrtc/voice_engine/test/auto_test/extended/
Dec_metrics_test.cc61 int dummy = 0; in TEST_F() local
63 EXPECT_EQ(-1, voe_apm_->GetEchoMetrics(dummy, dummy, dummy, dummy)); in TEST_F()
68 int dummy = 0; in TEST_F() local
71 EXPECT_EQ(-1, voe_apm_->GetEcDelayMetrics(dummy, dummy, dummy_f)); in TEST_F()
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
Dtest_mox.py1030 dummy = mox.MockObject(TestClass)
1031 dummy['X'] = 'Y'
1033 dummy._Replay()
1035 dummy['X'] = 'Y'
1037 dummy._Verify()
1044 dummy = mox.MockObject(TestClass)
1045 dummy['X'] = 'Y'
1047 dummy._Replay()
1051 self.assertRaises(mox.ExpectedMethodCallsError, dummy._Verify)
1055 dummy = mox.MockObject(TestClass)
[all …]
/external/chromium-trace/catapult/third_party/mox3/mox3/tests/
Dtest_mox.py1030 dummy = mox.MockObject(TestClass)
1031 dummy['X'] = 'Y'
1033 dummy._Replay()
1035 dummy['X'] = 'Y'
1037 dummy._Verify()
1044 dummy = mox.MockObject(TestClass)
1045 dummy['X'] = 'Y'
1047 dummy._Replay()
1051 self.assertRaises(mox.ExpectedMethodCallsError, dummy._Verify)
1055 dummy = mox.MockObject(TestClass)
[all …]
/external/jsoncpp/makefiles/vs71/
Djsoncpp.sln19 dummy = dummy
25 {B84F7231-16CE-41D8-8C08-7B523FF4225B}.dummy.ActiveCfg = dummy|Win32
26 {B84F7231-16CE-41D8-8C08-7B523FF4225B}.dummy.Build.0 = dummy|Win32
31 {25AF2DD2-D396-4668-B188-488C33B8E620}.dummy.ActiveCfg = Debug|Win32
32 {25AF2DD2-D396-4668-B188-488C33B8E620}.dummy.Build.0 = Debug|Win32
37 {B7A96B78-2782-40D2-8F37-A2DEF2B9C26D}.dummy.ActiveCfg = Debug|Win32
38 {B7A96B78-2782-40D2-8F37-A2DEF2B9C26D}.dummy.Build.0 = Debug|Win32
/external/clang/test/SemaObjC/
Dobjc-boxed-expressions-nsvalue.m6 int dummy; typedef
10 int dummy; typedef
14 int dummy; typedef
18 int dummy; typedef
22 int dummy; typedef
26 int dummy; typedef
30 int dummy; typedef
34 int dummy; field
44 int dummy; typedef
/external/llvm/test/CodeGen/SystemZ/
Datomicrmw-or-04.ll6 define i64 @f1(i64 %dummy, i64 *%src, i64 %b) {
20 define i64 @f2(i64 %dummy, i64 *%src) {
34 define i64 @f3(i64 %dummy, i64 *%src) {
43 define i64 @f4(i64 %dummy, i64 *%src) {
52 define i64 @f5(i64 %dummy, i64 *%src) {
61 define i64 @f6(i64 %dummy, i64 *%src) {
70 define i64 @f7(i64 %dummy, i64 *%src) {
79 define i64 @f8(i64 %dummy, i64 *%src) {
88 define i64 @f9(i64 %dummy, i64 *%src) {
98 define i64 @f10(i64 %dummy, i64 *%src) {
[all …]
Datomicrmw-nand-04.ll6 define i64 @f1(i64 %dummy, i64 *%src, i64 %b) {
23 define i64 @f2(i64 %dummy, i64 *%src) {
32 define i64 @f3(i64 %dummy, i64 *%src) {
47 define i64 @f4(i64 %dummy, i64 *%src) {
63 define i64 @f5(i64 %dummy, i64 *%src) {
72 define i64 @f6(i64 %dummy, i64 *%src) {
81 define i64 @f7(i64 %dummy, i64 *%src) {
90 define i64 @f8(i64 %dummy, i64 *%src) {
99 define i64 @f9(i64 %dummy, i64 *%src) {
108 define i64 @f10(i64 %dummy, i64 *%src) {
[all …]
Datomicrmw-and-04.ll6 define i64 @f1(i64 %dummy, i64 *%src, i64 %b) {
21 define i64 @f2(i64 %dummy, i64 *%src) {
30 define i64 @f3(i64 %dummy, i64 *%src) {
43 define i64 @f4(i64 %dummy, i64 *%src) {
57 define i64 @f5(i64 %dummy, i64 *%src) {
66 define i64 @f6(i64 %dummy, i64 *%src) {
75 define i64 @f7(i64 %dummy, i64 *%src) {
84 define i64 @f8(i64 %dummy, i64 *%src) {
93 define i64 @f9(i64 %dummy, i64 *%src) {
102 define i64 @f10(i64 %dummy, i64 *%src) {
[all …]
/external/libjpeg-turbo/
Djpeglib.h1076 struct jvirt_sarray_control { long dummy; }; member
1077 struct jvirt_barray_control { long dummy; }; member
1078 struct jpeg_comp_master { long dummy; }; member
1079 struct jpeg_c_main_controller { long dummy; }; member
1080 struct jpeg_c_prep_controller { long dummy; }; member
1081 struct jpeg_c_coef_controller { long dummy; }; member
1082 struct jpeg_marker_writer { long dummy; }; member
1083 struct jpeg_color_converter { long dummy; }; member
1084 struct jpeg_downsampler { long dummy; }; member
1085 struct jpeg_forward_dct { long dummy; }; member
[all …]

12345678910>>...40