/external/skia/tools/skpdiff/ |
generate_pmetric_tables.py | 69 def generate_cube_root_table(stream): 70 print('static float gCubeRootTable[] = {', end='', file=stream) 73 print('\n ', end='', file=stream) 74 print("%.10f" % pow(i / 1024.0, 1.0 / 3.0), end='f,', file=stream) 75 print('\n};', end='', file=stream) 76 print(CUBE_ROOT_ACCESS_FUNCTION, file=stream) 85 def generate_gamma_table(stream): 86 print('static float gGammaTable[] = {', end='', file=stream) 89 print('\n ', end='', file=stream) 90 print("%.10f" % pow(i / 255.0, 2.2), end='f,', file=stream) [all...] |
/external/harfbuzz/src/ |
harfbuzz-stream.c | 30 #include "harfbuzz-stream-private.h" 52 _hb_close_stream( HB_Stream stream ) 54 if (!stream) 56 free(stream->base); 57 free(stream); 62 _hb_stream_pos( HB_Stream stream ) 64 LOG(( "_hb_stream_pos() -> %ld\n", stream->pos )); 65 return stream->pos; 70 _hb_stream_seek( HB_Stream stream, 75 stream->pos = pos [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-stream.c | 30 #include "harfbuzz-stream-private.h" 52 _hb_close_stream( HB_Stream stream ) 54 if (!stream) 56 free(stream->base); 57 free(stream); 62 _hb_stream_pos( HB_Stream stream ) 64 LOG(( "_hb_stream_pos() -> %ld\n", stream->pos )); 65 return stream->pos; 70 _hb_stream_seek( HB_Stream stream, 75 stream->pos = pos [all...] |
/external/chromium_org/content/browser/streams/ |
stream_read_observer.h | 12 class Stream; 16 // Sent when there is data available to be read from the stream. 17 virtual void OnDataAvailable(Stream* stream) = 0;
|
/libcore/luni/src/main/java/java/io/ |
PipedOutputStream.java | 22 * data back and forth, one creates a piped output stream and the other one 23 * creates a piped input stream. 36 * stream must be connected to a {@link PipedInputStream} before data can be 44 * {@link PipedInputStream} {@code target}. Any data written to this stream 45 * can be read from the target stream. 48 * the piped input stream to connect to. 50 * if this stream or {@code target} are already connected. 57 * Closes this stream. If this stream is connected to an input stream, th 66 PipedInputStream stream = target; local 107 PipedInputStream stream = target; local 172 PipedInputStream stream = target; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
runner.py | 14 def __init__(self,stream): 15 self.stream = stream 18 if attr in ('stream', '__getstate__'): 20 return getattr(self.stream,attr) 29 """A test result class that can print formatted text results to a stream. 36 def __init__(self, stream, descriptions, verbosity): 37 super(TextTestResult, self).__init__(stream, descriptions, verbosity) 38 self.stream = stream [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
runner.py | 14 def __init__(self,stream): 15 self.stream = stream 18 if attr in ('stream', '__getstate__'): 20 return getattr(self.stream,attr) 29 """A test result class that can print formatted text results to a stream. 36 def __init__(self, stream, descriptions, verbosity): 37 super(TextTestResult, self).__init__(stream, descriptions, verbosity) 38 self.stream = stream [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoder.cs | 9 System.IO.Stream Stream;
18 public void SetStream(System.IO.Stream stream)
20 Stream = stream;
25 Stream = null;
30 StartPosition = Stream.Position;
46 Stream.Flush();
51 Stream.Close(); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
runner.py | 20 def __init__(self,stream): 21 self.stream = stream 24 if attr in ('stream', '__getstate__'): 26 return getattr(self.stream,attr) 35 """A test result class that can print formatted text results to a stream. 42 def __init__(self, stream, descriptions, verbosity): 44 self.stream = stream 59 self.stream.write(self.getDescription(test) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ITreeNodeStreamFixture.cs | 61 ITreeNodeStream stream = CreateCommonTreeNodeStream(t); 63 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 67 actual = stream.ToString(); 82 ITreeNodeStream stream = CreateBufferedTreeNodeStream(t); 84 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 88 actual = stream.ToString(); 107 BufferedTreeNodeStream stream = new BufferedTreeNodeStream(root); 109 string actual = GetStringOfEntireStreamContentsWithNodeTypesOnly(stream); 113 actual = stream.ToString(); 126 BufferedTreeNodeStream stream = new BufferedTreeNodeStream(root) [all...] |
ANTLRxxxxStreamFixture.cs | 40 using Stream = System.IO.Stream; 240 ANTLRInputStream stream = new ANTLRInputStream(grammarStream, encoding); 242 Assert.AreEqual("Two", stream.Substring(5, 7)); 243 Assert.AreEqual("One", stream.Substring(0, 2)); 244 Assert.AreEqual("Three", stream.Substring(10, 14)); 246 stream.Consume(); 248 Assert.AreEqual("Two", stream.Substring(5, 7)); 249 Assert.AreEqual("One", stream.Substring(0, 2)); 250 Assert.AreEqual("Three", stream.Substring(10, 14)) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
shell.js | 25 function tokenBase(stream, state) { 27 var sol = stream.sol(); 28 var ch = stream.next(); 32 return tokenize(stream, state); 35 if (sol && stream.eat('!')) { 36 stream.skipToEnd(); 39 stream.skipToEnd(); 44 return tokenize(stream, state); 50 stream.eat('-'); 51 stream.eatWhile(/\w/) [all...] |
/external/chromium_org/content/test/plugin/ |
plugin_get_javascript_url2_test.cc | 11 // The identifier for the self url stream. 14 // The identifier for the fetched url stream. 17 // The maximum chunk size of stream data. 46 NPError ExecuteGetJavascriptUrl2Test::NewStream(NPMIMEType type, NPStream* stream, 48 if (stream == NULL) { 49 SetError("NewStream got null stream"); 53 COMPILE_ASSERT(sizeof(unsigned long) <= sizeof(stream->notifyData), 55 unsigned long stream_id = reinterpret_cast<unsigned long>(stream->notifyData); 66 int32 ExecuteGetJavascriptUrl2Test::WriteReady(NPStream *stream) { 70 int32 ExecuteGetJavascriptUrl2Test::Write(NPStream *stream, int32 offset, int32 len [all...] |
/external/chromium_org/native_client_sdk/src/libraries/error_handling/ |
string_stream.h | 11 * Support for a stream stream in 'C', which is appended to via an sprintf-like 23 void ssinit(sstream_t* stream); 24 void ssfree(sstream_t* stream); 26 /* Returns the number of bytes added to the stream. */
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3commontreenodestream.c | 2 /// Defines the implementation of the common node stream the default 3 /// tree node stream used by ANTLR. 41 // COMMON TREE STREAM API 52 // TREE NODE STREAM API 64 // INT STREAM API 90 pANTLR3_TREE_NODE_STREAM stream; local 94 stream = (pANTLR3_TREE_NODE_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_TREE_NODE_STREAM)); 96 if (stream == NULL) 103 stream->replaceChildren = replaceChildren; 104 stream->free = antlr3TreeNodeStreamFree 118 pANTLR3_COMMON_TREE_NODE_STREAM stream; local 134 pANTLR3_COMMON_TREE_NODE_STREAM stream; local 272 pANTLR3_COMMON_TREE_NODE_STREAM stream; local [all...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttload.h | 39 FT_Stream stream, 45 FT_Stream stream ); 58 FT_Stream stream ); 63 FT_Stream stream ); 68 FT_Stream stream ); 73 FT_Stream stream ); 78 FT_Stream stream ); 83 FT_Stream stream ); 88 FT_Stream stream ); 96 FT_Stream stream ); [all...] |
/external/freetype/src/sfnt/ |
ttload.h | 39 FT_Stream stream, 45 FT_Stream stream ); 58 FT_Stream stream ); 63 FT_Stream stream ); 68 FT_Stream stream ); 73 FT_Stream stream ); 78 FT_Stream stream ); 83 FT_Stream stream ); 88 FT_Stream stream ); 96 FT_Stream stream ); [all...] |
/external/skia/src/images/ |
SkStreamHelpers.cpp | 12 size_t CopyStreamToStorage(SkAutoMalloc* storage, SkStream* stream) { 14 SkASSERT(stream != NULL); 16 if (stream->hasLength()) { 17 const size_t length = stream->getLength(); 19 if (stream->read(dst, length) != length) { 31 size_t bytesRead = stream->read(buffer, bufferSize); 35 } while (!stream->isAtEnd());
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTreeNodeStream.java | 35 /** Test the tree node stream. */ 38 /** Build new stream; let's us override to test other streams. */ 43 public String toTokenTypeString(TreeNodeStream stream) { 44 return ((CommonTreeNodeStream)stream).toTokenTypeString(); 50 TreeNodeStream stream = newStream(t); local 52 String found = toNodesOnlyString(stream); 56 found = toTokenTypeString(stream); 67 TreeNodeStream stream = newStream(t); local 69 String found = toNodesOnlyString(stream); 73 found = toTokenTypeString(stream); 90 TreeNodeStream stream = newStream(root); local 107 TreeNodeStream stream = newStream(root); local 122 TreeNodeStream stream = newStream(root); local 136 TreeNodeStream stream = newStream(t); local 153 TreeNodeStream stream = newStream(t); local 181 TreeNodeStream stream = newStream(r0); local 212 TreeNodeStream stream = newStream(r0); local 257 TreeNodeStream stream = newStream(r0); local 296 TreeNodeStream stream = newStream(r0); local 319 TreeNodeStream stream = newStream(r0); local 354 TreeNodeStream stream = newStream(g); local [all...] |
/hardware/libhardware/modules/audio/ |
audio_hw.c | 36 struct audio_stream_out stream; member in struct:stub_stream_out 40 struct audio_stream_in stream; member in struct:stub_stream_in 43 static uint32_t out_get_sample_rate(const struct audio_stream *stream) 48 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) 53 static size_t out_get_buffer_size(const struct audio_stream *stream) 58 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) 63 static audio_format_t out_get_format(const struct audio_stream *stream) 68 static int out_set_format(struct audio_stream *stream, audio_format_t format) 73 static int out_standby(struct audio_stream *stream) 78 static int out_dump(const struct audio_stream *stream, int fd [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
RawDataTable.java | 32 private PrintStream stream; field in class:RawDataTable 38 this.stream = ps; 52 * Print all build data to the current stream. 55 this.stream.print("<table border=\"1\">"); 58 this.stream.print("</table>\n"); 72 this.stream.print(buffer.toString()); 79 this.stream.print("<tr><td><b>Build ID</b></td>"); 81 this.stream.print("</tr>\n"); 88 this.stream.print("<tr><td>"); 89 this.stream.print(buildResults.getName()) [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFStream.h | 22 A stream object in a PDF. Note, all streams must be indirect objects (via 29 /** Create a PDF stream. A Length entry is automatically added to the 30 * stream dictionary. The stream may be retained (stream->ref() may be 32 * @param data The data part of the stream. 36 explicit SkPDFStream(SkStream* stream); 37 /** Create a PDF stream with the same content and dictionary entries 44 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog, 50 kUnused_State, //!< The stream hasn't been requested yet [all...] |
/external/skia/src/pdf/ |
SkPDFStream.h | 22 A stream object in a PDF. Note, all streams must be indirect objects (via 29 /** Create a PDF stream. A Length entry is automatically added to the 30 * stream dictionary. The stream may be retained (stream->ref() may be 32 * @param data The data part of the stream. 36 explicit SkPDFStream(SkStream* stream); 37 /** Create a PDF stream with the same content and dictionary entries 44 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog, 50 kUnused_State, //!< The stream hasn't been requested yet [all...] |
/hardware/libhardware_legacy/audio/ |
audio_hw_hal.cpp | 44 struct audio_stream_out stream; member in struct:android_audio_legacy::legacy_stream_out 50 struct audio_stream_in stream; member in struct:android_audio_legacy::legacy_stream_in 119 static uint32_t out_get_sample_rate(const struct audio_stream *stream) 122 reinterpret_cast<const struct legacy_stream_out *>(stream); 126 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) 129 reinterpret_cast<struct legacy_stream_out *>(stream); 136 static size_t out_get_buffer_size(const struct audio_stream *stream) 139 reinterpret_cast<const struct legacy_stream_out *>(stream); 143 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) 146 reinterpret_cast<const struct legacy_stream_out *>(stream); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
packet_util.cpp | 33 BitstreamDecVideo *stream = video->bitstream; local 47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32); 51 // DecNextStartCode(stream); 52 PV_BitstreamByteAlign(stream); 53 BitstreamReadBits32(stream, resync_marker_length); 55 *next_MB = (int) BitstreamReadBits16(stream, nbits); 65 quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision); 72 if (BitstreamRead1Bits(stream)) 80 tmpvar16 = BitstreamRead1Bits(stream); 85 BitstreamRead1Bits(stream); 148 BitstreamDecVideo *stream = video->bitstream; local 199 BitstreamDecVideo *stream = video->bitstream; local [all...] |