/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
scache.h | 31 #include <pulse/stream.h> 45 * To create a sample, the normal stream API is used (see \ref streams). The 46 * function pa_stream_connect_upload() will make sure the stream is stored as 50 * will receive the same name as the stream. If the upload should be aborted, 82 /** Make this stream a sample upload stream */ 85 /** Finish the sample upload, the stream name will become the sample name. You cancel a samp
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
io.py | 1 """The io module provides the Python interfaces to stream handling. The 5 defines the basic interface to a stream. Note, however, that there is no 10 writing of raw bytes to a stream. FileIO subclasses RawIOBase to provide 13 BufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its 17 streams. BytesIO is a simple stream of in-memory bytes. 21 interface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO 22 is a in-memory stream for text.
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
io.py | 1 """The io module provides the Python interfaces to stream handling. The 5 defines the basic interface to a stream. Note, however, that there is no 10 writing of raw bytes to a stream. FileIO subclasses RawIOBase to provide 13 BufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its 17 streams. BytesIO is a simple stream of in-memory bytes. 21 interface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO 22 is a in-memory stream for text.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileWriter.java | 39 * @param fos output stream to write trace data to 40 * @param is input stream from which trace data is read 69 // close stream 73 // ignore error while closing stream 129 private void writeTraceData(byte[] buffer, DataOutputStream stream) throws IOException { 130 stream.writeInt(buffer.length); 131 stream.write(buffer);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
IIntStream.cs | 41 /// A simple stream of integers. This is useful when all we care about is the char 55 /// <summary>Tell the stream to start buffering if it hasn't already.</summary> 57 /// Executing Rewind(Mark()) on a stream should not affect the input position. 75 /// Resets the stream so that the next call to 81 /// state the stream was in. This is essentially calling 85 /// stream was in when this marker was created. 104 /// stream to keep bookkeeping objects around for a marker that is 118 /// normally used to seek ahead in the input stream. 121 /// No buffering is required to do this unless you know your stream 127 /// For char streams, seeking forward must update the stream state suc [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
zip_internal.cc | 81 // Callback function for zlib that opens a file stream from a file descriptor. 99 // We don't actually close the file stream since that would close 102 int CloseFileFunc(void* opaque, void* stream) { 103 fflush(static_cast<FILE*>(stream)); 121 // Callback function for zlib that opens a file stream from a Windows handle. 146 // uses this pointer as a stream parameter while compressing or uncompressing 163 // Reads compressed data from the specified stream. This function copies data 165 uLong ReadZipBuffer(void* opaque, void* /*stream*/, void* buf, uLong size) { 177 // Writes compressed data to the stream. This function always returns zero 180 void* /*stream*/, [all...] |
/external/chromium_org/third_party/zlib/google/ |
zip_internal.cc | 81 // Callback function for zlib that opens a file stream from a file descriptor. 99 // We don't actually close the file stream since that would close 102 int CloseFileFunc(void* opaque, void* stream) { 103 fflush(static_cast<FILE*>(stream)); 121 // Callback function for zlib that opens a file stream from a Windows handle. 146 // uses this pointer as a stream parameter while compressing or uncompressing 163 // Reads compressed data from the specified stream. This function copies data 165 uLong ReadZipBuffer(void* opaque, void* /*stream*/, void* buf, uLong size) { 177 // Writes compressed data to the stream. This function always returns zero 180 void* /*stream*/, [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
SDL_ndsaudio.c | 48 //void SoundMixCallback(void *stream,u32 size) 76 // //memcpy((Sint16 *)stream,buffer, size); 85 // s32 *stream32 = (s32 *)stream; 88 // // ((s8*)stream)[i]=(buffer[i]^0x80); 94 // //((short*)stream)[i] =(short)buffer[i] << 8; // sound 8bit ---> buffer 16bit 96 // //((Sint16*)stream)[i] = 0xff00 | buffer[i]; 97 // ((Sint16*)stream)[i] = (buffer[i] - 128) << 8; 100 // // ((Sint16*)stream)[i] = buffer[i]; 103 // //register short *pDest =stream; 112 // //memcpy((Sint16 *)stream,buffer, size) [all...] |
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
FileTransfer.java | 215 // write to the output stream
219 throw new XMPPException("error writing to output stream", e);
224 // read more bytes from the input stream
228 throw new XMPPException("error reading from input stream", e);
263 * request. If they accept, then the process of stream negotiation will
277 * The stream to transfer the file is being negotiated over the chosen
278 * stream type. After the stream negotiating process is complete the
283 negotiating_stream("Negotiating Stream"),
286 * After the stream negotiation has completed the intermediate state 358 stream("An error occured while sending or recieving the file."); enum constant in enum:FileTransfer.Error [all...] |
/frameworks/av/services/camera/libcameraservice/device2/ |
Camera2Device.h | 116 // queue copies the contents of the stream slot into the queue, and then 178 * Adapter from an ANativeWindow interface to camera2 device stream ops. 179 * Also takes care of allocating/deallocating stream in device interface 188 * Create a HAL device stream of the requested size and format. 195 * stream. For other formats, the size parameter is ignored. 204 // Get stream parameters. 211 // Dump stream information 264 * Adapter from an ANativeWindow interface to camera2 device stream ops. 265 * Also takes care of allocating/deallocating stream in device interface 274 * Create a HAL device reprocess stream based on an existing output stream [all...] |
/frameworks/base/core/jni/ |
android_media_AudioSystem.cpp | 70 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) 73 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); 78 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, 82 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); 175 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) 177 return check_AudioSystem_Command(AudioSystem::initStreamVolume(static_cast <audio_stream_type_t>(stream), 185 jint stream, 190 AudioSystem::setStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), 198 jint stream, 202 if (AudioSystem::getStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), [all...] |
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
AudioGroup.java | 82 * encoded and sent back to each stream. 146 synchronized void add(AudioStream stream) { 147 if (!mStreams.containsKey(stream)) { 149 AudioCodec codec = stream.getCodec(); 152 int id = nativeAdd(stream.getMode(), stream.getSocket(), 153 stream.getRemoteAddress().getHostAddress(), 154 stream.getRemotePort(), codecSpec, stream.getDtmfType()); 155 mStreams.put(stream, id) [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
Pack200.java | 84 * stream in the Pack200 format. 192 * Pack the specified JAR file to the specified output stream. 197 * stream of compressed data. 204 * Pack the data from the specified jar input stream to the specified 205 * output stream. 208 * stream of uncompressed JAR data. 210 * stream of compressed data. 234 * The interface defining the API for converting a packed stream in the 273 * Unpack the specified stream to the specified JAR output stream [all...] |
/external/chromium_org/media/ffmpeg/ |
ffmpeg_common.cc | 302 const AVStream* stream, 306 AVDictionaryEntry* key = av_dict_get(stream->metadata, "enc_key_id", NULL, 0); 310 stream->codec, is_encrypted, config, record_stats); 342 const AVStream* stream, 345 gfx::Size coded_size(stream->codec->coded_width, stream->codec->coded_height); 349 gfx::Rect visible_rect(stream->codec->width, stream->codec->height); 352 if (stream->sample_aspect_ratio.num) 353 aspect_ratio = stream->sample_aspect_ratio [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3OutputStream.cpp | 57 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__, 112 ALOGE("%s: Stream %d: Can't dequeue next output buffer: %s (%d)", 161 ALOGE("%s: Stream %d: HAL should not set release_fence(%d) when " 173 ALOGE("%s: Stream %d: Error setting timestamp: %s (%d)", 201 ALOGE("%s: Stream %d: Error cancelling buffer to native window:" 209 ALOGE("%s: Stream %d: Error queueing buffer to native window: " 226 lines.appendFormat(" Stream[%d]: Output\n", mId); 241 ALOGE("%s: Stream in error state", __FUNCTION__); 250 ALOGE("%s: Unable to configure stream transform to %x: %s (%d)", 270 ALOGE("%s: Unable to connect to native window for stream %d" [all...] |
Camera3Stream.cpp | 17 #define LOG_TAG "Camera3-Stream" 37 Camera3Stream* Camera3Stream::cast(camera3_stream *stream) { 38 return static_cast<Camera3Stream*>(stream); 41 const Camera3Stream* Camera3Stream::cast(const camera3_stream *stream) { 42 return static_cast<const Camera3Stream*>(stream); 104 ALOGE("%s: Cannot configure an input stream twice", 108 ALOGE("%s: Cannot configure stream; has outstanding buffers", 178 // Check if the stream configuration is unchanged, and skip reallocation if 190 ALOGE("%s: Unable to configure stream %d queue: %s (%d)", 198 ALOGE("%s: Unable to register stream buffers with HAL: %s (%d)" [all...] |
/frameworks/rs/ |
rsMesh.cpp | 81 void Mesh::serialize(Context *rsc, OStream *stream) const { 83 stream->addU32((uint32_t)getClassId()); 84 stream->addString(getName()); 87 stream->addU32(mHal.state.vertexBuffersCount); 89 mHal.state.vertexBuffers[vCount]->serialize(rsc, stream); 92 stream->addU32(mHal.state.primitivesCount); 95 stream->addU8((uint8_t)mHal.state.primitives[pCount]); 98 stream->addU32(1); 99 mHal.state.indexBuffers[pCount]->serialize(rsc, stream); 101 stream->addU32(0) [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedInputStream.java | 24 * Expensive interaction with the underlying input stream is minimized, since 70 * {@code BufferedInputStream}. All read operations on such a stream will 84 * {@code BufferedInputStream}. All read operations on such a stream will 102 * plus those available in the source stream, but see {@link InputStream#available} for 106 * @throws IOException if this stream is closed or an error occurs 122 * Closes this stream. The source stream is closed and any resources 126 * if an error occurs while closing this stream. 174 * Sets a mark position in this stream. The parameter {@code readlimit} 176 * Calling {@code reset()} will reposition the stream back to the marke [all...] |
/external/chromium/net/base/ |
mime_sniffer_unittest.cc | 59 EXPECT_EQ("application/octet-stream", mime_type); 69 "application/octet-stream", "application/octet-stream" }, 75 "", "application/octet-stream" }, 81 "application/octet-stream", "application/octet-stream" }, 109 "application/octet-stream", "application/x-chrome-extension" }, 122 "", "application/octet-stream" }, 125 "", "application/octet-stream" }, 128 "", "application/octet-stream" }, [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnection.java | 86 * User code to run in response to an incoming stream. Callbacks must not be 133 SpdyStream stream = streams.remove(streamId); local 134 if (stream != null && streams.isEmpty()) { 137 return stream; 155 * Returns a new locally-initiated stream. 157 * @param out true to create an output stream that we can use to send data 159 * @param in true to create an input stream that the remote peer can use to 165 int associatedStreamId = 0; // TODO: permit the caller to specify an associated stream? 168 SpdyStream stream; local 178 stream = new SpdyStream(streamId, this, flags, priority, slot, requestHeaders, settings) 567 SpdyStream stream = getStream(streamId); local [all...] |
/external/antlr/antlr-3.4/runtime/C/doxygen/ |
interop.dox | 103 /// The <code>LA</code> macro returns the character at index n from the current input stream index. The return 112 /// offset from the start of the input stream. It returns a value type of #ANTLR3_UINT32. 117 /// stream. It returns a value type of #ANTLR3_UINT32. Note that the line number is incremented 118 /// automatically by an input stream when it sees the input character '\n'. The character that causes 120 /// stream before invoking the lexer and after creating the input stream. 126 /// which allows you to manipulate the text you have retrieved (\b NB this does not change the input stream 127 /// only the text you copy from the input stream when you use this MACRO or $text). 154 /// The <code>INDEX</code> macro returns the current input position according to the input stream. It is not 155 /// guaranteed to be the character offset in the input stream but is instead used as a valu [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
combined_decode.cpp | 47 BitstreamDecVideo *stream = video->bitstream; local 124 startPacket = getPointer(stream); 137 BitstreamShowBits16(stream, stuffing_length, &code); 140 PV_BitstreamFlushBits(stream, stuffing_length); 141 BitstreamShowBits16(stream, stuffing_length, &code); 161 movePointerTo(stream, (startPacket & -8)); 176 movePointerTo(stream, (startPacket & -8)); 188 BitstreamShowBits16(stream, stuffing_length, &code); 191 PV_BitstreamFlushBits(stream, stuffing_length); 192 BitstreamShowBits16(stream, stuffing_length, &code) 347 BitstreamDecVideo *stream = video->bitstream; local 528 BitstreamDecVideo *stream = video->bitstream; local [all...] |
/hardware/libhardware/modules/camera/ |
Camera.cpp | 25 #include "Stream.h" 301 Stream **newStreams = NULL; 307 ALOGE("%s:%d: NULL stream configuration array", __func__, mId); 311 ALOGE("%s:%d: Empty stream configuration array", __func__, mId); 315 // Create new stream array 316 newStreams = new Stream*[stream_config->num_streams]; 325 // Fill new stream array with reused streams and new streams 329 ALOGV("%s:%d: Reusing stream %d", __func__, mId, i); 332 ALOGV("%s:%d: Creating new stream %d", __func__, mId, i); 333 newStreams[i] = new Stream(mId, astream) 468 Stream *stream = reinterpret_cast<Stream*>(buf_set->stream->priv); local [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera.h | 46 /* num of data callbacks allowed in a stream obj */ 147 * for MM_CAMERA_POLL_TYPE_CH, depends on valid stream fd */ 169 MM_STREAM_STATE_REG, /* buf regged, stream off */ 170 MM_STREAM_STATE_ACTIVE_STREAM_ON, /* active with stream on */ 171 MM_STREAM_STATE_ACTIVE_STREAM_OFF, /* active with stream off */ 219 /* ext_image_mode used as id for stream obj */ 229 /* dataCB registered on this stream obj */ 233 /* stream buffer management */ 242 uint8_t is_bundled; /* flag if stream is bundled */ 246 uint8_t need_stream_on; /* flag if stream need streamon when start * [all...] |
/external/skia/tests/ |
PDFPrimitivesTest.cpp | 42 static bool encode_to_dct_stream(SkWStream* stream, const SkBitmap& bitmap, const SkIRect& rect) { 43 stream->writeText("DCT compessed stream."); 47 static bool stream_equals(const SkDynamicMemoryWStream& stream, size_t offset, 49 SkAutoDataUnref data(stream.copyToData()); 56 static bool stream_contains(const SkDynamicMemoryWStream& stream, 58 SkAutoDataUnref data(stream.copyToData()); 122 SkAutoTUnref<SkPDFStream> stream(new SkPDFStream(streamData.get())); 124 reporter, stream.get(), 125 "<</Length 12\n>> stream\nTest\nFoo\tBar\nendstream") 265 SkDynamicMemoryWStream stream; local 343 SkDynamicMemoryWStream stream; local [all...] |