Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 95) sorted by relevance

1234

/art/tools/dexfuzz/src/dexfuzz/listeners/
DLogFileListener.java75 private void write(String msg) { in write() method in LogFileListener
80 writer.write(msg + "\n"); in write()
88 write("Host verification: SUCCESS"); in handleSuccessfulHostVerification()
94 write("Host verification: FAILED"); in handleFailedHostVerification()
100 write("Target verification: FAILED"); in handleFailedTargetVerification()
106 write("--> FUZZ " + (iteration + 1)); in handleIterationStarted()
108 write("Time started: " + now.toString()); in handleIterationStarted()
114 write("Some executors timed out."); in handleTimeouts()
115 write("Timed out:"); in handleTimeouts()
117 write(" " + executor.getName()); in handleTimeouts()
[all …]
/art/runtime/interpreter/mterp/
Dgen_mterp.py59 script.write("# DO NOT EDIT: This file was generated by gen-mterp.py.\n")
60 script.write(open(SCRIPT_SETUP_CODE, "r").read())
61 script.write("def opcodes():\n")
63 script.write(' write_opcode({0}, "{1}", {1})\n'.format(i, opcode))
72 script.write(line.lstrip("%") + "\n")
80 script.write(indent + "write_line('''" + line + "''')\n")
81 script.write("\n")
83 script.write("generate('''" + output_filename + "''')\n")
97 script_file.write(script) # Write to disk for debugging.
/art/tools/
Dstream-trace-converter.py41 f.write(asbytearray)
61 f.write(asbytearray)
67 output.write(buf)
72 header.write('*version\n');
73 header.write('3\n');
74 header.write('data-file-overflow=false\n');
75 header.write('clock=dual\n');
76 header.write('vm=art\n');
171 header.write(line)
173 header.write('*threads\n')
[all …]
Dgenerate_cmake_lists.py90 f.write('cmake_minimum_required(VERSION 3.6)\n')
91 f.write('project(%s)\n' % (project_name))
94 f.write('add_subdirectory(%s)\n' % (dr))
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DRawDexFile.java77 public void write(DexRandomAccessFile file) throws IOException { in write() method in RawDexFile
145 header.write(file); in write()
154 stringId.write(file); in write()
163 typeId.write(file); in write()
172 protoId.write(file); in write()
181 fieldId.write(file); in write()
190 methodId.write(file); in write()
199 classDef.write(file); in write()
204 mapList.write(file); in write()
213 typeList.write(file); in write()
[all …]
DEncodedValue.java77 public void write(DexRandomAccessFile file) throws IOException { in write() method in EncodedValue
82 encodedArray.write(file); in write()
84 encodedAnnotation.write(file); in write()
86 file.write(value); in write()
DAnnotationsDirectoryItem.java59 public void write(DexRandomAccessFile file) throws IOException { in write() method in AnnotationsDirectoryItem
68 fieldAnnotation.write(file); in write()
73 methodAnnotation.write(file); in write()
78 parameterAnnotation.write(file); in write()
DClassDataItem.java65 public void write(DexRandomAccessFile file) throws IOException { in write() method in ClassDataItem
72 staticFields[i].write(file); in write()
75 instanceFields[i].write(file); in write()
78 directMethods[i].write(file); in write()
81 virtualMethods[i].write(file); in write()
DEncodedArrayItem.java31 public void write(DexRandomAccessFile file) throws IOException { in write() method in EncodedArrayItem
33 value.write(file); in write()
DAnnotationElement.java32 public void write(DexRandomAccessFile file) throws IOException { in write() method in AnnotationElement
34 value.write(file); in write()
DDebugInfoItem.java45 public void write(DexRandomAccessFile file) throws IOException { in write() method in DebugInfoItem
47 file.write(data); in write()
DAnnotationItem.java33 public void write(DexRandomAccessFile file) throws IOException { in write() method in AnnotationItem
36 annotation.write(file); in write()
DEncodedArray.java37 public void write(DexRandomAccessFile file) throws IOException { in write() method in EncodedArray
41 encodedValue.write(file); in write()
DEncodedCatchHandlerList.java35 public void write(DexRandomAccessFile file) throws IOException { in write() method in EncodedCatchHandlerList
38 encodedCatchHandler.write(file); in write()
DAnnotationSetRefList.java37 public void write(DexRandomAccessFile file) throws IOException { in write() method in AnnotationSetRefList
42 annotationSetRefItem.write(file); in write()
DAnnotationSetItem.java37 public void write(DexRandomAccessFile file) throws IOException { in write() method in AnnotationSetItem
42 annotationOffItem.write(file); in write()
DEncodedAnnotation.java39 public void write(DexRandomAccessFile file) throws IOException { in write() method in EncodedAnnotation
44 annotationElement.write(file); in write()
DEncodedCatchHandler.java42 public void write(DexRandomAccessFile file) throws IOException { in write() method in EncodedCatchHandler
46 encodedTypeAddrPair.write(file); in write()
DCodeItem.java91 public void write(DexRandomAccessFile file) throws IOException { in write() method in CodeItem
102 insn.write(file); in write()
110 tryItem.write(file); in write()
112 handlers.write(file); in write()
/art/compiler/optimizing/
Dside_effects_test.cc45 void testWriteAndReadEffects(SideEffects write, SideEffects read) { in testWriteAndReadEffects() argument
46 EXPECT_FALSE(write.DoesNothing()); in testWriteAndReadEffects()
49 EXPECT_TRUE(write.DoesAnyWrite()); in testWriteAndReadEffects()
50 EXPECT_FALSE(write.DoesAnyRead()); in testWriteAndReadEffects()
56 EXPECT_TRUE(all.MayDependOn(write)); in testWriteAndReadEffects()
57 EXPECT_FALSE(write.MayDependOn(all)); in testWriteAndReadEffects()
63 EXPECT_FALSE(none.MayDependOn(write)); in testWriteAndReadEffects()
64 EXPECT_FALSE(write.MayDependOn(none)); in testWriteAndReadEffects()
69 void testWriteAndReadDependence(SideEffects write, SideEffects read) { in testWriteAndReadDependence() argument
70 testWriteAndReadEffects(write, read); in testWriteAndReadDependence()
[all …]
/art/libartbase/base/
Dlogging.cc156 TEMP_FAILURE_RETRY(write(STDERR_FILENO, program_name, strlen(program_name))); in LogLineLowStack()
157 TEMP_FAILURE_RETRY(write(STDERR_FILENO, " ", 1)); in LogLineLowStack()
158 TEMP_FAILURE_RETRY(write(STDERR_FILENO, &kLogCharacters[static_cast<size_t>(log_severity)], 1)); in LogLineLowStack()
159 TEMP_FAILURE_RETRY(write(STDERR_FILENO, " ", 1)); in LogLineLowStack()
161 TEMP_FAILURE_RETRY(write(STDERR_FILENO, file, strlen(file))); in LogLineLowStack()
164 TEMP_FAILURE_RETRY(write(STDERR_FILENO, "] ", 2)); in LogLineLowStack()
165 TEMP_FAILURE_RETRY(write(STDERR_FILENO, message, strlen(message))); in LogLineLowStack()
166 TEMP_FAILURE_RETRY(write(STDERR_FILENO, "\n", 1)); in LogLineLowStack()
/art/test/testrunner/
Drun_build_test_target.py56 sys.stderr.write("error: invalid build_target, see -l/--list.\n")
76 sys.stdout.write(str(build_command) + '\n')
89 sys.stdout.write(str(build_command) + '\n')
106 sys.stdout.write(str(cmd) + '\n')
136 sys.stdout.write(str(run_test_command) + '\n')
/art/dt_fd_forward/
DREADME.md25 an fd that outgoing JDWP packets will be written to (write\_fd\_), and an
26 _eventfd_ (write\_lock\_fd\_). The eventfd should not have any flags set. Prior
27 to writing any data to write\_fd\_ the transport will _read_ from the
28 write\_lock\_fd\_ and after finishing the write it will _write_ to it. This
29 allows one to safely multiplex data on the write\_fd\_.
/art/runtime/interpreter/mterp/common/
Dgen_setup.py31 out.write(line + "\n")
80 out.write(helper)
89 output_file.write(text)
/art/tools/runtime_memusage/
Dsymbol_trace_info.py90 output_file.write("\n\nNumber of times appeared: " +
93 output_file.write(trace[0].strip())
274 output_file.write("# Category: " + cat_name + "\n")
275 output_file.write("# Time, Dex File Offset_10, Dex File Offset_16,"
280 output_file.write(
296 output_file.write(
301 output_file.write("\n")

1234