Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 84) sorted by relevance

1234

/art/dexlayout/
Ddex_verify.cc35 dex_ir::Collections& output = output_header->GetCollections(); in VerifyOutputDexFile() local
38 if (!VerifyIds(orig.StringIds(), output.StringIds(), "string ids", error_msg) || in VerifyOutputDexFile()
39 !VerifyIds(orig.TypeIds(), output.TypeIds(), "type ids", error_msg) || in VerifyOutputDexFile()
40 !VerifyIds(orig.ProtoIds(), output.ProtoIds(), "proto ids", error_msg) || in VerifyOutputDexFile()
41 !VerifyIds(orig.FieldIds(), output.FieldIds(), "field ids", error_msg) || in VerifyOutputDexFile()
42 !VerifyIds(orig.MethodIds(), output.MethodIds(), "method ids", error_msg)) { in VerifyOutputDexFile()
46 if (!VerifyClassDefs(orig.ClassDefs(), output.ClassDefs(), error_msg)) { in VerifyOutputDexFile()
53 std::vector<std::unique_ptr<T>>& output, in VerifyIds() argument
56 if (orig.size() != output.size()) { in VerifyIds()
58 "Mismatched size for %s section: %zu vs %zu.", section_name, orig.size(), output.size()); in VerifyIds()
[all …]
Ddex_verify.h34 std::vector<std::unique_ptr<T>>& output,
37 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg);
38 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg);
39 bool VerifyId(dex_ir::ProtoId* orig, dex_ir::ProtoId* output, std::string* error_msg);
40 bool VerifyId(dex_ir::FieldId* orig, dex_ir::FieldId* output, std::string* error_msg);
41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
44 std::vector<std::unique_ptr<dex_ir::ClassDef>>& output,
46 bool VerifyClassDef(dex_ir::ClassDef* orig, dex_ir::ClassDef* output, std::string* error_msg);
48 bool VerifyTypeList(const dex_ir::TypeList* orig, const dex_ir::TypeList* output);
51 dex_ir::AnnotationsDirectoryItem* output,
[all …]
/art/runtime/base/
Dtransform_array_ref_test.cc43 std::vector<int> output; in TEST() local
55 std::copy(taref.begin(), taref.end(), std::back_inserter(output)); in TEST()
56 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); in TEST()
57 output.clear(); in TEST()
59 std::copy(taref.cbegin(), taref.cend(), std::back_inserter(output)); in TEST()
60 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); in TEST()
61 output.clear(); in TEST()
63 std::copy(taref.rbegin(), taref.rend(), std::back_inserter(output)); in TEST()
64 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output); in TEST()
65 output.clear(); in TEST()
[all …]
Dtransform_iterator_test.cc46 std::vector<int> output; in TEST() local
78 std::back_inserter(output)); in TEST()
79 ASSERT_EQ(std::vector<int>({ 2, 8, 4, 9 }), output); in TEST()
80 output.clear(); in TEST()
84 std::back_inserter(output)); in TEST()
85 ASSERT_EQ(std::vector<int>({ 2, 8, 4, 9 }), output); in TEST()
86 output.clear(); in TEST()
90 std::back_inserter(output)); in TEST()
91 ASSERT_EQ(std::vector<int>({ 9, 4, 8, 2 }), output); in TEST()
92 output.clear(); in TEST()
[all …]
/art/runtime/
Dindenter_test.cc23 std::ostringstream output; in TEST() local
24 Indenter indent_filter(output.rdbuf(), '\t', 2); in TEST()
27 EXPECT_EQ(output.str(), ""); in TEST()
30 EXPECT_EQ(output.str(), "\t\thello"); in TEST()
33 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again"); in TEST()
36 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again\n"); in TEST()
/art/test/923-monitors/src/art/
DTest923.java35 output = new ArrayList<String>(100); in doTest()
39 for (String s : output) { in doTest()
42 output.clear(); in doTest()
143 Iterator<String> it = output.iterator(); in threadTests()
154 System.out.println(output); in threadTests()
159 System.out.println(output); in threadTests()
166 expect("Lock", it, output); in threadTests()
167 expect("Notify", it, output); in threadTests()
168 expect("Unlock", it, output); in threadTests()
171 expect("Awakened", it, output); in threadTests()
[all …]
/art/tools/dmtracedump/
Ddmtracedump.pl11 $output = "$input.html";
13 print("dmtracedump -h -p $input > $output\n");
14 system("dmtracedump -h -p '$input' > '$output'");
/art/test/etc/
Ddefault-build207 ${JACK} --import classes-ex.jill.jar --output-dex .
209 ${JACK} --import classes.jill.jar --output-dex .
212 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 ${DX…
214 …${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 ${DX_FL…
224 ${JACK} ${JACK_ARGS} --output-jack src.jack src src src-multidex
229 ${JACK} ${JACK_ARGS} --output-jack src.jack src
235 ${JACK} ${JACK_ARGS} --output-jack src2.jack src2
244 ${JACK} ${JACK_ARGS} ${jack_extra_args} --output-dex .
257 ${DX} -JXmx256m --debug --dex --dump-to=classes2.lst --output=classes2.dex \
269 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex \
[all …]
/art/tools/bisection_search/
DREADME.md5 accepts a program which exposes a bug by producing incorrect output and expected
6 output for the program. It then attempts to narrow down the issue to a single
10 interpreting all other methods produces incorrect output. Then, given ordered
12 P0..Pj-1 produces expected output and compiling Mi with passes P0..Pj produces
13 incorrect output. Prints Mi and Pj.
22 ./bisection_search.py -cp classes.dex --expected-output out_int --class Test
41 [--expected-output EXPECTED_OUTPUT]
64 --expected-output EXPECTED_OUTPUT file containing expected output
66 --check-script CHECK_SCRIPT script comparing output and expected output
70 --verbose enable verbose output
/art/test/
Drun-test114 output="output.txt"
799 "./${run}" $run_args "$@" >"$output" 2>&1
804 "$checker" -q $checker_args "$cfg_output" "$tmp_dir" >> "$output" 2>&1
806 sed -e 's/[[:cntrl:]]$//g' < "$output" >"${td_expected}"
817 cp "$build_output" "$output"
818 echo "build exit status: $build_exit" >>"$output"
819 diff --strip-trailing-cr -q "$expected" "$output" >/dev/null
826 find $tmp_dir -mindepth 1 ! -regex ".*/\(.*jar\|$output\|$expected\)" | xargs rm -rf
833 "./${run}" $run_args "$@" >"$output" 2>&1
842 "$checker" -q $checker_args "$cfg_output" "$tmp_dir" >> "$output" 2>&1
[all …]
/art/test/131-structural-change/
Dbuild21 ${JACK} --output-dex . src
24 ${JACK} --output-dex . src-ex
34 … ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes
36 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
/art/test/551-checker-shifter-operand/
Dbuild126 ${JACK} ${JACK_ARGS} --output-jack src.jack src
131 ${JACK} ${JACK_ARGS} --output-jack src2.jack src2
138 ${JACK} ${JACK_ARGS} ${imported_jack_files} -D jack.import.type.policy=keep-first --output-dex .
151 ${DX} -JXmx256m --debug --dex --dump-to=classes2.lst --output=classes2.dex \
163 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex \
171 ${SMALI} -JXmx512m ${SMALI_ARGS} --output smali_classes.dex `find smali -name '*.smali'`
186 ${JACK}:src.jack ${JACK_ARGS} --output-dex . src-ex
194 ${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes-ex.dex \
/art/runtime/native/
Ddalvik_system_VMDebug.cc406 std::string output = std::to_string(heap->GetGcCount()); in VMDebug_getRuntimeStatInternal() local
407 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
410 std::string output = std::to_string(NsToMs(heap->GetGcTime())); in VMDebug_getRuntimeStatInternal() local
411 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
414 std::string output = std::to_string(heap->GetBytesAllocatedEver()); in VMDebug_getRuntimeStatInternal() local
415 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
418 std::string output = std::to_string(heap->GetBytesFreedEver()); in VMDebug_getRuntimeStatInternal() local
419 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
422 std::string output = std::to_string(heap->GetBlockingGcCount()); in VMDebug_getRuntimeStatInternal() local
423 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
[all …]
/art/tools/common/
Dcommon.py159 (output, stderr_output) = proc.communicate(timeout=timeout)
166 (output, stderr_output) = proc.communicate()
168 return (output, stderr_output, retcode)
171 def _LogCmdOutput(logfile, cmd, output, retcode): argument
181 CommandListToCommandString(cmd), output, retcode))
341 (output, err_output, retcode) = RunCommandForOutput(
345 output += err_output
346 _LogCmdOutput(self._logfile, cmd, output, retcode)
347 return (output, retcode)
452 (output, _, retcode) = RunCommandForOutput(cmd, self._shell_env, PIPE,
[all …]
/art/test/091-override-package-private-method/
Dbuild30 ${JACK} --import classes.jill.jar --output-dex .
32 ${JACK} --import classes-ex.jill.jar --output-dex .
36 … ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes
38 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
/art/test/127-checker-secondarydex/
Dbuild30 ${JACK} --import classes.jill.jar --output-dex .
32 ${JACK} --import classes-ex.jill.jar --output-dex .
36 … ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes
38 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
/art/tools/dexfuzz/src/dexfuzz/
DStreamConsumer.java34 private List<String> output; field in StreamConsumer
54 output = new ArrayList<String>(); in StreamConsumer()
66 output.clear(); in giveStreamAndStartConsuming()
98 List<String> copy = new ArrayList<String>(output); in getOutput()
119 output.add(reader.readLine()); in consume()
126 output.add(reader.readLine()); in consume()
/art/test/138-duplicate-classes-check2/
Dbuild29 ${JACK} --import classes.jill.jar --output-dex .
33 ${JACK} --import classes-ex.jill.jar --output-dex .
36 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes
38 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
/art/test/113-multidex/
Dbuild34 ${JACK} --import classes.jill.jar --output-dex .
36 ${JACK} --import classes2.jill.jar --output-dex .
42 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes
45 ${DX} -JXmx256m --debug --dex --dump-to=classes2.lst --output=classes2.dex classes2
/art/test/126-miranda-multidex/
Dbuild34 ${JACK} --import classes.jill.jar --output-dex .
36 ${JACK} --import classes2.jill.jar --output-dex .
42 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes
45 ${DX} -JXmx256m --debug --dex --dump-to=classes2.lst --output=classes2.dex classes2
/art/tools/dexfuzz/src/dexfuzz/fuzzers/
DFuzzer.java310 String output = goldenExecutor.getResult().getFlattenedOutput(); in checkGoldenExecutorForSelfDivergence() local
312 seenOutput = output; in checkGoldenExecutorForSelfDivergence()
313 } else if (!seenOutput.equals(output)) { in checkGoldenExecutorForSelfDivergence()
344 String output = executor.getResult().getFlattenedOutput(); in analyseResults() local
349 if (outputMap.containsKey(output)) { in analyseResults()
350 outputMap.get(output).add(executor); in analyseResults()
354 outputMap.put(output, newList); in analyseResults()
414 DexRandomAccessFile output = new DexRandomAccessFile(outputName, "rw"); in saveProgram() local
415 output.setOffsetTracker(offsetTracker); in saveProgram()
417 output.setLength(0); in saveProgram()
[all …]
/art/compiler/optimizing/
Dscheduler.cc222 static void DumpAsDotNode(std::ostream& output, const SchedulingNode* node) { in DumpAsDotNode() argument
226 output << instruction_id << "[shape=record, label=\"" in DumpAsDotNode()
232 output << seperator << InstructionTypeId(input); in DumpAsDotNode()
235 output << "]"; in DumpAsDotNode()
237 output << "\\ninternal_latency: " << node->GetInternalLatency(); in DumpAsDotNode()
238 output << "\\ncritical_path: " << node->GetCriticalPath(); in DumpAsDotNode()
240 output << "\\n(barrier)"; in DumpAsDotNode()
242 output << "\"];\n"; in DumpAsDotNode()
247 output << InstructionTypeId(predecessor_instruction) << ":s -> " << instruction_id << ":n " in DumpAsDotNode()
252 output << InstructionTypeId(predecessor_instruction) << ":s -> " << instruction_id << ":n " in DumpAsDotNode()
[all …]
/art/tools/checker/
DREADME8 followed by a pattern that the engine attempts to match in the compiler output.
12 header which specifies the output group it should be tested against. The group
13 name must exactly match one of the groups recognized in the output (they can
18 - CHECK: Must match an output line which appears in the output group
22 - CHECK-DAG: Must match an output line which appears in the output group
24 In other words, the order of output lines does not matter
26 - CHECK-NOT: Must not match any output line which appears in the output group
31 - CHECK-NEXT: Must match the output line which comes right after the line which
56 The engine will attempt to match the check lines against the output of the
/art/oatdump/
DAndroid.mk38 $(OATDUMP) --image=$(HOST_CORE_IMG_LOCATION) --output=$(ART_DUMP_OAT_PATH)/core.host.oatdump.txt
46 …--output=$(ART_DUMP_OAT_PATH)/core.target.$(TARGET_ARCH).oatdump.txt --instruction-set=$(TARGET_AR…
55 …--output=$(ART_DUMP_OAT_PATH)/core.target.$(TARGET_2ND_ARCH).oatdump.txt --instruction-set=$(TARGE…
70 --output=$(ART_DUMP_OAT_PATH)/boot.$(TARGET_ARCH).oatdump.txt --instruction-set=$(TARGET_ARCH)
77 …--output=$(ART_DUMP_OAT_PATH)/boot.$(TARGET_2ND_ARCH).oatdump.txt --instruction-set=$(TARGET_2ND_A…
90 $(OATDUMP) --oat-file=$< --output=$(ART_DUMP_OAT_PATH)/Calculator.oatdump.txt
/art/test/022-interface/
Dbuild24 ${JACK} --import classes.jill.jar --output-dex .
26 ${DX} --debug --dex --dump-to=classes.lst --output=classes.dex classes

1234