/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_stream.c | 51 nghttp3_stream *stream = nghttp3_objalloc_stream_get(stream_objalloc); in nghttp3_stream_new() local 54 if (stream == NULL) { in nghttp3_stream_new() 58 memset(stream, 0, sizeof(*stream)); in nghttp3_stream_new() 60 stream->out_chunk_objalloc = out_chunk_objalloc; in nghttp3_stream_new() 61 stream->stream_objalloc = stream_objalloc; in nghttp3_stream_new() 64 &stream->node, in nghttp3_stream_new() 68 nghttp3_ringbuf_init(&stream->frq, 0, sizeof(nghttp3_frame_entry), mem); in nghttp3_stream_new() 69 nghttp3_ringbuf_init(&stream->chunks, 0, sizeof(nghttp3_buf), mem); in nghttp3_stream_new() 70 nghttp3_ringbuf_init(&stream in nghttp3_stream_new() 157 nghttp3_stream_del(nghttp3_stream *stream) nghttp3_stream_del() argument 225 nghttp3_stream_frq_add(nghttp3_stream *stream, const nghttp3_frame_entry *frent) nghttp3_stream_frq_add() argument 245 nghttp3_stream_fill_outq(nghttp3_stream *stream) nghttp3_stream_fill_outq() argument 310 nghttp3_stream_write_stream_type(nghttp3_stream *stream) nghttp3_stream_write_stream_type() argument 330 nghttp3_stream_write_settings(nghttp3_stream *stream, nghttp3_frame_entry *frent) nghttp3_stream_write_settings() argument 377 nghttp3_stream_write_goaway(nghttp3_stream *stream, nghttp3_frame_entry *frent) nghttp3_stream_write_goaway() argument 402 nghttp3_stream_write_priority_update(nghttp3_stream *stream, nghttp3_frame_entry *frent) nghttp3_stream_write_priority_update() argument 427 nghttp3_stream_write_headers(nghttp3_stream *stream, nghttp3_frame_entry *frent) nghttp3_stream_write_headers() argument 439 nghttp3_stream_write_header_block(nghttp3_stream *stream, nghttp3_qpack_encoder *qenc, nghttp3_stream *qenc_stream, nghttp3_buf *rbuf, nghttp3_buf *ebuf, int64_t frame_type, const nghttp3_nv *nva, size_t nvlen) nghttp3_stream_write_header_block() argument 554 nghttp3_stream_write_data(nghttp3_stream *stream, int *peof, nghttp3_frame_entry *frent) nghttp3_stream_write_data() argument 660 nghttp3_stream_write_qpack_decoder_stream(nghttp3_stream *stream) nghttp3_stream_write_qpack_decoder_stream() argument 694 nghttp3_stream_outq_is_full(nghttp3_stream *stream) nghttp3_stream_outq_is_full() argument 699 nghttp3_stream_outq_add(nghttp3_stream *stream, const nghttp3_typed_buf *tbuf) nghttp3_stream_outq_add() argument 747 nghttp3_stream_ensure_chunk(nghttp3_stream *stream, size_t need) nghttp3_stream_ensure_chunk() argument 789 nghttp3_stream_get_chunk(nghttp3_stream *stream) nghttp3_stream_get_chunk() argument 798 nghttp3_stream_is_blocked(nghttp3_stream *stream) nghttp3_stream_is_blocked() argument 804 nghttp3_stream_require_schedule(nghttp3_stream *stream) nghttp3_stream_require_schedule() argument 812 nghttp3_stream_writev(nghttp3_stream *stream, int *pfin, nghttp3_vec *vec, size_t veccnt) nghttp3_stream_writev() argument 853 nghttp3_stream_add_outq_offset(nghttp3_stream *stream, size_t n) nghttp3_stream_add_outq_offset() argument 881 nghttp3_stream_outq_write_done(nghttp3_stream *stream) nghttp3_stream_outq_write_done() argument 888 stream_pop_outq_entry(nghttp3_stream *stream, nghttp3_typed_buf *tbuf) stream_pop_outq_entry() argument 927 nghttp3_stream_add_ack_offset(nghttp3_stream *stream, uint64_t n) nghttp3_stream_add_ack_offset() argument 985 nghttp3_stream_buffer_data(nghttp3_stream *stream, const uint8_t *data, size_t datalen) nghttp3_stream_buffer_data() argument 1031 nghttp3_stream_get_buffered_datalen(nghttp3_stream *stream) nghttp3_stream_get_buffered_datalen() argument 1045 nghttp3_stream_transit_rx_http_state(nghttp3_stream *stream, nghttp3_stream_http_event event) nghttp3_stream_transit_rx_http_state() argument 1229 nghttp3_stream_empty_headers_allowed(nghttp3_stream *stream) nghttp3_stream_empty_headers_allowed() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_dump.h | 97 util_dump_ptr(FILE *stream, const void *value); 100 util_dump_query_type(FILE *stream, unsigned value); 103 util_dump_query_value_type(FILE *stream, unsigned value); 106 util_dump_query_flags(FILE *stream, unsigned value); 109 util_dump_transfer_usage(FILE *stream, unsigned value); 116 util_dump_resource(FILE *stream, const struct pipe_resource *state); 119 util_dump_rasterizer_state(FILE *stream, 123 util_dump_poly_stipple(FILE *stream, 127 util_dump_viewport_state(FILE *stream, 131 util_dump_scissor_state(FILE *stream, [all...] |
/third_party/skia/third_party/externals/freetype/builds/unix/ |
H A D | ftsystem.c | 196 /* system-specific stream handle from a given FreeType stream object */ 197 #define STREAM_FILE( stream ) ( (FILE*)stream->descriptor.pointer ) 206 * The function to close a stream which is opened by mmap. 209 * stream :: A pointer to the stream object. 212 ft_close_stream_by_munmap( FT_Stream stream ) in ft_close_stream_by_munmap() 214 munmap( (MUNMAP_ARG_CAST)stream->descriptor.pointer, stream in ft_close_stream_by_munmap() [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | parser.py | 40 self.stream = environment._tokenize(source, name, filename, state) 58 lineno = self.stream.current.lineno 108 if self.stream.current.type in ('variable_end', 'block_end', 'rparen'): 111 return self.stream.current.test_any(extra_end_rules) 123 token = self.stream.current 130 return getattr(self, 'parse_' + self.stream.current.value)() 155 reached. Per default the active token in the stream at the end of 160 self.stream.skip_if('colon') 164 self.stream.expect('block_end') 169 if self.stream [all...] |
/third_party/node/lib/internal/streams/ |
H A D | destroy.js | 185 function errorOrDestroy(stream, err, sync) { 192 const r = stream._readableState; 193 const w = stream._writableState; 200 stream.destroy(err); 212 process.nextTick(emitErrorNT, stream, err); 214 emitErrorNT(stream, err); 219 function construct(stream, cb) { 220 if (typeof stream._construct !== 'function') { 224 const r = stream._readableState; 225 const w = stream [all...] |
/third_party/jinja2/ |
H A D | parser.py | 60 self.stream = environment._tokenize(source, name, filename, state) 85 lineno = self.stream.current.lineno 152 if self.stream.current.type in ("variable_end", "block_end", "rparen"): 155 return self.stream.current.test_any(extra_end_rules) # type: ignore 167 token = self.stream.current 174 f = getattr(self, f"parse_{self.stream.current.value}") 202 reached. Per default the active token in the stream at the end of 207 self.stream.skip_if("colon") 211 self.stream.expect("block_end") 216 if self.stream [all...] |
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | parser.py | 45 self.stream = environment._tokenize(source, name, filename, state) 63 lineno = self.stream.current.lineno 119 if self.stream.current.type in ("variable_end", "block_end", "rparen"): 122 return self.stream.current.test_any(extra_end_rules) 134 token = self.stream.current 141 return getattr(self, "parse_" + self.stream.current.value)() 166 reached. Per default the active token in the stream at the end of 171 self.stream.skip_if("colon") 175 self.stream.expect("block_end") 180 if self.stream [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | parser.py | 45 self.stream = environment._tokenize(source, name, filename, state) 63 lineno = self.stream.current.lineno 119 if self.stream.current.type in ("variable_end", "block_end", "rparen"): 122 return self.stream.current.test_any(extra_end_rules) 134 token = self.stream.current 141 return getattr(self, "parse_" + self.stream.current.value)() 166 reached. Per default the active token in the stream at the end of 171 self.stream.skip_if("colon") 175 self.stream.expect("block_end") 180 if self.stream [all...] |
/third_party/python/Lib/unittest/ |
H A D | runner.py | 16 def __init__(self,stream): 17 self.stream = stream 20 if attr in ('stream', '__getstate__'): 22 return getattr(self.stream,attr) 31 """A test result class that can print formatted text results to a stream. 38 def __init__(self, stream, descriptions, verbosity): 39 super(TextTestResult, self).__init__(stream, descriptions, verbosity) 40 self.stream = stream [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_info.cpp | 96 dng_stream &stream, in ParseTag() 132 stream.SetReadPosition (tagOffset); in ParseTag() 134 if (ifd && ifd->ParseTag (stream, in ParseTag() 146 stream.SetReadPosition (tagOffset); in ParseTag() 148 if (exif && shared && exif->ParseTag (stream, in ParseTag() 162 stream.SetReadPosition (tagOffset); in ParseTag() 164 if (shared && exif && shared->ParseTag (stream, in ParseTag() 185 stream, in ParseTag() 190 stream.Length (), in ParseTag() 246 stream, in ParseTag() 95 ParseTag(dng_host &host, dng_stream &stream, dng_exif *exif, dng_shared *shared, dng_ifd *ifd, uint32 parentCode, uint32 tagCode, uint32 tagType, uint32 tagCount, uint64 tagOffset, int64 offsetDelta) ParseTag() argument 338 ValidateIFD(dng_stream &stream, uint64 ifdOffset, int64 offsetDelta) ValidateIFD() argument 411 ParseIFD(dng_host &host, dng_stream &stream, dng_exif *exif, dng_shared *shared, dng_ifd *ifd, uint64 ifdOffset, int64 offsetDelta, uint32 parentCode) ParseIFD() argument 656 ParseMakerNoteIFD(dng_host &host, dng_stream &stream, uint64 ifdSize, uint64 ifdOffset, int64 offsetDelta, uint64 minOffset, uint64 maxOffset, uint32 parentCode) ParseMakerNoteIFD() argument 887 ParseMakerNote(dng_host &host, dng_stream &stream, uint32 makerNoteCount, uint64 makerNoteOffset, int64 offsetDelta, uint64 minOffset, uint64 maxOffset) ParseMakerNote() argument 1416 ParseDNGPrivateData(dng_host &host, dng_stream &stream) ParseDNGPrivateData() argument 1885 Parse(dng_host &host, dng_stream &stream) Parse() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkFontDescriptor.cpp | 29 static bool SK_WARN_UNUSED_RESULT read_string(SkStream* stream, SkString* string) { in read_string() argument 31 if (!stream->readPackedUInt(&length)) { return false; } in read_string() 34 if (stream->read(string->writable_str(), length) != length) { return false; } in read_string() 39 static bool write_string(SkWStream* stream, const SkString& string, uint32_t id) { in write_string() argument 41 return stream->writePackedUInt(id) && in write_string() 42 stream->writePackedUInt(string.size()) && in write_string() 43 stream->write(string.c_str(), string.size()); in write_string() 46 static bool write_uint(SkWStream* stream, size_t n, uint32_t id) { in write_uint() argument 47 return stream->writePackedUInt(id) && in write_uint() 48 stream in write_uint() 51 read_id(SkStream* stream) read_id() argument 57 Deserialize(SkStream* stream, SkFontDescriptor* result) Deserialize() argument [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | stream.c | 20 * @file stream.c 39 struct SPDYF_Stream *stream; in SPDYF_stream_new() local 44 //not all fields are received to create new stream in SPDYF_stream_new() 50 //get stream id of the new stream in SPDYF_stream_new() 56 //wrong stream id sent by client in SPDYF_stream_new() 72 //set highest stream id for session in SPDYF_stream_new() 75 //get assoc stream id of the new stream in SPDYF_stream_new() 81 //get stream priorit in SPDYF_stream_new() 117 SPDYF_stream_destroy(struct SPDYF_Stream *stream) SPDYF_stream_destroy() argument 128 struct SPDYF_Stream * stream = response_queue->stream; SPDYF_stream_set_flags_on_write() local 161 struct SPDYF_Stream * stream = session->streams_head; SPDYF_stream_find() local [all...] |
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deSha1.c | 43 void deSha1Stream_init (deSha1Stream* stream) in deSha1Stream_init() argument 45 stream->size = 0; in deSha1Stream_init() 48 deMemset(stream->data, 0, 16 * sizeof(deUint32)); in deSha1Stream_init() 50 stream->hash[0] = 0x67452301u; in deSha1Stream_init() 51 stream->hash[1] = 0xEFCDAB89u; in deSha1Stream_init() 52 stream->hash[2] = 0x98BADCFEu; in deSha1Stream_init() 53 stream->hash[3] = 0x10325476u; in deSha1Stream_init() 54 stream->hash[4] = 0xC3D2E1F0u; in deSha1Stream_init() 57 static void deSha1Stream_flushChunk (deSha1Stream* stream) in deSha1Stream_flushChunk() argument 59 DE_ASSERT(stream in deSha1Stream_flushChunk() 130 deSha1Stream_process(deSha1Stream* stream, size_t size, const void* data_) deSha1Stream_process() argument 155 deSha1Stream_finalize(deSha1Stream* stream, deSha1* hash) deSha1Stream_finalize() argument 197 deSha1Stream stream; deSha1_compute() local 409 deSha1Stream stream; deSha1_selfTest() local [all...] |
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_cmd_stream.c | 53 etna_cmd_stream_priv(struct etna_cmd_stream *stream) in etna_cmd_stream_priv() argument 55 return (struct etna_cmd_stream_priv *)stream; in etna_cmd_stream_priv() 60 void (*reset_notify)(struct etna_cmd_stream *stream, void *priv), in etna_cmd_stream_new() 63 struct etna_cmd_stream_priv *stream = NULL; in etna_cmd_stream_new() local 70 stream = calloc(1, sizeof(*stream)); in etna_cmd_stream_new() 71 if (!stream) { in etna_cmd_stream_new() 79 stream->base.buffer = malloc(size * sizeof(uint32_t)); in etna_cmd_stream_new() 80 if (!stream->base.buffer) { in etna_cmd_stream_new() 85 stream in etna_cmd_stream_new() 58 etna_cmd_stream_new(struct etna_pipe *pipe, uint32_t size, void (*reset_notify)(struct etna_cmd_stream *stream, void *priv), void *priv) etna_cmd_stream_new() argument 99 etna_cmd_stream_del(struct etna_cmd_stream *stream) etna_cmd_stream_del() argument 109 reset_buffer(struct etna_cmd_stream *stream) reset_buffer() argument 123 etna_cmd_stream_timestamp(struct etna_cmd_stream *stream) etna_cmd_stream_timestamp() argument 128 append_bo(struct etna_cmd_stream *stream, struct etna_bo *bo) append_bo() argument 145 bo2idx(struct etna_cmd_stream *stream, struct etna_bo *bo, uint32_t flags) bo2idx() argument 177 flush(struct etna_cmd_stream *stream, int in_fence_fd, int *out_fence_fd) flush() argument 224 etna_cmd_stream_flush(struct etna_cmd_stream *stream) etna_cmd_stream_flush() argument 230 etna_cmd_stream_flush2(struct etna_cmd_stream *stream, int in_fence_fd, int *out_fence_fd) etna_cmd_stream_flush2() argument 238 etna_cmd_stream_finish(struct etna_cmd_stream *stream) etna_cmd_stream_finish() argument 247 etna_cmd_stream_reloc(struct etna_cmd_stream *stream, const struct etna_reloc *r) etna_cmd_stream_reloc() argument 265 etna_cmd_stream_perf(struct etna_cmd_stream *stream, const struct etna_perf *p) etna_cmd_stream_perf() argument [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rmenc.c | 74 StreamInfo *stream; in rv10_write_header() local 96 StreamInfo *stream = &rm->streams[i]; in rv10_write_header() local 97 bit_rate += stream->bit_rate; in rv10_write_header() 98 if (stream->packet_max_size > packet_max_size) in rv10_write_header() 99 packet_max_size = stream->packet_max_size; in rv10_write_header() 100 nb_packets += stream->nb_packets; in rv10_write_header() 101 packet_total_size += stream->packet_total_size; in rv10_write_header() 103 v = av_rescale_q_rnd(stream->total_frames, (AVRational){1000, 1}, stream->frame_rate, AV_ROUND_ZERO); in rv10_write_header() 146 stream in rv10_write_header() 293 write_packet_header(AVFormatContext *ctx, StreamInfo *stream, int length, int key_frame) write_packet_header() argument 316 StreamInfo *stream; rm_write_header() local 370 StreamInfo *stream = rm->audio_stream; rm_write_audio() local 392 StreamInfo *stream = rm->video_stream; rm_write_video() local [all...] |
/third_party/pulseaudio/sonic/ |
H A D | sonic.h | 22 the input stream is pointed to by "samples", and the current output stream 72 /* Create a sonic stream. Return NULL only if we are out of memory and cannot 73 allocate the stream. Set numChannels to 1 for mono, and 2 for stereo. */ 75 /* Destroy the sonic stream. */ 76 void sonicDestroyStream(sonicStream stream); 77 /* Use this to write floating point data to be speed up or down into the stream. 79 int sonicWriteFloatToStream(sonicStream stream, float *samples, int numSamples); 80 /* Use this to write 16-bit data to be speed up or down into the stream. 82 int sonicWriteShortToStream(sonicStream stream, shor [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | ProgramExecutable.cpp | 284 void ProgramExecutable::load(bool isSeparable, gl::BinaryInputStream *stream) 289 mAttributesTypeMask = gl::ComponentTypeMask(stream->readInt<uint32_t>()); 290 mAttributesMask = gl::AttributesMask(stream->readInt<uint32_t>()); 291 mActiveAttribLocationsMask = gl::AttributesMask(stream->readInt<uint32_t>()); 292 mMaxActiveAttribLocation = stream->readInt<unsigned int>(); 294 unsigned int fragmentInoutRangeLow = stream->readInt<uint32_t>(); 295 unsigned int fragmentInoutRangeHigh = stream->readInt<uint32_t>(); 298 mLinkedShaderStages = ShaderBitSet(stream->readInt<uint8_t>()); 300 mPipelineHasUniformBuffers = stream->readBool(); 301 mPipelineHasStorageBuffers = stream [all...] |
/third_party/mesa3d/src/etnaviv/drm/ |
H A D | etnaviv_cmd_stream.c | 53 void etna_cmd_stream_realloc(struct etna_cmd_stream *stream, size_t n) in etna_cmd_stream_realloc() argument 62 size = ALIGN(stream->size + n, 1024); in etna_cmd_stream_realloc() 68 buffer = realloc(stream->buffer, size * 4); in etna_cmd_stream_realloc() 72 stream->buffer = buffer; in etna_cmd_stream_realloc() 73 stream->size = size; in etna_cmd_stream_realloc() 79 etna_cmd_stream_force_flush(stream); in etna_cmd_stream_realloc() 83 etna_cmd_stream_priv(struct etna_cmd_stream *stream) in etna_cmd_stream_priv() argument 85 return (struct etna_cmd_stream_priv *)stream; in etna_cmd_stream_priv() 90 void (*force_flush)(struct etna_cmd_stream *stream, void *priv), in etna_cmd_stream_new() 93 struct etna_cmd_stream_priv *stream in etna_cmd_stream_new() local 88 etna_cmd_stream_new(struct etna_pipe *pipe, uint32_t size, void (*force_flush)(struct etna_cmd_stream *stream, void *priv), void *priv) etna_cmd_stream_new() argument 131 etna_cmd_stream_del(struct etna_cmd_stream *stream) etna_cmd_stream_del() argument 143 etna_cmd_stream_force_flush(struct etna_cmd_stream *stream) etna_cmd_stream_force_flush() argument 151 etna_cmd_stream_timestamp(struct etna_cmd_stream *stream) etna_cmd_stream_timestamp() argument 156 append_bo(struct etna_cmd_stream *stream, struct etna_bo *bo) append_bo() argument 174 bo2idx(struct etna_cmd_stream *stream, struct etna_bo *bo, uint32_t flags) bo2idx() argument 200 etna_cmd_stream_flush(struct etna_cmd_stream *stream, int in_fence_fd, int *out_fence_fd, bool is_noop) etna_cmd_stream_flush() argument 257 etna_cmd_stream_reloc(struct etna_cmd_stream *stream, const struct etna_reloc *r) etna_cmd_stream_reloc() argument 279 etna_cmd_stream_ref_bo(struct etna_cmd_stream *stream, struct etna_bo *bo, uint32_t flags) etna_cmd_stream_ref_bo() argument 285 etna_cmd_stream_perf(struct etna_cmd_stream *stream, const struct etna_perf *p) etna_cmd_stream_perf() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-write-stream-autoclose-option.js | 11 let stream = fs.createWriteStream(file, { flags: 'w+', autoClose: false }); 12 stream.write('Test1'); 13 stream.end(); 14 stream.on('finish', common.mustCall(function() { 15 stream.on('close', common.mustNotCall()); 17 assert.strictEqual(stream.closed, false); 18 assert.notStrictEqual(stream.fd, null); 25 stream = fs.createWriteStream(null, { fd: stream.fd, start: 0 }); 26 stream [all...] |
/third_party/mesa3d/src/util/ |
H A D | log.c | 101 struct log_stream *stream = ralloc(NULL, struct log_stream); in _mesa_log_stream_create() local 102 stream->level = level; in _mesa_log_stream_create() 103 stream->tag = tag; in _mesa_log_stream_create() 104 stream->msg = ralloc_strdup(stream, ""); in _mesa_log_stream_create() 105 stream->pos = 0; in _mesa_log_stream_create() 106 return stream; in _mesa_log_stream_create() 110 mesa_log_stream_destroy(struct log_stream *stream) in mesa_log_stream_destroy() argument 112 /* If you left trailing stuff in the log stream, flush it out as a line. */ in mesa_log_stream_destroy() 113 if (stream in mesa_log_stream_destroy() 120 mesa_log_stream_flush(struct log_stream *stream, size_t scan_offset) mesa_log_stream_flush() argument 138 mesa_log_stream_printf(struct log_stream *stream, const char *format, ...) mesa_log_stream_printf() argument [all...] |
/third_party/node/deps/v8/third_party/zlib/google/ |
H A D | compression_utils_portable.cc | 53 if (type == ZLIB) // zlib DEFLATE stream wrapper in ZlibStreamWrapperType() 55 if (type == GZIP) // gzip DEFLATE stream wrapper in ZlibStreamWrapperType() 91 z_stream stream; in CompressHelper() local 94 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in CompressHelper() 95 stream.avail_in = static_cast<uInt>(source_length); in CompressHelper() 96 stream.next_out = dest; in CompressHelper() 97 stream.avail_out = static_cast<uInt>(*dest_length); in CompressHelper() 98 if (static_cast<uLong>(stream.avail_out) != *dest_length) in CompressHelper() 120 stream.zalloc = static_cast<alloc_func>(zalloc); in CompressHelper() 121 stream in CompressHelper() 172 z_stream stream; UncompressHelper() local [all...] |
/third_party/node/deps/zlib/google/ |
H A D | compression_utils_portable.cc | 53 if (type == ZLIB) // zlib DEFLATE stream wrapper in ZlibStreamWrapperType() 55 if (type == GZIP) // gzip DEFLATE stream wrapper in ZlibStreamWrapperType() 91 z_stream stream; in CompressHelper() local 94 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in CompressHelper() 95 stream.avail_in = static_cast<uInt>(source_length); in CompressHelper() 96 stream.next_out = dest; in CompressHelper() 97 stream.avail_out = static_cast<uInt>(*dest_length); in CompressHelper() 98 if (static_cast<uLong>(stream.avail_out) != *dest_length) in CompressHelper() 120 stream.zalloc = static_cast<alloc_func>(zalloc); in CompressHelper() 121 stream in CompressHelper() 172 z_stream stream; UncompressHelper() local [all...] |
/third_party/skia/third_party/externals/zlib/google/ |
H A D | compression_utils_portable.cc | 53 if (type == ZLIB) // zlib DEFLATE stream wrapper in ZlibStreamWrapperType() 55 if (type == GZIP) // gzip DEFLATE stream wrapper in ZlibStreamWrapperType() 91 z_stream stream; in CompressHelper() local 94 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in CompressHelper() 95 stream.avail_in = static_cast<uInt>(source_length); in CompressHelper() 96 stream.next_out = dest; in CompressHelper() 97 stream.avail_out = static_cast<uInt>(*dest_length); in CompressHelper() 98 if (static_cast<uLong>(stream.avail_out) != *dest_length) in CompressHelper() 120 stream.zalloc = static_cast<alloc_func>(zalloc); in CompressHelper() 121 stream in CompressHelper() 172 z_stream stream; UncompressHelper() local [all...] |
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | ftgzip.c | 183 FT_Stream source; /* parent/source stream */ 184 FT_Stream stream; /* embedding stream */ member 186 z_stream zstream; /* zlib input stream */ 210 ft_gzip_check_header( FT_Stream stream ) in ft_gzip_check_header() 285 FT_Stream stream, in ft_gzip_file_init() 292 zip->stream = stream; in ft_gzip_file_init() 294 zip->memory = stream->memory; in ft_gzip_file_init() 302 stream in ft_gzip_file_init() 284 ft_gzip_file_init( FT_GZipFile zip, FT_Stream stream, FT_Stream source ) ft_gzip_file_init() argument 354 FT_Stream stream = zip->source; ft_gzip_file_reset() local 383 FT_Stream stream = zip->source; ft_gzip_file_fill_input() local 587 ft_gzip_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) ft_gzip_stream_io() argument 733 z_stream stream; FT_EXPORT_DEF() local [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | __init__.py | 29 def scan(stream, Loader=Loader): 31 Scan a YAML stream and produce scanning tokens. 33 loader = Loader(stream) 40 def parse(stream, Loader=Loader): 42 Parse a YAML stream and produce parsing events. 44 loader = Loader(stream) 51 def compose(stream, Loader=Loader): 53 Parse the first YAML document in a stream 56 loader = Loader(stream) 62 def compose_all(stream, Loade [all...] |