/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_peeloff.c | 78 uint32_t stream; in main() local 150 stream = 1; in main() 152 sinfo->sinfo_stream = stream; in main() 196 MSG_EOR, stream, ppid); in main() 237 MSG_EOR, stream, ppid); in main() 258 MSG_EOR, stream, ppid); in main() 277 MSG_EOR, stream, ppid); in main()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | lib.c | 65 static const char *show_include_chain(int stream, const char *base) in show_include_chain() argument 70 while ((stream = stream_prev(stream)) >= 0) { in show_include_chain() 71 const char *p = stream_name(stream); in show_include_chain() 114 const char *name = stream_name(pos.stream); in show_stream_name() 125 show_include_chain(pos.stream, base_filename)); in show_stream_name() 299 int builtin = token && !token->pos.stream; in sparse_tokenstream() 301 // Preprocess the stream in sparse_tokenstream() 352 // Tokenize the input stream in sparse_file() 372 // Prepend any "include" file to the stream in sparse_initial() [all...] |
/third_party/skia/experimental/ffmpeg/ |
H A D | SkVideoEncoder.cpp | 86 SkRandomAccessWStream* stream = (SkRandomAccessWStream*)ctx; in sk_write_packet() local 87 stream->write(buffer, size); in sk_write_packet() 92 SkRandomAccessWStream* stream = (SkRandomAccessWStream*)ctx; in sk_seek_packet() local 97 pos = (int64_t)stream->pos() + pos; in sk_seek_packet() 100 pos = (int64_t)stream->size() + pos; in sk_seek_packet() 105 if (pos < 0 || pos > (int64_t)stream->size()) { in sk_seek_packet() 108 stream->seek(SkToSizeT(pos)); in sk_seek_packet() 188 /* Some formats want stream headers to be separate. */ in init()
|
/third_party/rust/crates/syn/src/ |
H A D | buffer.rs | 37 fn recursive_new(entries: &mut Vec<Entry>, stream: TokenStream) { in recursive_new() 38 for tt in stream { in recursive_new() 46 Self::recursive_new(entries, group.stream()); in recursive_new() 60 pub fn new(stream: proc_macro::TokenStream) -> Self { in new() 61 Self::new2(stream.into()) in new() 66 pub fn new2(stream: TokenStream) -> Self { in new2() 68 Self::recursive_new(&mut entries, stream); in new2() 293 /// Returns `None` if the cursor has reached the end of its stream.
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttobjs.c | 252 tt_synth_sfnt_checksum( FT_Stream stream, in tt_synth_sfnt_checksum() argument 291 face->root.stream, in tt_get_sfnt_checksum() 295 return (FT_ULong)tt_synth_sfnt_checksum( face->root.stream, in tt_get_sfnt_checksum() 634 * stream :: 635 * The source font stream. 657 tt_face_init( FT_Stream stream, in FT_LOCAL_DEF() 681 /* create input stream from resource */ in FT_LOCAL_DEF() 687 error = sfnt->init_face( stream, face, face_index, num_params, params ); in FT_LOCAL_DEF() 690 stream = face->root.stream; in FT_LOCAL_DEF() 826 FT_Stream stream; tt_face_done() local [all...] |
/third_party/skia/third_party/externals/freetype/builds/mac/ |
H A D | ftmac.c | 35 - Check whether the offered stream points to a Mac suitcase file. This 37 stream that gets passed to our init_face() routine is a stdio stream, 39 resource fork. So we just grab the stream->pathname field. 46 it into a memory stream, load the Type 1 driver and delegate the rest 54 wrap it into a memory stream, load the TrueType driver and delegate 440 #define STREAM_FILE( stream ) ( (FT_FILE*)stream->descriptor.pointer ) 444 ft_FSp_stream_close( FT_Stream stream ) in ft_FSp_stream_close() 446 ft_fclose( STREAM_FILE( stream ) ); in ft_FSp_stream_close() 455 ft_FSp_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) ft_FSp_stream_io() argument 1146 FT_Stream stream; FT_New_Face_From_SFNT() local [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglCreateContextExtTests.cpp | 92 std::ostringstream stream; in eglContextFlagsToString() local 95 stream << "<None>"; in eglContextFlagsToString() 103 stream << "|"; in eglContextFlagsToString() 107 stream << "EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR"; in eglContextFlagsToString() 113 stream << "|"; in eglContextFlagsToString() 117 stream << "EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR"; in eglContextFlagsToString() 123 stream << "|"; in eglContextFlagsToString() 125 stream << "EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR"; in eglContextFlagsToString() 129 return stream.str(); in eglContextFlagsToString() 134 std::ostringstream stream; in eglProfileMaskToString() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | concatdec.c | 272 "Match slave stream #%d with stream #%d id 0x%x\n", in match_streams_exact_id() 450 [DIR_STREAM ] = { "stream", "", 0 }, 465 AVStream *stream = NULL; in concat_parse_script() local 501 av_log(avf, AV_LOG_ERROR, "Line %d: %s without stream\n", line, keyword); in concat_parse_script() 593 stream = avformat_new_stream(avf, NULL); in concat_parse_script() 594 if (!stream) in concat_parse_script() 599 stream->id = arg_int[0]; in concat_parse_script() 602 ret = av_dict_set(&stream->metadata, arg_kw[0], arg_str[1], AV_DICT_DONT_STRDUP_VAL); in concat_parse_script() 614 stream in concat_parse_script() 822 try_seek(AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) try_seek() argument 840 real_seek(AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags, AVFormatContext *cur_avf) real_seek() argument 890 concat_seek(AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) concat_seek() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | jpeg_exif_metadata_accessor_test.cpp | 77 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT1_JPEG_PATH); in HWTEST_F() local 78 ASSERT_TRUE(stream->Open(OpenMode::ReadWrite)); in HWTEST_F() 79 JpegExifMetadataAccessor imageAccessor(stream); in HWTEST_F() 127 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT1_JPEG_PATH); in HWTEST_F() local 128 ASSERT_TRUE(stream->Open(OpenMode::ReadWrite)); in HWTEST_F() 129 JpegExifMetadataAccessor imageAccessor(stream); in HWTEST_F() 174 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT1_JPEG_PATH); in HWTEST_F() local 175 ASSERT_TRUE(stream->Open(OpenMode::ReadWrite)); in HWTEST_F() 176 JpegExifMetadataAccessor imageAccessor(stream); in HWTEST_F() 229 std::shared_ptr<MetadataStream> stream in HWTEST_F() local 284 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT2_JPEG_PATH); HWTEST_F() local 334 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT3_JPEG_PATH); HWTEST_F() local 390 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT2_JPEG_PATH); HWTEST_F() local 424 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_ERROR1_JPEG_PATH); HWTEST_F() local 438 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_ERROR2_JPEG_PATH); HWTEST_F() local 452 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT1_JPEG_PATH); HWTEST_F() local 467 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(IMAGE_INPUT_WRITE1_JPEG_PATH); HWTEST_F() local [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_allocator.c | 95 * The state stream allocator works similar to how the i965 DRI driver streams 1207 /* The state stream allocator is a one-shot, single threaded allocator for 1211 anv_state_stream_init(struct anv_state_stream *stream, in anv_state_stream_init() argument 1215 stream->state_pool = state_pool; in anv_state_stream_init() 1216 stream->block_size = block_size; in anv_state_stream_init() 1218 stream->block = ANV_STATE_NULL; in anv_state_stream_init() 1223 stream->next = block_size; in anv_state_stream_init() 1225 util_dynarray_init(&stream->all_blocks, NULL); in anv_state_stream_init() 1227 VG(VALGRIND_CREATE_MEMPOOL(stream, 0, false)); in anv_state_stream_init() 1231 anv_state_stream_finish(struct anv_state_stream *stream) in anv_state_stream_finish() argument 1244 anv_state_stream_alloc(struct anv_state_stream *stream, uint32_t size, uint32_t alignment) anv_state_stream_alloc() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationEGL.cpp | 135 val->setError(EGL_BAD_ATTRIBUTE, "Invalid stream attribute"); in ValidateStreamAttribute() 965 bool ValidateStream(const ValidationContext *val, const Display *display, const Stream *stream) in ValidateStream() argument 970 if (!displayExtensions.stream) in ValidateStream() 976 if (stream == EGL_NO_STREAM_KHR || !display->isValidStream(stream)) in ValidateStream() 978 val->setError(EGL_BAD_STREAM_KHR, "Invalid stream"); in ValidateStream() 1029 Stream *stream = static_cast<Stream *>(object); in ValidateLabeledObject() local 1030 ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); in ValidateLabeledObject() 1031 *outLabeledObject = stream; in ValidateLabeledObject() 2188 const Stream *GetStreamIfValid(const Display *display, const Stream *stream) in GetStreamIfValid() argument 3994 ValidateDestroyStreamKHR(const ValidationContext *val, const Display *display, const Stream *stream) ValidateDestroyStreamKHR() argument 4002 ValidateStreamAttribKHR(const ValidationContext *val, const Display *display, const Stream *stream, EGLenum attribute, EGLint value) ValidateStreamAttribKHR() argument 4019 ValidateQueryStreamKHR(const ValidationContext *val, const Display *display, const Stream *stream, EGLenum attribute, const EGLint *value) ValidateQueryStreamKHR() argument 4047 ValidateQueryStreamu64KHR(const ValidationContext *val, const Display *display, const Stream *stream, EGLenum attribute, const EGLuint64KHR *value) ValidateQueryStreamu64KHR() argument 4068 ValidateStreamConsumerGLTextureExternalKHR(const ValidationContext *val, const Display *display, const Stream *stream) ValidateStreamConsumerGLTextureExternalKHR() argument 4111 ValidateStreamConsumerAcquireKHR(const ValidationContext *val, const Display *display, const Stream *stream) ValidateStreamConsumerAcquireKHR() argument 4165 ValidateStreamConsumerReleaseKHR(const ValidationContext *val, const Display *display, const Stream *stream) ValidateStreamConsumerReleaseKHR() argument 4216 ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *val, const Display *display, const Stream *stream, const AttributeMap &attribs) ValidateStreamConsumerGLTextureExternalAttribsNV() argument 4390 ValidateCreateStreamProducerD3DTextureANGLE(const ValidationContext *val, const Display *display, const Stream *stream, const AttributeMap &attribs) ValidateCreateStreamProducerD3DTextureANGLE() argument 4446 ValidateStreamPostD3DTextureANGLE(const ValidationContext *val, const Display *display, const Stream *stream, const void *texture, const AttributeMap &attribs) ValidateStreamPostD3DTextureANGLE() argument [all...] |
/base/startup/init/services/param/linux/ |
H A D | param_service.c | 103 PARAM_CHECK(extData != NULL && extData->stream != NULL, return -1, "Invalid extData");
in SendWatcherNotifyMessage() 135 ParamTaskSendMsg(extData->stream, msg);
in SendWatcherNotifyMessage() 187 if (extInfo != NULL && extInfo->stream != NULL) {
in AddWatchNode() 188 watcher = (ParamWatcher *)ParamGetTaskUserData(extInfo->stream);
in AddWatchNode() 195 node->stream = extInfo->stream;
in AddWatchNode() 220 extData.stream = node->stream;
in ExecuteWatchTrigger_() 225 extData.stream = g_paramService.watcherTask;
in ExecuteWatchTrigger_() 255 extData.stream in HandleParamWaitAdd() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | m3u8.cpp | 439 auto stream = std::make_shared<M3U8VariantStream>(uri_, uri_, m3u8); in UpdateMediaPlaylist() local 440 variants_.emplace_back(stream); in UpdateMediaPlaylist() 441 defaultVariant_ = stream; in UpdateMediaPlaylist() 493 auto stream = std::make_shared<M3U8VariantStream>(name, uri, std::make_shared<M3U8>(uri, name)); in UpdateMasterPlaylist() 494 FALSE_RETURN_MSG(stream != nullptr, "UpdateMasterPlaylist memory not enough"); in UpdateMasterPlaylist() 496 stream->iframe_ = true; in UpdateMasterPlaylist() 500 stream->bandWidth_ = bandWidthAttribute->Decimal(); in UpdateMasterPlaylist() 504 stream->width_ = resolutionAttribute->GetResolution().first; in UpdateMasterPlaylist() 505 stream->height_ = resolutionAttribute->GetResolution().second; in UpdateMasterPlaylist() 507 variants_.emplace_back(stream); in UpdateMasterPlaylist() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | fmtable.cpp | 832 static void streamOut(ostream& stream, const Formattable& obj); 839 // form of the Formattable object to the output stream. 842 FormattableStreamer::streamOut(ostream& stream, const Formattable& obj) in streamOut() argument 855 stream << buffer; in streamOut() 859 stream << obj.getDouble() << 'D'; in streamOut() 863 stream << obj.getLong() << 'L'; in streamOut() 868 stream << '"' << obj.getString(buffer) << '"'; in streamOut() 874 stream << '['; in streamOut() 877 FormattableStreamer::streamOut(stream, array[i]); in streamOut() 878 stream << ( ( in streamOut() [all...] |
/third_party/node/lib/internal/console/ |
H A D | constructor.js | 282 const stream = useStdout ? this._stdout : this._stderr; 294 if (ignoreErrors === false) return stream.write(string); 302 if (stream.listenerCount('error') === 0) 303 stream.once('error', noop); 305 stream.write(string, errorHandler); 313 stream.removeListener('error', noop); 320 value: function(stream) { 323 color = lazyUtilColors().shouldColorize(stream); 357 // Make a function that can serve as the callback passed to `stream.write()`. 363 const stream [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | fmtable.cpp | 832 static void streamOut(ostream& stream, const Formattable& obj); 839 // form of the Formattable object to the output stream. 842 FormattableStreamer::streamOut(ostream& stream, const Formattable& obj) in streamOut() argument 855 stream << buffer; in streamOut() 859 stream << obj.getDouble() << 'D'; in streamOut() 863 stream << obj.getLong() << 'L'; in streamOut() 868 stream << '"' << obj.getString(buffer) << '"'; in streamOut() 874 stream << '['; in streamOut() 877 FormattableStreamer::streamOut(stream, array[i]); in streamOut() 878 stream << ( ( in streamOut() [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | CsvTable.java | 60 import java.util.stream.Stream; 199 table.columnKeySet().stream().filter(predicate.negate()).collect(toImmutableSet()); in filterColumns() 222 ImmutableSet<Column<?>> columns = table.columnKeySet().stream() in from() 362 getSchema().keyMarshaller().getColumns().stream(), in getCsvHeader() 363 getColumns().stream().map(Column::getName)); in getCsvHeader() 373 getColumns().stream().map(c -> c.serialize(getOrNull(key, c)))); in getCsvRow() 414 Stream.concat(getSchema().columns().getColumns().stream(), getColumns().stream()) in exportCsvWithEmptyColumnsPresent() 428 getSchema().keyMarshaller().getColumns().stream(), in exportCsvHelper() 429 columnsToExport.stream() in exportCsvHelper() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | fmtable.cpp | 832 static void streamOut(ostream& stream, const Formattable& obj); 839 // form of the Formattable object to the output stream. 842 FormattableStreamer::streamOut(ostream& stream, const Formattable& obj) in streamOut() argument 855 stream << buffer; in streamOut() 859 stream << obj.getDouble() << 'D'; in streamOut() 863 stream << obj.getLong() << 'L'; in streamOut() 868 stream << '"' << obj.getString(buffer) << '"'; in streamOut() 874 stream << '['; in streamOut() 877 FormattableStreamer::streamOut(stream, array[i]); in streamOut() 878 stream << ( ( in streamOut() [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_android.cpp | 188 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android() local 189 if (!stream) { in SkFontStyleSet_Android() 200 if (!scanner.scanFont(stream.get(), ttcIndex, in SkFontStyleSet_Android() 439 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); variable 440 return stream ? this->makeFromStream(std::move(stream), ttcIndex) : nullptr; 443 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, 448 if (!fScanner.scanFont(stream.get(), ttcIndex, &name, &style, &isFixedPitch, nullptr)) { 451 auto data = std::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); 456 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/ |
H A D | heif_decoder_wrapper.cpp | 23 std::unique_ptr<HeifDecoderInterface> HeifDecoderWrapper::CreateHeifDecoderInterface(InputDataStream &stream) in CreateHeifDecoderInterface() argument 26 return Media::HeifDecoderAdapter::MakeFromStream(stream); in CreateHeifDecoderInterface()
|
/third_party/node/test/fixtures/wpt/encoding/streams/resources/ |
H A D | readable-stream-to-array.js | 3 function readableStreamToArray(stream) { 10 return stream.pipeTo(writable).then(() => array);
|
/third_party/bounds_checking_function/src/ |
H A D | fscanf_s.c | 21 * The fscanf function reads data from the current position of stream into 28 * stream Pointer to FILE structure. 41 int fscanf_s(FILE *stream, const char *format, ...) in fscanf_s() argument 47 ret = vfscanf_s(stream, format, argList); in fscanf_s()
|
H A D | fwscanf_s.c | 20 * The fwscanf_s function reads data from the current position of stream into 27 * stream Pointer to FILE structure. 40 int fwscanf_s(FILE *stream, const wchar_t *format, ...) in fwscanf_s() argument 46 ret = vfwscanf_s(stream, format, argList); in fwscanf_s()
|
/third_party/vk-gl-cts/framework/delibs/destream/ |
H A D | deThreadStream.h | 34 void deThreadInStream_init (deInStream* stream, deInStream* input, int ringbufferBlockSize, int ringbufferBlockCount); 35 void deThreadOutStream_init (deOutStream* stream, deOutStream* output, int ringbufferBlockSize, int ringbufferBlockCount);
|
/third_party/skia/third_party/externals/brotli/research/ |
H A D | brotlidump.py | 63 """Read n bits from the stream and return as an integer. 64 Produces zero bits beyond the stream. 76 raise ValueError('Read past end of stream') 80 """Peek an n bit integer from the stream without updating the pointer. 81 It is not an error to read beyond the end of the stream. 98 """Read n bytes from the stream on a byte boundary. 129 """Value of the symbol in the stream 334 """An alphabet of symbols, that can be read from a stream. 435 def readTuple(self, stream): 436 """Read symbol from stream [all...] |