/external/chromium_org/third_party/libjingle/source/talk/base/ |
optionsfile.cc | 33 #include "talk/base/stream.h" 44 FileStream stream; local 46 if (!stream.Open(path_, "r", &err)) { 56 res = stream.ReadLine(&line); 81 FileStream stream; local 83 if (!stream.Open(path_, "w", &err)) { 93 res = stream.WriteAll(i->first.c_str(), i->first.length(), &written, 98 res = stream.WriteAll("=", 1, &written, &error); 102 res = stream.WriteAll(i->second.c_str(), i->second.length(), &written, 107 res = stream.WriteAll("\n", 1, &written, &error) [all...] |
sslstreamadapterhelper.h | 35 #include "talk/base/stream.h" 41 // SSLStreamAdapterHelper : A stream adapter which implements much 46 explicit SSLStreamAdapterHelper(StreamInterface* stream) 47 : SSLStreamAdapter(stream), 82 // raised on the stream with the specified error. 97 SSL_WAIT, // waiting for the stream to open to start SSL negotiation 99 SSL_CONNECTED, // SSL stream successfully established 100 SSL_ERROR, // some SSL error occurred, stream is closed 104 // MSG_MAX is the maximum generic stream message number. 130 // depending on whether the underlying stream is already open o [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/ |
securetunnelsessionclient.h | 32 // tunnel stream into an SSLStreamAdapter. 50 // SSL/TLS. The PseudoTcpChannel stream is wrapped with an 114 // provides the actual tunnel stream and handles state changes. 116 // tunnel stream into an SSLStreamAdapter. 122 // designated to interact with the tunnel stream. 129 // Returns the stream that implements the actual P2P tunnel. 139 // SSLStreamAdapter to wrap the PseudoTcpChannel's stream, and 142 talk_base::StreamInterface* stream); 151 // This is the stream representing the usable tunnel endpoint. It's 155 // stream endpoint is returned early, but we need to keep a handl [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
LzmaDec.h | 76 0) Stream with end mark. That end mark adds about 6 bytes to compressed size. 77 1) Stream without end mark. You must know exact uncompressed size to decompress such stream. */ 103 LZMA_STATUS_FINISHED_WITH_MARK, /* stream was finished with end mark. */ 104 LZMA_STATUS_NOT_FINISHED, /* stream was not finished */ 106 LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK /* there is probability that stream was finished without end mark */ 149 for (each new stream) 169 LZMA_FINISH_END - Stream must be finished after dicLimit. 195 LZMA_FINISH_END - Stream must be finished after (*destLen). 209 LZMA_FINISH_END - Stream must be finished after (*destLen) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug_refcnt.c | 45 FILE* stream; variable 120 fprintf(stream, "%s\n", symbols[i]); 122 fprintf(stream, "\n"); 134 stream = fopen(filename, "wt"); 136 if(stream) 166 fprintf(stream, "<%s> %p %u Create\n", buf, (void *) p, serial); 172 fprintf(stream, "<%s> %p %u AddRef %u\n", buf, (void *) p, 180 fprintf(stream, "<%s> %p %u %s %u\n", buf, (void *) p, serial, 188 fprintf(stream, "<%s> %p %u Destroy\n", buf, (void *) p, serial); 192 fflush(stream); [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaDec.h | 77 0) Stream with end mark. That end mark adds about 6 bytes to compressed size. 78 1) Stream without end mark. You must know exact uncompressed size to decompress such stream. */ 104 LZMA_STATUS_FINISHED_WITH_MARK, /* stream was finished with end mark. */ 105 LZMA_STATUS_NOT_FINISHED, /* stream was not finished */ 107 LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK /* there is probability that stream was finished without end mark */ 150 for (each new stream) 170 LZMA_FINISH_END - Stream must be finished after dicLimit. 196 LZMA_FINISH_END - Stream must be finished after (*destLen). 210 LZMA_FINISH_END - Stream must be finished after (*destLen) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
EnumBiMap.java | 114 private void writeObject(ObjectOutputStream stream) throws IOException { 115 stream.defaultWriteObject(); 116 stream.writeObject(keyType); 117 stream.writeObject(valueType); 118 Serialization.writeMap(this, stream); 123 private void readObject(ObjectInputStream stream) 125 stream.defaultReadObject(); 126 keyType = (Class<K>) stream.readObject(); 127 valueType = (Class<V>) stream.readObject(); 131 Serialization.populateMap(this, stream); [all...] |
/external/guava/guava/src/com/google/common/io/ |
LittleEndianDataInputStream.java | 48 * Creates a {@code LittleEndianDataInputStream} that wraps the given stream. 50 * @param in the stream to delegate to 94 * @return the next two bytes of the input stream, interpreted as an 110 * @return the next four bytes of the input stream, interpreted as an 128 * @return the next eight bytes of the input stream, interpreted as a 150 * @return the next four bytes of the input stream, interpreted as a 164 * @return the next eight bytes of the input stream, interpreted as a 182 * @return the next two bytes of the input stream, interpreted as a 195 * @return the next two bytes of the input stream, interpreted as a 215 * Reads a byte from the input stream checking that the end of file (EOF [all...] |
/external/libvorbis/doc/vorbisfile/ |
ov_read.html | 29 <p>The output channels are in stream order and not remapped. Vorbis I 33 <li>one channel - the stream is monophonic 34 <li>two channels - the stream is stereo. channel order: left, right 35 <li>three channels - the stream is a 1d-surround encoding. channel order: left, 37 <li>four channels - the stream is quadraphonic surround. channel order: front left, 39 <li>five channels - the stream is five-channel surround. channel order: front left, 41 <li>six channels - the stream is 5.1 surround. channel order: front left, center, 43 <li>seven channels - the stream is 6.1 surround. channel order: front left, center, 45 <li>eight channels - the stream is 7.1 surround. channel order: front left, center, 106 <dd>indicates that an invalid stream section was supplied t [all...] |
/external/lzma/C/ |
LzmaDec.h | 76 0) Stream with end mark. That end mark adds about 6 bytes to compressed size.
77 1) Stream without end mark. You must know exact uncompressed size to decompress such stream. */
103 LZMA_STATUS_FINISHED_WITH_MARK, /* stream was finished with end mark. */
104 LZMA_STATUS_NOT_FINISHED, /* stream was not finished */
106 LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK /* there is probability that stream was finished without end mark */
149 for (each new stream)
169 LZMA_FINISH_END - Stream must be finished after dicLimit.
195 LZMA_FINISH_END - Stream must be finished after (*destLen).
209 LZMA_FINISH_END - Stream must be finished after (*destLen). [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_refcnt.c | 45 FILE* stream; variable 120 fprintf(stream, "%s\n", symbols[i]); 122 fprintf(stream, "\n"); 134 stream = fopen(filename, "wt"); 136 if(stream) 166 fprintf(stream, "<%s> %p %u Create\n", buf, (void *) p, serial); 172 fprintf(stream, "<%s> %p %u AddRef %u\n", buf, (void *) p, 180 fprintf(stream, "<%s> %p %u %s %u\n", buf, (void *) p, serial, 188 fprintf(stream, "<%s> %p %u Destroy\n", buf, (void *) p, serial); 192 fflush(stream); [all...] |
/frameworks/av/media/libmedia/ |
AudioSystem.cpp | 132 status_t AudioSystem::setStreamVolume(audio_stream_type_t stream, float value, 135 if (uint32_t(stream) >= AUDIO_STREAM_CNT) return BAD_VALUE; 138 af->setStreamVolume(stream, value, output); 142 status_t AudioSystem::setStreamMute(audio_stream_type_t stream, bool mute) 144 if (uint32_t(stream) >= AUDIO_STREAM_CNT) return BAD_VALUE; 147 af->setStreamMute(stream, mute); 151 status_t AudioSystem::getStreamVolume(audio_stream_type_t stream, float* volume, 154 if (uint32_t(stream) >= AUDIO_STREAM_CNT) return BAD_VALUE; 157 *volume = af->streamVolume(stream, output); 161 status_t AudioSystem::getStreamMute(audio_stream_type_t stream, bool* mute 439 audio_stream_type_t stream; local [all...] |
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
RtpStream.java | 33 * This mode indicates that the stream sends and receives packets at the 39 * This mode indicates that the stream only sends packets. 44 * This mode indicates that the stream only receives packets. 93 * stream is not associated. 100 * Returns the network port of the remote host or {@code -1} if the stream 108 * Returns {@code true} if the stream is busy. In this case most of the 129 * @throws IllegalStateException if the stream is busy. 150 * @throws IllegalStateException if the stream is busy. 173 * Releases allocated resources. The stream becomes inoperable after calling 176 * @throws IllegalStateException if the stream is busy [all...] |
/frameworks/rs/ |
rsComponent.cpp | 252 void Component::serialize(OStream *stream) const { 253 stream->addU8((uint8_t)mType); 254 stream->addU8((uint8_t)mKind); 255 stream->addU8((uint8_t)(mNormalized ? 1 : 0)); 256 stream->addU32(mVectorSize); 259 void Component::loadFromStream(IStream *stream) { 260 mType = (RsDataType)stream->loadU8(); 261 mKind = (RsDataKind)stream->loadU8(); 262 uint8_t temp = stream->loadU8(); 264 mVectorSize = stream->loadU32() [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLSocketInputStream.java | 25 * This class provides input data stream functionality 45 // the ssl socket owning the stream 48 // the flag indicating that the end of the (owner's) input stream 53 * Creates the application data input stream for specified socket. 54 * @param owner the socket which will provide this input stream 65 * Tells to the stream that the end of the income data has 85 * Closes the stream 103 throw new IOException("Stream was closed."); 131 // to this input stream. 136 * Appends the data to the stream [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/ |
copyfmt.pass.cpp | 34 void f1(std::ios_base::event ev, std::ios_base& stream, int index) 43 assert(stream.getloc().name() == LOCALE_en_US_UTF_8); 49 void f2(std::ios_base::event ev, std::ios_base& stream, int index) 58 assert(stream.getloc().name() == LOCALE_en_US_UTF_8); 64 void g1(std::ios_base::event ev, std::ios_base& stream, int index) 73 assert(stream.getloc().name() == LOCALE_fr_FR_UTF_8); 79 void g2(std::ios_base::event ev, std::ios_base& stream, int index) 88 assert(stream.getloc().name() == LOCALE_fr_FR_UTF_8); 94 void g3(std::ios_base::event ev, std::ios_base& stream, int index) 103 assert(stream.getloc().name() == LOCALE_fr_FR_UTF_8) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
driver.py | 86 def parse_stream_raw(self, stream, debug=False): 87 """Parse a stream and return the syntax tree.""" 88 tokens = tokenize.generate_tokens(stream.readline) 91 def parse_stream(self, stream, debug=False): 92 """Parse a stream and return the syntax tree.""" 93 return self.parse_stream_raw(stream, debug) 97 stream = codecs.open(filename, "r", encoding) 99 return self.parse_stream(stream, debug) 101 stream.close() 150 logging.basicConfig(level=logging.INFO, stream=sys.stdout [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
driver.py | 86 def parse_stream_raw(self, stream, debug=False): 87 """Parse a stream and return the syntax tree.""" 88 tokens = tokenize.generate_tokens(stream.readline) 91 def parse_stream(self, stream, debug=False): 92 """Parse a stream and return the syntax tree.""" 93 return self.parse_stream_raw(stream, debug) 97 stream = codecs.open(filename, "r", encoding) 99 return self.parse_stream(stream, debug) 101 stream.close() 150 logging.basicConfig(level=logging.INFO, stream=sys.stdout [all...] |
/bootable/recovery/applypatch/ |
bspatch.c | 84 int FillBuffer(unsigned char* buffer, int size, bz_stream* stream) { 85 stream->next_out = (char*)buffer; 86 stream->avail_out = size; 87 while (stream->avail_out > 0) { 88 int bzerr = BZ2_bzDecompress(stream); 93 if (stream->avail_out > 0) { 94 printf("need %d more bytes\n", stream->avail_out); 163 printf("failed to bzinit control stream (%d)\n", bzerr); 173 printf("failed to bzinit diff stream (%d)\n", bzerr); 183 printf("failed to bzinit extra stream (%d)\n", bzerr) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
logutils.py | 128 def _default_handlers(stream, logging_level): 132 stream: See the configure_logging() docstring. 146 handler = logging.StreamHandler(stream) 158 def configure_logging(logging_level=None, logger=None, stream=None, 175 stream: A file-like object to which to log used in creating the default 176 handlers. The stream must define an "encoding" data attribute, 180 stream parameter is not used. 183 # If the stream does not define an "encoding" data attribute, the 189 # self.stream.write(fs % msg.encode(self.stream.encoding) [all...] |
/external/chromium_org/third_party/freetype/src/truetype/ |
ttgxvar.c | 63 #define FT_Stream_FTell( stream ) \ 64 ( (stream)->cursor - (stream)->base ) 65 #define FT_Stream_SeekSet( stream, off ) \ 66 ( (stream)->cursor = (stream)->base+(off) ) 111 /* stream :: The data stream. */ 123 ft_var_readpackedpoints( FT_Stream stream, 132 FT_Memory memory = stream->memory 282 FT_Stream stream = FT_FACE_STREAM(face); local 374 FT_Stream stream = FT_FACE_STREAM(face); local 619 FT_Stream stream = face->root.stream; local 1325 FT_Stream stream = face->root.stream; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
streamparams.h | 72 StreamParams stream; local 73 stream.ssrcs.push_back(ssrc); 74 return stream; 137 // Resource of the MUC jid of the participant of with this stream. 147 // Friendly name describing stream 159 // A Stream can be selected by either groupid+id or ssrc. 172 bool Matches(const StreamParams& stream) const { 174 return stream.groupid == groupid && stream.id == streamid; 176 return stream.has_ssrc(ssrc) [all...] |
/external/freetype/src/truetype/ |
ttgxvar.c | 63 #define FT_Stream_FTell( stream ) \ 64 (FT_ULong)( (stream)->cursor - (stream)->base ) 65 #define FT_Stream_SeekSet( stream, off ) \ 66 ( (stream)->cursor = (stream)->base + (off) ) 113 /* stream :: The data stream. */ 125 ft_var_readpackedpoints( FT_Stream stream, 134 FT_Memory memory = stream->memory 284 FT_Stream stream = FT_FACE_STREAM(face); local 376 FT_Stream stream = FT_FACE_STREAM(face); local 612 FT_Stream stream = face->root.stream; local 1306 FT_Stream stream = face->root.stream; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
arith_routines_hist.c | 31 /* point to beginning of stream buffer */ 32 stream_ptr = streamdata->stream + streamdata->stream_index; 73 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); 101 stream_ptr = streamdata->stream + streamdata->stream_index; 107 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */ 162 /* read next byte from stream */ 174 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); 179 /* find number of bytes in original stream (determined by current interval width) */ 208 stream_ptr = streamdata->stream + streamdata->stream_index; 214 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */ [all...] |
/frameworks/base/docs/html/training/managing-audio/ |
volume-playback.jd | 17 <li><a href="#IdentifyStream">Identify Which Audio Stream to Use</a></li> 39 playback keys should perform their respective actions on the audio stream used by your app.</p> 42 <h2 id="IdentifyStream">Identify Which Audio Stream to Use</h2> 44 <p>The first step to creating a predictable audio experience is understanding which audio stream 47 <p>Android maintains a separate audio stream for playing music, alarms, notifications, the incoming 49 control the volume of each stream independently.</p> 53 android.media.AudioManager#STREAM_MUSIC} stream.</p> 58 <p>By default, pressing the volume controls modify the volume of the active audio stream. If your 66 audio stream that way. Resist the urge. Android provides the handy {@link 68 presses to the audio stream you specify.<p> [all...] |