/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyGetFrameRateEvent.java | 79 FileWriter writer = null; local 83 writer = new FileWriter(LOG_FILE, true); // true = append 86 writer.write(String.format("%s:%.2f\n",mTestCaseName,avgFrameRate)); 87 writer.close(); 92 if (writer != null) writer.close();
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringWriter.java | 21 import java.io.Writer; 23 public class Support_StringWriter extends Writer { 29 * <code>lock</code> used to synchronize access to this Writer. 40 * the <code>lock</code> used to synchronize access to this Writer. 52 * Close this Writer. This is the concrete implementation required. This 63 * Flush this Writer. This is the concrete implementation required. This
|
/external/chromium/chrome/browser/resources/file_manager/js/ |
harness.js | 103 function onWriterCreated(writer) { 104 writer.onerror = util.flog('Error writing: ' + currentDest.fullPath); 105 writer.onwriteend = function() { 107 //console.log(writer); 113 writer.write(currentSrc); 119 util.flog('Error creating writer for: ' +
|
/external/chromium_org/chromeos/dbus/ |
shill_ipconfig_client_unittest.cc | 55 dbus::MessageWriter writer(&signal); 56 writer.AppendString(shill::kConnectedProperty); 57 dbus::AppendBasicTypeValueDataAsVariant(&writer, kConnected); 89 dbus::MessageWriter writer(response.get()); 91 writer.OpenArray("{sv}", &array_writer); 103 writer.CloseContainer(&array_writer);
|
/external/chromium_org/dbus/ |
mock_unittest.cc | 95 MessageWriter writer(response.get()); 96 writer.AppendString(text_message); 139 MessageWriter writer(&method_call); 140 writer.AppendString(kHello); 168 MessageWriter writer(&method_call); 169 writer.AppendString(kHello);
|
/external/chromium_org/net/tools/quic/ |
quic_dispatcher.h | 72 QuicBlockedWriterInterface* writer) OVERRIDE; 95 // Sets the fd and creates a default packet writer with that fd. 110 // Uses the specified |writer| instead of QuicSocketUtils and takes ownership 111 // of writer. 112 void UseWriter(QuicPacketWriter* writer); 164 // The writer to write to the socket with.
|
/external/chromium_org/net/tools/quic/test_tools/ |
packet_dropping_test_writer.cc | 23 explicit WriteUnblockedAlarm(PacketDroppingTestWriter* writer) 24 : writer_(writer) { } 40 explicit DelayAlarm(PacketDroppingTestWriter* writer) 41 : writer_(writer) { } 136 return writer()->WritePacket(buffer, buf_len, self_address, peer_address, 163 writer()->WritePacket(iter->buffer.data(), iter->buffer.length(),
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
sharedexclusivelock_unittest.cc | 178 WriteTask writer(shared_exclusive_lock_.get(), &value_, &done); 185 writer.PostWrite(2); 192 EXPECT_GE(writer.waiting_time_in_ms(), kWaitThresholdInMs); 217 WriteTask writer(shared_exclusive_lock_.get(), &value_, &done); 224 writer.PostWrite(2); 231 EXPECT_GE(writer.waiting_time_in_ms(), kWaitThresholdInMs);
|
/external/chromium_org/v8/test/cctest/ |
test-reloc-info.cc | 35 static void WriteRinfo(RelocInfoWriter* writer, 38 writer->Write(&rinfo); 53 RelocInfoWriter writer(buffer_end, pc); 58 WriteRinfo(&writer, pc, mode, pos); 59 CHECK(writer.pos() - RelocInfoWriter::kMaxSize >= relocation_info_end); 62 relocation_info_size = static_cast<int>(buffer_end - writer.pos());
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
ConnectorAdapter.java | 73 private WriterThread writer; field in class:ConnectorAdapter 113 writer = new WriterThread(); 114 writer.start(); 121 // Kill the writer service 122 writer.shutdown(); 187 super( String.valueOf(connector) + "-writer" );
|
/external/opencv/cv/src/ |
cvconvhull.cpp | 200 CvSeq* ptseq, CvSeqWriter* writer ) 220 CV_WRITE_SEQ_ELEM( idx, *writer ); 244 CvSeqWriter writer; local 325 cvStartAppendToSeq( hullseq, &writer ); 375 CV_WRITE_SEQ_ELEM( pointer[0], writer ); 380 CV_WRITE_SEQ_ELEM( index, writer ); 385 CV_WRITE_SEQ_ELEM( pt, writer ); 407 CV_WRITE_SEQ_ELEM( pointer[tl_stack[i]], writer ); 410 CV_WRITE_SEQ_ELEM( pointer[tr_stack[i]], writer ); 415 0, tl_count-1, ptseq, &writer )); 540 CvSeqWriter writer; local [all...] |
cvapprox.cpp | 77 CvSeqWriter writer; local 93 header_size, sizeof( CvPoint ), storage, &writer ); 97 CV_WRITE_SEQ_ELEM( pt, writer ); 134 CV_WRITE_SEQ_ELEM( pt, writer ); 393 CV_WRITE_SEQ_ELEM( current->pt, writer ); 400 *contour = cvEndWriteSeq( &writer ); 402 assert( writer.seq->total > 0 ); 525 CvSeqWriter writer; local 534 cvStartWriteSeq( src_contour->flags, header_size, sizeof(pt), storage, &writer ); 538 *dst_contour = cvEndWriteSeq( &writer ); 729 CvSeqWriter writer; local [all...] |
/external/opencv/cvaux/src/ |
extendededges.cpp | 129 CvSeqWriter writer; local 134 cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); 166 cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); 173 CV_WRITE_SEQ_ELEM( cur, writer ); 181 CvSeq* newseq = cvEndWriteSeq( &writer ); 201 CvSeq* newseq = cvEndWriteSeq( &writer );
|
/external/v8/test/cctest/ |
test-reloc-info.cc | 35 static void WriteRinfo(RelocInfoWriter* writer, 38 writer->Write(&rinfo); 53 RelocInfoWriter writer(buffer_end, pc); 58 WriteRinfo(&writer, pc, mode, pos); 59 CHECK(writer.pos() - RelocInfoWriter::kMaxSize >= relocation_info_end); 62 relocation_info_size = static_cast<int>(buffer_end - writer.pos());
|
/frameworks/av/include/media/nbaio/ |
MonoPipe.h | 33 // Like Pipe, it is not multi-thread safe for either writer or reader 34 // but writer and reader can be different threads. 99 // writer to update and observe the values of mFront and mNextRdPTS in an 122 // the writer with observeFrontAndNRPTS 123 volatile int32_t mRear; // written by writer with android_atomic_release_store, 126 // the writer with observeFrontAndNRPTS
|
/libcore/support/src/test/java/tests/support/ |
Support_StringWriter.java | 21 import java.io.Writer; 23 public class Support_StringWriter extends Writer { 29 * <code>lock</code> used to synchronize access to this Writer. 40 * the <code>lock</code> used to synchronize access to this Writer. 52 * Close this Writer. This is the concrete implementation required. This 63 * Flush this Writer. This is the concrete implementation required. This
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterRepresentation.java | 223 * @param writer 226 public void serializeRepresentation(JsonWriter writer) throws IOException { 227 writer.beginObject(); 231 writer.name(rep[k][0]); 232 writer.value(rep[k][1]); 235 writer.endObject();
|
FilterGradRepresentation.java | 433 public void serializeRepresentation(JsonWriter writer) throws IOException { 434 writer.beginObject(); 443 writer.name(LINE_NAME + count); 445 writer.beginArray(); 446 writer.value(point.xPos1); 447 writer.value(point.yPos1); 448 writer.value(point.xPos2); 449 writer.value(point.yPos2); 450 writer.value(point.brightness); 451 writer.value(point.contrast) [all...] |
/external/chromium_org/components/breakpad/app/ |
breakpad_linux.cc | [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkPictureRecord.cpp | 203 * Read the op code from 'offset' in 'writer' and extract the size too. 205 static DrawType peek_op_and_size(SkWriter32* writer, int32_t offset, uint32_t* size) { 206 uint32_t* peek = writer->peek32(offset); 212 *size = *writer->peek32(offset+kUInt32Size); 249 static bool match(SkWriter32* writer, uint32_t offset, 251 SkASSERT(offset < writer->bytesWritten()); 256 for (numMatched = 0; numMatched < numCommands && curOffset < writer->bytesWritten(); ++numMatched) { 257 DrawType op = peek_op_and_size(writer, curOffset, &curSize); 258 while (NOOP == op && curOffset < writer->bytesWritten()) { 260 op = peek_op_and_size(writer, curOffset, &curSize) [all...] |
/external/opencv/otherlibs/highgui/ |
loadsave.cpp | 379 GrFmtWriter* writer = g_Filters.FindWriter( filename ); local 380 if( writer ) { 381 delete writer; 497 GrFmtWriter* writer = 0; local 519 writer = g_Filters.FindWriter( filename ); 520 if( !writer ) 532 if( !writer->IsFormatSupported(ipl_depth) ) 534 assert( writer->IsFormatSupported(IPL_DEPTH_8U) ); 542 if( !writer->WriteImage( image->data.ptr, image->step, image->width, 548 delete writer; [all...] |
/external/skia/src/core/ |
SkPictureRecord.cpp | 203 * Read the op code from 'offset' in 'writer' and extract the size too. 205 static DrawType peek_op_and_size(SkWriter32* writer, int32_t offset, uint32_t* size) { 206 uint32_t* peek = writer->peek32(offset); 212 *size = *writer->peek32(offset+kUInt32Size); 249 static bool match(SkWriter32* writer, uint32_t offset, 251 SkASSERT(offset < writer->bytesWritten()); 256 for (numMatched = 0; numMatched < numCommands && curOffset < writer->bytesWritten(); ++numMatched) { 257 DrawType op = peek_op_and_size(writer, curOffset, &curSize); 258 while (NOOP == op && curOffset < writer->bytesWritten()) { 260 op = peek_op_and_size(writer, curOffset, &curSize) [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
XMLWriter.java | 20 import java.io.Writer; 129 * <p>The writer contains extensive support for XML Namespaces, so that 131 * supply <var>xmlns</var> attributes. By default, the XML writer will 151 * XML writer allows two methods for selecting prefixes:</p> 158 * <p>Whenever the XML writer finds a new Namespace URI, it checks 198 * <p>By default, the XML writer will not declare a Namespace until 219 * problem, you can instruct the XML writer to predeclare Namespaces 263 * Create a new XML writer. 274 * Create a new XML writer. 276 * <p>Write to the writer provided.</p [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ExportProcessor.java | 39 import java.io.Writer; 102 Writer writer = null; local 140 writer = new BufferedWriter(new OutputStreamWriter(outputStream)); 174 writer.write(composer.createOneEntry()); 210 if (writer != null) { 212 writer.close();
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPSerializerRDF.java | 73 /** this writer is used to do the actual serialisation */ 74 private OutputStreamWriter writer; field in class:XMPSerializerRDF 101 writer = new OutputStreamWriter(outputStream, options.getEncoding()); 107 writer = new OutputStreamWriter(outputStream, options.getEncoding()); 114 writer.flush(); 121 writer.flush(); 136 * @throws IOException forwards writer errors 238 * @throws IOException Forwarded writer exceptions. 307 * @throws IOException Forwarded writer exceptions 348 * @throws IOException Forwarded writer exception [all...] |