/external/lldb/tools/debugserver/source/MacOSX/ |
CFData.cpp | 77 CFReleaser<CFWriteStreamRef> stream (::CFWriteStreamCreateWithAllocatedBuffers (alloc, alloc)); 78 ::CFWriteStreamOpen (stream.get()); 79 CFIndex len = ::CFPropertyListWriteToStream (plist, stream.get(), format, NULL); 81 reset((CFDataRef)::CFWriteStreamCopyProperty (stream.get(), kCFStreamPropertyDataWritten)); 82 ::CFWriteStreamClose (stream.get());
|
/external/nanopb-c/tests/extensions/ |
encode_extensions.c | 15 pb_ostream_t stream; local 34 /* Set up the output stream */ 35 stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); 38 if (pb_encode(&stream, AllTypes_fields, &alltypes)) 41 fwrite(buffer, 1, stream.bytes_written, stdout); 46 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/ |
ttpload.h | 32 FT_Stream stream ); 44 FT_Stream stream ); 48 FT_Stream stream ); 53 FT_Stream stream ); 58 FT_Stream stream );
|
/external/skia/gm/ |
cmykjpeg.cpp | 36 SkFILEStream stream(resourcePath.c_str()); 37 if (!stream.isValid()) { 42 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); 44 stream.rewind(); 46 codec->decode(&stream, &fBitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
|
/external/skia/src/pdf/ |
SkPDFStream.h | 22 A stream object in a PDF. Note, all streams must be indirect objects (via 30 /** Create a PDF stream. A Length entry is automatically added to the 31 * stream dictionary. The stream may be retained (stream->ref() may be 33 * @param data The data part of the stream. 37 explicit SkPDFStream(SkStream* stream); 38 /** Create a PDF stream with the same content and dictionary entries 45 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog, 51 kUnused_State, //!< The stream hasn't been requested yet [all...] |
/external/skia/src/ports/ |
SkFontHost_fontconfig.cpp | 19 bool find_name_and_attributes(SkStream* stream, SkString* name, 136 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream* stream) { 137 if (!stream) { 140 const size_t length = stream->getLength(); 151 if (!find_name_and_attributes(stream, NULL, &style, &isFixedWidth)) { 155 SkTypeface* face = SkNEW_ARGS(FontConfigTypeface, (style, isFixedWidth, stream)); 160 SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path)); 161 return stream.get() ? CreateTypefaceFromStream(stream) : NULL; 169 SkStream* stream = this->getLocalStream() local [all...] |
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
HostConnection.cpp | 64 QemuPipeStream *stream = new QemuPipeStream(STREAM_BUFFER_SIZE); local 65 if (!stream) { 70 if (stream->connect() < 0) { 72 delete stream; 76 con->m_stream = stream; 80 TcpStream *stream = new TcpStream(STREAM_BUFFER_SIZE); local 81 if (!stream) { 87 if (stream->connect("10.0.2.2", STREAM_PORT_NUM) < 0) { 89 delete stream; 93 con->m_stream = stream; [all...] |
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
tga_utils.cpp | 38 void readBinary(std::ifstream &stream, dataType &item) 40 stream.read(reinterpret_cast<char *>(&item), sizeof(dataType)); 44 void readBinary(std::ifstream &stream, std::vector<dataType> &items) 46 stream.read(reinterpret_cast<char *>(items.data()), sizeof(dataType) * items.size()); 51 std::ifstream stream(path, std::ios::binary); 52 if (!stream) 59 readBinary(stream, header.idSize); 60 readBinary(stream, header.mapType); 61 readBinary(stream, header.imageType); 62 readBinary(stream, header.paletteStart) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
SoundSystem.java | 83 int stream = -1; local 85 stream = mSoundPool.play(sound.soundId, 1.0f, 1.0f, priority, loop ? -1 : 0, 1.0f); 87 addLoopingStream(stream); 91 return stream; 95 int stream = -1; local 97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate); 99 addLoopingStream(stream); 103 return stream; 106 public final void stop(int stream) { 107 mSoundPool.stop(stream); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
ScenarioData.java | 240 PrintStream stream = null; local 242 stream = new PrintStream(new BufferedOutputStream(new FileOutputStream(outputFile))); 246 if (stream == null) { 247 stream = System.out; 249 stream.print(Utils.HTML_OPEN); 250 stream.print(Utils.HTML_DEFAULT_CSS); 252 stream.print("<title>" + scenarioResults.getName() + "(" + configBox + ")" + "</title></head>\n"); //$NON-NLS-1$ 253 stream.print("<h4>Scenario: " + scenarioResults.getName() + " (" + configBox + ")</h4><br>\n"); //$NON-NLS-1$ //$NON-NLS-2$ 257 stream.print("<table><tr><td><b>"+failureMessage+"</td></tr></table>\n"); 263 stream.print("<p><b>Note:</b><br>\n") 412 PrintStream stream = null; local [all...] |
/external/chromium_org/third_party/skia/src/doc/ |
SkDocument_PDF.cpp | 14 SkDocument_PDF(SkWStream* stream, void (*doneProc)(SkWStream*,bool), 17 : SkDocument(stream, doneProc) 64 virtual bool onClose(SkWStream* stream) SK_OVERRIDE { 68 bool success = fDoc->emitPDF(stream); 89 SkDocument* SkDocument::CreatePDF(SkWStream* stream, void (*done)(SkWStream*,bool), 92 return stream ? SkNEW_ARGS(SkDocument_PDF, (stream, done, enc, dpi)) : NULL; 95 static void delete_wstream(SkWStream* stream, bool aborted) { 96 SkDELETE(stream); 102 SkFILEWStream* stream = SkNEW_ARGS(SkFILEWStream, (path)) local [all...] |
/external/nanopb-c/tests/callbacks/ |
decode_callbacks.c | 10 bool print_string(pb_istream_t *stream, const pb_field_t *field, void **arg) 15 if (stream->bytes_left > sizeof(buffer) - 1) 18 if (!pb_read(stream, buffer, stream->bytes_left)) 28 bool print_int32(pb_istream_t *stream, const pb_field_t *field, void **arg) 31 if (!pb_decode_varint(stream, &value)) 38 bool print_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) 41 if (!pb_decode_fixed32(stream, &value)) 48 bool print_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) 51 if (!pb_decode_fixed64(stream, &value) 62 pb_istream_t stream; local [all...] |
/external/skia/src/doc/ |
SkDocument_PDF.cpp | 14 SkDocument_PDF(SkWStream* stream, void (*doneProc)(SkWStream*,bool), 17 : SkDocument(stream, doneProc) 64 virtual bool onClose(SkWStream* stream) SK_OVERRIDE { 68 bool success = fDoc->emitPDF(stream); 89 SkDocument* SkDocument::CreatePDF(SkWStream* stream, void (*done)(SkWStream*,bool), 92 return stream ? SkNEW_ARGS(SkDocument_PDF, (stream, done, enc, dpi)) : NULL; 95 static void delete_wstream(SkWStream* stream, bool aborted) { 96 SkDELETE(stream); 102 SkFILEWStream* stream = SkNEW_ARGS(SkFILEWStream, (path)) local [all...] |
/external/lldb/test/unittest2/ |
runner.py | 21 def __init__(self,stream): 22 self.stream = stream 25 if attr in ('stream', '__getstate__'): 27 return getattr(self.stream,attr) 36 """A test result class that can print formatted text results to a stream. 43 def __init__(self, stream, descriptions, verbosity): 45 self.stream = stream 61 self.stream.write(self.getDescription(test) [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_preview.c | 59 /* find preview stream */ 75 CDBG_ERROR("%s: cannot find metadata stream", __func__); 135 /* find preview stream */ 151 CDBG_ERROR("%s: cannot find preview stream", __func__); 213 /* find preview stream */ 221 CDBG_ERROR("%s: cannot find preview stream", __func__); 225 /* find snapshot stream */ 233 CDBG_ERROR("%s: cannot find snapshot stream", __func__); 237 /* find metadata stream */ 245 CDBG_ERROR("%s: cannot find metadata stream", __func__) 368 mm_camera_stream_t *stream = NULL; local 412 mm_camera_stream_t *stream = NULL; local 464 mm_camera_stream_t *stream = NULL; local 517 mm_camera_stream_t *stream = NULL; local 567 mm_camera_stream_t *stream = NULL; local 597 mm_camera_stream_t *stream = NULL; local 629 mm_camera_stream_t *stream = NULL; local [all...] |
/art/runtime/ |
parsed_options.cc | 718 void ParsedOptions::UsageMessageV(FILE* stream, const char* fmt, va_list ap) { 722 void ParsedOptions::UsageMessage(FILE* stream, const char* fmt, ...) { 725 UsageMessageV(stream, fmt, ap); 731 FILE* stream = error ? stderr : stdout; local 736 UsageMessageV(stream, fmt, ap); 741 UsageMessage(stream, "%s: [options] class [argument ...]\n", program); 742 UsageMessage(stream, "\n"); 743 UsageMessage(stream, "The following standard options are supported:\n"); 744 UsageMessage(stream, " -classpath classpath (-cp classpath)\n"); 745 UsageMessage(stream, " -Dproperty=value\n") [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-trees.rb | 22 stream = new_stream(t) 25 found = nodes_only_string(stream) 30 found = stream.inspect 65 stream = new_stream(t) 68 found = nodes_only_string(stream) 72 found = stream.inspect 88 stream = CommonTreeNodeStream.new(root) 91 found = nodes_only_string(stream) 95 found = stream.inspect 106 stream = CommonTreeNodeStream.new( root [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
toplevel.ml | 9 let rec main_loop the_fpm the_execution_engine stream = 10 match Stream.peek stream with 15 Stream.junk stream; 16 main_loop the_fpm the_execution_engine stream 22 let e = Parser.parse_definition stream in 26 let e = Parser.parse_extern stream in 31 let e = Parser.parse_toplevel stream in 43 with Stream.Error s | Codegen.Error s - [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
toplevel.ml | 9 let rec main_loop the_fpm the_execution_engine stream = 10 match Stream.peek stream with 15 Stream.junk stream; 16 main_loop the_fpm the_execution_engine stream 22 let e = Parser.parse_definition stream in 26 let e = Parser.parse_extern stream in 31 let e = Parser.parse_toplevel stream in 43 with Stream.Error s | Codegen.Error s - [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
toplevel.ml | 9 let rec main_loop the_fpm the_execution_engine stream = 10 match Stream.peek stream with 15 Stream.junk stream; 16 main_loop the_fpm the_execution_engine stream 22 let e = Parser.parse_definition stream in 26 let e = Parser.parse_extern stream in 31 let e = Parser.parse_toplevel stream in 43 with Stream.Error s | Codegen.Error s - [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
toplevel.ml | 9 let rec main_loop the_fpm the_execution_engine stream = 10 match Stream.peek stream with 15 Stream.junk stream; 16 main_loop the_fpm the_execution_engine stream 22 let e = Parser.parse_definition stream in 26 let e = Parser.parse_extern stream in 31 let e = Parser.parse_toplevel stream in 43 with Stream.Error s | Codegen.Error s - [all...] |
/device/generic/goldfish/camera/ |
JpegStub.cpp | 46 SkDynamicMemoryWStream* stream = local 48 if (encoder->encode(stream, pY, width, height, offsets, quality)) { 51 width, height, stream->getOffset()); 60 SkDynamicMemoryWStream* stream = local 62 stream->copyTo(buff); 66 SkDynamicMemoryWStream* stream = local 68 return stream->getOffset();
|
/external/e2fsprogs/intl/ |
log.c | 31 print_escaped (FILE *stream, const char *str) 33 putc ('"', stream); 37 fputs ("\\n\"", stream); 40 fputs ("\n\"", stream); 45 putc ('\\', stream); 46 putc (*str, stream); 48 putc ('"', stream);
|
/external/guava/guava/src/com/google/common/collect/ |
HashMultiset.java | 84 private void writeObject(ObjectOutputStream stream) throws IOException { 85 stream.defaultWriteObject(); 86 Serialization.writeMultiset(this, stream); 90 private void readObject(ObjectInputStream stream) 92 stream.defaultReadObject(); 93 int distinctElements = Serialization.readCount(stream); 96 Serialization.populateMultiset(this, stream, distinctElements);
|
LinkedHashMultiset.java | 92 private void writeObject(ObjectOutputStream stream) throws IOException { 93 stream.defaultWriteObject(); 94 Serialization.writeMultiset(this, stream); 98 private void readObject(ObjectInputStream stream) 100 stream.defaultReadObject(); 101 int distinctElements = Serialization.readCount(stream); 104 Serialization.populateMultiset(this, stream, distinctElements);
|