Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 93) 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/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
Dbisection_search.py117 (output, ret_code) = self._test_env.RunCommand(
123 res = res and self._output_checker.Check(output)
138 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO)
139 match_methods = re.findall(r'Building ([^\n]+)\n', output)
158 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO)
159 match_passes = re.findall(r'Starting pass: ([^\n]+)\n', output)
191 def Check(self, output): argument
213 def Check(self, output): argument
215 return self._expected_output == output
238 def Check(self, output): argument
[all …]
/art/test/
Drun-test120 output="output.txt"
839 "./${run}" $run_args "$@" >"$output" 2>&1
844 "$checker" -q $checker_args "$cfg_output" "$tmp_dir" >> "$output" 2>&1
846 sed -e 's/[[:cntrl:]]$//g' < "$output" >"${td_expected}"
857 cp "$build_output" "$output"
858 echo "build exit status: $build_exit" >>"$output"
859 diff --strip-trailing-cr -q "$expected" "$output" >/dev/null
866 find $tmp_dir -mindepth 1 ! -regex ".*/\(.*jar\|$output\|$expected\)" | xargs rm -rf
873 "./${run}" $run_args "$@" >"$output" 2>&1
882 "$checker" -q $checker_args "$cfg_output" "$tmp_dir" >> "$output" 2>&1
[all …]
/art/runtime/native/
Ddalvik_system_VMDebug.cc409 std::string output = std::to_string(heap->GetGcCount()); in VMDebug_getRuntimeStatInternal() local
410 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
413 std::string output = std::to_string(NsToMs(heap->GetGcTime())); in VMDebug_getRuntimeStatInternal() local
414 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
417 std::string output = std::to_string(heap->GetBytesAllocatedEver()); in VMDebug_getRuntimeStatInternal() local
418 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
421 std::string output = std::to_string(heap->GetBytesFreedEver()); in VMDebug_getRuntimeStatInternal() local
422 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal()
425 std::string output = std::to_string(heap->GetBlockingGcCount()); in VMDebug_getRuntimeStatInternal() local
426 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/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/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/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/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/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/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/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/etc/
Ddefault-build290 desugar --input "$name.before-desugar.jar" --output "$dx_input"
296 …${DX} -JXmx256m ${DX_VM_FLAGS} --debug --dex --dump-to=${name}.lst --output=${name}.dex --dump-wid…
341 ${JACK} --import classes-ex.jill.jar --output-dex .
343 ${JACK} --import classes.jill.jar --output-dex .
359 … ${JACK} ${JACK_ARGS} --output-jack src.jack $(maybe_dir src) src-multidex $(maybe_dir src-art)
364 ${JACK} ${JACK_ARGS} --output-jack src.jack $(maybe_dir src) $(maybe_dir src-art)
370 ${JACK} ${JACK_ARGS} --output-jack src2.jack src2
379 ${JACK} ${JACK_ARGS} ${jack_extra_args} --output-dex .
430 ${SMALI} -JXmx512m assemble ${SMALI_ARGS} --output smali_classes.dex `find smali -name '*.smali'`
455 …${SMALI} -JXmx512m assemble ${SMALI_ARGS} --output smali_classes2.dex `find smali-multidex -name '…
[all …]
/art/compiler/linker/
Derror_delaying_output_stream.h29 explicit ErrorDelayingOutputStream(OutputStream* output) in ErrorDelayingOutputStream() argument
30 : OutputStream(output->GetLocation()), in ErrorDelayingOutputStream()
31 output_(output), in ErrorDelayingOutputStream()
/art/test/022-interface/
Dbuild24 ${JACK} --import classes.jill.jar --output-dex .
26 ${DX} --debug --dex --dump-to=classes.lst --output=classes.dex classes
/art/test/056-const-string-jumbo/
Dbuild43 ${JACK} --output-dex . src
49 …${DX} -JXmx500m --debug --dex --no-optimize --positions=none --no-locals --output=classes.dex clas…

1234