/third_party/PyYAML/tests/lib/ |
H A D | canonical.py | 14 raise CanonicalError("utf-8 stream is expected") 218 # stream: STREAM-START document* STREAM-END 321 def __init__(self, stream): 322 if hasattr(stream, 'read'): 323 stream = stream.read() 324 CanonicalScanner.__init__(self, stream) 332 def canonical_scan(stream): 333 return yaml.scan(stream, Loader=CanonicalLoader) 337 def canonical_parse(stream) [all...] |
/third_party/elfio/elfio/ |
H A D | elfio.hpp | 160 bool load( std::istream& stream, bool is_lazy = false ) noexcept 167 stream.seekg( addr_translator[0] ); 168 stream.read( e_ident.data(), sizeof( e_ident ) ); 171 if ( stream.gcount() != sizeof( e_ident ) || 192 if ( !header->load( stream ) ) { 196 load_sections( stream, is_lazy ); 197 bool is_still_good = load_segments( stream, is_lazy ); 204 std::ofstream stream; variable 205 stream.open( file_name.c_str(), std::ios::out | std::ios::binary ); 206 if ( !stream ) { [all...] |
/third_party/glslang/gtests/ |
H A D | TestFixture.h | 159 // and stream.str(). However, if creating a variable for the comparison in checkEqAndUpdateIfRequested() 433 void outputResultToStream(std::ostringstream* stream, in outputResultToStream() argument 437 const auto outputIfNotEmpty = [&stream](const std::string& str) { in outputResultToStream() 438 if (!str.empty()) *stream << str << "\n"; in outputResultToStream() 442 *stream << shaderResult.shaderName << "\n"; in outputResultToStream() 449 *stream << "Validation failed\n"; in outputResultToStream() 453 *stream in outputResultToStream() 492 std::ostringstream stream; in loadFileCompileAndCheck() local 493 outputResultToStream(&stream, result, controls); in loadFileCompileAndCheck() 495 checkEqAndUpdateIfRequested(expectedOutput, stream in loadFileCompileAndCheck() 522 std::ostringstream stream; loadFileCompileAndCheckWithOptions() local 548 std::ostringstream stream; loadFileCompileFlattenUniformsAndCheck() local 585 std::ostringstream stream; loadFileCompileIoMapAndCheck() local 612 std::ostringstream stream; loadFileCompileRemapAndCheck() local 639 std::ostringstream stream; loadFileRemapAndCheck() local 719 std::ostringstream stream; loadCompileUpgradeTextureToSampledTextureAndDropSamplersAndCheck() local [all...] |
/third_party/node/lib/internal/ |
H A D | child_process.js | 316 const stream = stdio[i]; 318 // which data can be read from a stream, e.g. being consumed on the 320 if (!stream || !stream.readable || stream[kIsUsedAsStdio]) { 323 stream.resume(); 333 function getHandleWrapType(stream) { 334 if (stream instanceof Pipe) return 'pipe'; 335 if (stream instanceof TTY) return 'tty'; 336 if (stream instanceo [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | api.js | 403 var dataURIPrefix = "data:application/octet-stream;base64,"; 411 wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAAB3QZnYAF/AGACf38AYAJ/fwF/YAF/AX9gAX8BfmADf39/AX9gA39/fwBgBH9/f38AYAR/f39/AX9gBX9 (…) [all...] |
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
H A D | unzip.c | 133 z_stream stream; /* zLib stream structure for inflate */ member 136 bz_stream bstream; /* bzLib stream structure for bziped */ 140 uLong stream_initialised; /* flag set if stream structure is initialised*/ 199 IN assertion: the stream s has been successfully opened for reading. 1544 pfile_in_zip_read_info->stream.total_out = 0; in unzOpenCurrentFile3() 1554 pfile_in_zip_read_info->stream.zalloc = (alloc_func)0; in unzOpenCurrentFile3() 1555 pfile_in_zip_read_info->stream.zfree = (free_func)0; in unzOpenCurrentFile3() 1556 pfile_in_zip_read_info->stream.opaque = (voidpf)0; in unzOpenCurrentFile3() 1557 pfile_in_zip_read_info->stream in unzOpenCurrentFile3() [all...] |
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
H A D | unzip.c | 133 z_stream stream; /* zLib stream structure for inflate */ member 136 bz_stream bstream; /* bzLib stream structure for bziped */ 140 uLong stream_initialised; /* flag set if stream structure is initialised*/ 199 IN assertion: the stream s has been successfully opened for reading. 1544 pfile_in_zip_read_info->stream.total_out = 0; in unzOpenCurrentFile3() 1554 pfile_in_zip_read_info->stream.zalloc = (alloc_func)0; in unzOpenCurrentFile3() 1555 pfile_in_zip_read_info->stream.zfree = (free_func)0; in unzOpenCurrentFile3() 1556 pfile_in_zip_read_info->stream.opaque = (voidpf)0; in unzOpenCurrentFile3() 1557 pfile_in_zip_read_info->stream in unzOpenCurrentFile3() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_image_writer.cpp | 78 static void SpoolAdobeData (dng_stream &stream, in SpoolAdobeData() argument 84 TempBigEndian tempEndian (stream); in SpoolAdobeData() 98 stream.Put_uint32 (DNG_CHAR4 ('8','B','I','M')); in SpoolAdobeData() 99 stream.Put_uint16 (1034); in SpoolAdobeData() 100 stream.Put_uint16 (0); in SpoolAdobeData() 102 stream.Put_uint32 (1); in SpoolAdobeData() 104 stream.Put_uint8 (marked ? 1 : 0); in SpoolAdobeData() 106 stream.Put_uint8 (0); in SpoolAdobeData() 124 stream.Put_uint32 (DNG_CHAR4 ('8','B','I','M')); in SpoolAdobeData() 125 stream in SpoolAdobeData() 637 Put(dng_stream &stream, OffsetsBase offsetsBase, uint32 explicitBase) const Put() argument 2602 Put(dng_stream &stream, bool includeModelRestriction) Put() argument 3711 WriteData(dng_host &host, const dng_ifd &ifd, dng_stream &stream, dng_pixel_buffer &buffer, AutoPtr<dng_memory_block> &compressedBuffer) WriteData() argument 4167 WriteTile(dng_host &host, const dng_ifd &ifd, dng_stream &stream, const dng_image &image, const dng_rect &tileArea, uint32 fakeChannels, AutoPtr<dng_memory_block> &compressedBuffer, AutoPtr<dng_memory_block> &uncompressedBuffer, AutoPtr<dng_memory_block> &subTileBlockBuffer, AutoPtr<dng_memory_block> &tempBuffer) WriteTile() argument 4346 dng_write_tiles_task(dng_image_writer &imageWriter, dng_host &host, const dng_ifd &ifd, dng_basic_tag_set &basic, dng_stream &stream, const dng_image &image, uint32 fakeChannels, uint32 tilesDown, uint32 tilesAcross, uint32 compressedSize, uint32 uncompressedSize) dng_write_tiles_task() argument 4568 WriteImage(dng_host &host, const dng_ifd &ifd, dng_basic_tag_set &basic, dng_stream &stream, const dng_image &image, uint32 fakeChannels) WriteImage() argument 5256 WriteTIFF(dng_host &host, dng_stream &stream, const dng_image &image, uint32 photometricInterpretation, uint32 compression, dng_negative *negative, const dng_color_space *space, const dng_resolution *resolution, const dng_jpeg_preview *thumbnail, const dng_memory_block *imageResources, dng_metadata_subset metadataSubset) WriteTIFF() argument 5285 WriteTIFF(dng_host &host, dng_stream &stream, const dng_image &image, uint32 photometricInterpretation, uint32 compression, const dng_metadata *metadata, const dng_color_space *space, const dng_resolution *resolution, const dng_jpeg_preview *thumbnail, const dng_memory_block *imageResources, dng_metadata_subset metadataSubset) WriteTIFF() argument 5329 WriteTIFFWithProfile(dng_host &host, dng_stream &stream, const dng_image &image, uint32 photometricInterpretation, uint32 compression, dng_negative *negative, const void *profileData, uint32 profileSize, const dng_resolution *resolution, const dng_jpeg_preview *thumbnail, const dng_memory_block *imageResources, dng_metadata_subset metadataSubset) WriteTIFFWithProfile() argument 5360 WriteTIFFWithProfile(dng_host &host, dng_stream &stream, const dng_image &image, uint32 photometricInterpretation, uint32 compression, const dng_metadata *constMetadata, const void *profileData, uint32 profileSize, const dng_resolution *resolution, const dng_jpeg_preview *thumbnail, const dng_memory_block *imageResources, dng_metadata_subset metadataSubset) WriteTIFFWithProfile() argument 5596 WriteDNG(dng_host &host, dng_stream &stream, dng_negative &negative, const dng_preview_list *previewList, uint32 maxBackwardVersion, bool uncompressed) WriteDNG() argument 5616 WriteDNG(dng_host &host, dng_stream &stream, const dng_negative &negative, const dng_metadata &constMetadata, const dng_preview_list *previewList, uint32 maxBackwardVersion, bool uncompressed) WriteDNG() argument [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonemetadata.pb.cc | 313 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 321 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 327 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 334 target = stream->WriteString(3, s, target); in _InternalSerialize() 339 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 345 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 351 target = stream->EnsureSpace(target); in _InternalSerialize() 356 target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), in _InternalSerialize() 682 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 690 target = stream in _InternalSerialize() [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib1509.c | 30 size_t WriteOutput(void *ptr, size_t size, size_t nmemb, void *stream); 31 size_t WriteHeader(void *ptr, size_t size, size_t nmemb, void *stream); 85 size_t WriteOutput(void *ptr, size_t size, size_t nmemb, void *stream) in WriteOutput() argument 87 fwrite(ptr, size, nmemb, stream); in WriteOutput() 91 size_t WriteHeader(void *ptr, size_t size, size_t nmemb, void *stream) in WriteHeader() argument 94 (void)stream; in WriteHeader()
|
/third_party/lzma/CS/7zip/Compress/LZ/ |
H A D | LzOutWindow.cs | 27 public void Init(System.IO.Stream stream, bool solid)
in Init() argument 30 _stream = stream;
in Init() 39 public bool Train(System.IO.Stream stream)
in Train() argument 41 long len = stream.Length;
in Train() 44 stream.Position = len - size;
in Train() 51 int numReadBytes = stream.Read(_buffer, (int)_pos, (int)curSize);
in Train()
|
/third_party/node/test/parallel/ |
H A D | test-console-tty-colors.js | 5 const { Writable } = require('stream'); 17 const stream = new Writable({ 28 stream.isTTY = isTTY; 33 stdout: stream, 55 const stream = new Writable({ 64 stdout: stream, 80 stdout: stream,
|
H A D | test-http2-info-headers-errors.js | 17 // - every other NGHTTP2 error from binding (should emit stream error) 34 type: 'stream' 46 server.on('stream', common.mustCall((stream, headers) => { 52 if (currentError.type === 'stream') { 53 stream.session.on('error', errorMustNotCall); 54 stream.on('error', errorMustCall); 56 stream.session.once('error', errorMustCall); 57 stream.on('error', errorMustNotCall); 60 stream [all...] |
H A D | test-http2-empty-frame-without-eof.js | 23 const stream = client.request({ 28 stream.on('error', common.mustNotCall()); 35 stream.on('error', common.expectsError(expected)); 38 stream.resume(); 40 stream.once('close', resolve);
|
H A D | test-http2-respond-errors.js | 15 server.on('stream', common.mustCall((stream) => { 18 stream.respond({ 'content-type': 'text/plain' }); 22 () => stream.respond(), 30 // Should throw if stream already destroyed 31 stream.destroy(); 33 () => stream.respond(), 37 message: 'The stream has been destroyed'
|
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/ |
H A D | euckr-decoder.js | 15 function euckrDecoder(stream) { 16 stream = stream.replace(/%/g, " "); 17 stream = stream.replace(/[\s]+/g, " ").trim(); 18 var bytes = stream.split(" ");
|
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/ |
H A D | big5-decoder.js | 15 function big5Decoder(stream) { 16 stream = stream.replace(/%/g, " "); 17 stream = stream.replace(/[\s]+/g, " ").trim(); 18 var bytes = stream.split(" ");
|
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/ |
H A D | eucjp-decoder.js | 15 function eucjpDecoder(stream) { 16 stream = stream.replace(/%/g, " "); 17 stream = stream.replace(/[\s]+/g, " ").trim(); 18 var bytes = stream.split(" ");
|
/third_party/node/deps/v8/src/utils/ |
H A D | utils-inl.h | 57 bool StringToIndex(Stream* stream, index_t* index) { in StringToIndex() argument 58 uint16_t ch = stream->GetNext(); in StringToIndex() 64 return !stream->HasMore(); in StringToIndex() 71 while (stream->HasMore()) { in StringToIndex() 77 stream->GetNext())) { in StringToIndex() 83 stream->GetNext())) in StringToIndex()
|
/third_party/skia/third_party/externals/oboe/src/common/ |
H A D | LatencyTuner.cpp | 21 LatencyTuner::LatencyTuner(AudioStream &stream) in LatencyTuner() argument 22 : LatencyTuner(stream, stream.getBufferCapacityInFrames()) { in LatencyTuner() 25 LatencyTuner::LatencyTuner(oboe::AudioStream &stream, int32_t maximumBufferSize) in LatencyTuner() argument 26 : mStream(stream) in LatencyTuner() 28 int32_t burstSize = stream.getFramesPerBurst(); in LatencyTuner() 64 // or was from stream->getBufferCapacityInFrames()) in tune()
|
/third_party/skia/src/xps/ |
H A D | SkXPSDocument.cpp | 38 SkXPSDocument::SkXPSDocument(SkWStream* stream, in SkXPSDocument() argument 41 : SkDocument(stream) in SkXPSDocument() 50 fDevice.beginPortfolio(stream, fXpsFactory.get()); 79 sk_sp<SkDocument> SkXPS::MakeDocument(SkWStream* stream, in MakeDocument() argument 83 return stream && factory in MakeDocument() 84 ? sk_make_sp<SkXPSDocument>(stream, dpi, std::move(factory)) in MakeDocument()
|
/third_party/python/Lib/distutils/ |
H A D | log.py | 27 stream = sys.stderr 29 stream = sys.stdout 31 stream.write('%s\n' % msg) 34 encoding = stream.encoding 36 stream.write('%s\n' % msg) 37 stream.flush()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_asym.c | 65 * \brief Creates a new asym stream PCM 70 * \param stream Stream type 79 snd_pcm_stream_t stream, int mode) in _snd_pcm_asym_open() 92 if (stream == SND_PCM_STREAM_PLAYBACK) in _snd_pcm_asym_open() 97 if (stream == SND_PCM_STREAM_CAPTURE) in _snd_pcm_asym_open() 106 stream == SND_PCM_STREAM_PLAYBACK ? "playback" : "capture"); in _snd_pcm_asym_open() 112 err = snd_pcm_open_named_slave(pcmp, name, root, sconf, stream, in _snd_pcm_asym_open() 77 _snd_pcm_asym_open(snd_pcm_t **pcmp, const char *name ATTRIBUTE_UNUSED, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) _snd_pcm_asym_open() argument
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | InfoSink.cpp | 48 TPersistStringStream stream; in location() local 50 stream << string << ":" << line; in location() 52 stream << string << ":? "; in location() 53 stream << ": "; in location() 55 sink.append(stream.str()); in location()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttpload.h | 31 FT_Stream stream ); 43 FT_Stream stream ); 47 FT_Stream stream ); 52 FT_Stream stream ); 57 FT_Stream stream );
|