/frameworks/support/v4/java/android/support/v4/util/ |
AtomicFile.java | 116 * Call when you have successfully finished writing to the stream 119 * will return the new file stream. 134 * Call when you have failed for some reason at writing to the stream 136 * write stream, and roll back to the previous state of the file. 176 FileInputStream stream = openRead(); local 179 int avail = stream.available(); 182 int amt = stream.read(data, pos, data.length-pos); 191 avail = stream.available(); 199 stream.close(); 203 static boolean sync(FileOutputStream stream) { [all...] |
/frameworks/wilhelm/src/desktop/ |
SDL.c | 24 static void SDLCALL SDL_callback(void *context, Uint8 *stream, int len) 36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len); 38 memset(stream, 0, (size_t) len);
|
/hardware/libhardware_legacy/audio/ |
AudioPolicyCompatClient.h | 59 virtual status_t setStreamOutput(AudioSystem::stream_type stream, audio_io_handle_t output); 68 virtual status_t setStreamVolume(AudioSystem::stream_type stream, 72 virtual status_t startTone(ToneGenerator::tone_type tone, AudioSystem::stream_type stream);
|
/hardware/ti/omap3/dspbridge/inc/ |
strmdefs.h | 52 UINT lMode; /* transport mode of stream(DMA, ZEROCOPY..) */ 54 PVOID pVirtBase; /* " " Stream'process virt base */ 55 struct DSP_STREAMINFO *pUser; /* User's stream information returned */
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
strmdefs.h | 53 UINT lMode; /* transport mode of stream(DMA, ZEROCOPY..) */ 55 PVOID pVirtBase; /* " " Stream'process virt base */ 56 struct DSP_STREAMINFO *pUser; /* User's stream information returned */
|
/libcore/luni/src/main/java/java/util/zip/ |
InflaterInputStream.java | 40 * The inflater used for this stream. 57 * True if this stream's last byte has been returned to the user. This 58 * could be because the underlying stream has been exhausted, or if errors 59 * were encountered while inflating that stream. 71 * particular the Inflater expects a ZLIB header from the input stream. 217 * Returns 0 when when this stream has exhausted its input; and 1 otherwise. 229 * @throws IOException if this stream is closed or an error occurs 241 * Closes the input stream. 244 * If an error occurs closing the input stream. 257 * Marks the current position in the stream. This implementation override [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
cwchar | 34 int fwprintf(FILE* restrict stream, const wchar_t* restrict format, ...); 35 int fwscanf(FILE* restrict stream, const wchar_t* restrict format, ...); 38 int vfwprintf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); 39 int vfwscanf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); // C99 46 wint_t fgetwc(FILE* stream); 47 wchar_t* fgetws(wchar_t* restrict s, int n, FILE* restrict stream); 48 wint_t fputwc(wchar_t c, FILE* stream); 49 int fputws(const wchar_t* restrict s, FILE* restrict stream); 50 int fwide(FILE* stream, int mode); 51 wint_t getwc(FILE* stream); [all...] |
/packages/apps/Browser/src/com/android/browser/homepages/ |
RequestHandler.java | 129 public void writeValue(OutputStream stream, String key) throws IOException {
132 stream.write(htmlEncode(cursor.getString(0)));
134 stream.write(htmlEncode(cursor.getString(1)));
136 stream.write("data:image/png;base64,".getBytes());
138 stream.write(Base64.encode(thumb, Base64.DEFAULT));
169 public void writeValue(OutputStream stream, String key) throws IOException {
172 stream.write(f.getName().getBytes());
175 stream.write(("file://" + f.getAbsolutePath()).getBytes());
178 stream.write((f.isDirectory() ? "dir" : "file").getBytes());
182 stream.write(readableFileSize(f.length()).getBytes()); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParser.java | 129 public ContentTypeParser(java.io.InputStream stream) { 130 this(stream, null); 132 public ContentTypeParser(java.io.InputStream stream, String encoding) { 133 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } 141 public void ReInit(java.io.InputStream stream) { 142 ReInit(stream, null); 144 public void ReInit(java.io.InputStream stream, String encoding) { 145 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } 153 public ContentTypeParser(java.io.Reader stream) { 154 jj_input_stream = new SimpleCharStream(stream, 1, 1) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
seq_midi_event.h | 36 * \defgroup MIDI_Event Sequencer event <-> MIDI byte stream coder 38 * Sequencer event <-> MIDI byte stream coder 52 /* encode from byte stream - return number of written bytes if success */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
seq_midi_event.h | 36 * \defgroup MIDI_Event Sequencer event <-> MIDI byte stream coder 38 * Sequencer event <-> MIDI byte stream coder 52 /* encode from byte stream - return number of written bytes if success */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
seq_midi_event.h | 36 * \defgroup MIDI_Event Sequencer event <-> MIDI byte stream coder 38 * Sequencer event <-> MIDI byte stream coder 52 /* encode from byte stream - return number of written bytes if success */
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
render_api.cpp | 331 SocketStream* stream = NULL; local 334 stream = new TcpStream(p_stream_buffer_size); 337 stream = new Win32PipeStream(p_stream_buffer_size); 339 stream = new UnixStream(p_stream_buffer_size); 343 if (!stream) { 344 ERR("createRenderThread failed to create stream\n"); 347 if (stream->connect(s_renderAddr) < 0) { 349 delete stream; 357 (unsigned int *)stream->allocBuffer(sizeof(unsigned int)); 359 stream->commitBuffer(sizeof(unsigned int)) [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_snapshot.c | 568 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 572 CDBG("Add Snapshot main is successfull stream ID = %d",pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id); 573 if (!pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id) { 579 pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 582 if (!pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id) { 604 mm_app_set_snapshot_fmt(cam_id,&pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.fmt); 606 mm_app_set_thumbnail_fmt(cam_id,&pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].str_config.fmt); 608 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.need_stream_on = 1; 609 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.num_of_bufs = 1 634 int stream[2]; local 673 int stream[2]; local 710 int stream[2]; local 757 int stream[2]; local 1131 int stream[1]; local 1176 int stream[2]; local 1198 int stream[3]; local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
RewriteRuleTokenStream.cs | 50 /// Create a stream with one element 59 /// <summary>Create a stream, but feed off an existing list</summary> 68 /// Get next token from stream and make a node for it. 91 throw new NotSupportedException("dup can't be called for a token stream.");
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
RewriteRuleTokenStream.cs | 47 /** <summary>Create a stream with one element</summary> */ 53 /** <summary>Create a stream, but feed off an existing list</summary> */ 59 /** <summary>Get next token from stream and make a node for it</summary> */ 83 throw new NotSupportedException( "dup can't be called for a token stream." );
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
RewriteRuleTokenStream.java | 40 /** Create a stream with one element */ 48 /** Create a stream, but feed off an existing list */ 56 /** Get next token from stream and make a node for it */ 74 throw new UnsupportedOperationException("dup can't be called for a token stream.");
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t004lexer.html | 27 var stream = new org.antlr.runtime.ANTLRStringStream("ffofoofooo"), 28 lexer = new TLexer(stream), 60 var stream = new org.antlr.runtime.ANTLRStringStream('2'), 61 lexer = new TLexer(stream),
|
t008lexer.html | 27 var stream = new org.antlr.runtime.ANTLRStringStream("ffaf"), 28 lexer = new TLexer(stream), 54 var stream = new org.antlr.runtime.ANTLRStringStream('fafb'), 55 lexer = new TLexer(stream),
|
t009lexer.html | 27 var stream = new org.antlr.runtime.ANTLRStringStream("085"), 28 lexer = new TLexer(stream), 54 var stream = new org.antlr.runtime.ANTLRStringStream('2a'), 55 lexer = new TLexer(stream),
|
t010lexer.html | 27 var stream = new org.antlr.runtime.ANTLRStringStream("foobar _Ab98 \n A12sdf"), 29 lexer = new TLexer(stream), 67 var stream = new org.antlr.runtime.ANTLRStringStream('a-b'), 68 lexer = new TLexer(stream),
|
t011lexer.html | 27 var stream = new org.antlr.runtime.ANTLRStringStream("foobar _Ab98 \n A12sdf"), 29 lexer = new TLexer(stream), 67 var stream = new org.antlr.runtime.ANTLRStringStream('a-b'), 68 lexer = new TLexer(stream),
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
CharStreamState.pm | 5 # Index into the char stream of next lookahead char
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t010lexer.py | 24 stream = antlr3.StringStream('foobar _Ab98 \n A12sdf') 25 lexer = self.getLexer(stream) 62 stream = antlr3.StringStream('a-b') 63 lexer = self.getLexer(stream)
|
t011lexer.py | 24 stream = antlr3.StringStream('foobar _Ab98 \n A12sdf') 25 lexer = self.getLexer(stream) 62 stream = antlr3.StringStream('a-b') 63 lexer = self.getLexer(stream)
|