Home
last modified time | relevance | path

Searched refs:cin (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/third_party/ffmpeg/libavcodec/
Ddsicinvideo.c45 static av_cold void destroy_buffers(CinVideoContext *cin) in destroy_buffers() argument
50 av_freep(&cin->bitmap_table[i]); in destroy_buffers()
53 static av_cold int allocate_buffers(CinVideoContext *cin) in allocate_buffers() argument
58 cin->bitmap_table[i] = av_mallocz(cin->bitmap_size); in allocate_buffers()
59 if (!cin->bitmap_table[i]) { in allocate_buffers()
60 av_log(cin->avctx, AV_LOG_ERROR, "Can't allocate bitmap buffers.\n"); in allocate_buffers()
70 CinVideoContext *cin = avctx->priv_data; in cinvideo_decode_init() local
72 cin->avctx = avctx; in cinvideo_decode_init()
75 cin->frame = av_frame_alloc(); in cinvideo_decode_init()
76 if (!cin->frame) in cinvideo_decode_init()
[all …]
Ddsicinaudio.c78 CinAudioContext *cin = avctx->priv_data; in cinaudio_decode_init() local
80 cin->initial_decode_frame = 1; in cinaudio_decode_init()
81 cin->delta = 0; in cinaudio_decode_init()
94 CinAudioContext *cin = avctx->priv_data; in cinaudio_decode_frame() local
100 frame->nb_samples = avpkt->size - cin->initial_decode_frame; in cinaudio_decode_frame()
105 delta = cin->delta; in cinaudio_decode_frame()
106 if (cin->initial_decode_frame) { in cinaudio_decode_frame()
107 cin->initial_decode_frame = 0; in cinaudio_decode_frame()
117 cin->delta = delta; in cinaudio_decode_frame()
/third_party/ffmpeg/libavformat/
Ddsicin.c76 static int cin_read_file_header(CinDemuxContext *cin, AVIOContext *pb) { in cin_read_file_header() argument
77 CinFileHeader *hdr = &cin->file_header; in cin_read_file_header()
99 CinDemuxContext *cin = s->priv_data; in cin_read_header() local
100 CinFileHeader *hdr = &cin->file_header; in cin_read_header()
104 rc = cin_read_file_header(cin, pb); in cin_read_header()
108 cin->video_stream_pts = 0; in cin_read_header()
109 cin->audio_stream_pts = 0; in cin_read_header()
110 cin->audio_buffer_size = 0; in cin_read_header()
118 cin->video_stream_index = st->index; in cin_read_header()
131 cin->audio_stream_index = st->index; in cin_read_header()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs337 … CodedInputStream cin = new CodedInputStream(new MemoryStream(bytes), new byte[50], 0, 0, false); in TestCodedInputOutputPosition()
338 Assert.AreEqual(0, cin.Position); in TestCodedInputOutputPosition()
340 uint tag = cin.ReadTag(); in TestCodedInputOutputPosition()
342 Assert.AreEqual(1, cin.Position); in TestCodedInputOutputPosition()
343 Assert.AreEqual(500, cin.ReadInt32()); in TestCodedInputOutputPosition()
344 Assert.AreEqual(3, cin.Position); in TestCodedInputOutputPosition()
346 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
348 Assert.AreEqual(4, cin.Position); in TestCodedInputOutputPosition()
349 int childlen = cin.ReadLength(); in TestCodedInputOutputPosition()
351 Assert.AreEqual(5, cin.Position); in TestCodedInputOutputPosition()
[all …]
/third_party/boost/libs/nowide/test/
Dtest_iostream.cpp38 if(boost::nowide::cin.rdbuf() == std::cin.rdbuf()) in test_main()
45 TEST(boost::nowide::cin.putback(c)); in test_main()
47 TEST(boost::nowide::cin.get() == ci); in test_main()
55 TEST(boost::nowide::cin.putback(c)); in test_main()
60 TEST(boost::nowide::cin.get() == c); in test_main()
81 boost::nowide::cin >> v1 >> v2; in test_main()
82 TEST(boost::nowide::cin); in test_main()
92 TEST(boost::nowide::cin >> v1); in test_main()
93 boost::nowide::cin.sync(); in test_main()
97 TEST(std::getline(boost::nowide::cin, v1)); in test_main()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs431 … CodedInputStream cin = new CodedInputStream(new MemoryStream(bytes), new byte[50], 0, 0, false); in TestCodedInputOutputPosition()
432 Assert.AreEqual(0, cin.Position); in TestCodedInputOutputPosition()
434 uint tag = cin.ReadTag(); in TestCodedInputOutputPosition()
436 Assert.AreEqual(1, cin.Position); in TestCodedInputOutputPosition()
437 Assert.AreEqual(500, cin.ReadInt32()); in TestCodedInputOutputPosition()
438 Assert.AreEqual(3, cin.Position); in TestCodedInputOutputPosition()
440 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
442 Assert.AreEqual(4, cin.Position); in TestCodedInputOutputPosition()
443 int childlen = cin.ReadLength(); in TestCodedInputOutputPosition()
445 Assert.AreEqual(5, cin.Position); in TestCodedInputOutputPosition()
[all …]
/third_party/toybox/toys/pending/
Dmore.c45 static int prompt(FILE *cin, const char* fmt, ...) in prompt() argument
58 input_key = tolower(getc(cin)); in prompt()
94 FILE *fp, *cin; in more_main() local
96 if (!isatty(1) || !(cin = fopen("/dev/tty", "r"))) { in more_main()
101 TT.cin_fd = fileno(cin); in more_main()
137 input_key = prompt(cin, "--More--(%d%% of %lld bytes)", in more_main()
141 input_key = prompt(cin, "--More--"); in more_main()
162 input_key = prompt(cin, "--More--(Next file: %s)", *toys.optargs); in more_main()
169 fclose(cin); in more_main()
/third_party/protobuf/examples/
Dadd_person.cc19 cin >> id; in PromptForAddress()
21 cin.ignore(256, '\n'); in PromptForAddress()
24 getline(cin, *person->mutable_name()); in PromptForAddress()
28 getline(cin, email); in PromptForAddress()
36 getline(cin, number); in PromptForAddress()
46 getline(cin, type); in PromptForAddress()
/third_party/grpc/test/cpp/util/
Dgrpc_tool_test.cc530 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
532 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
550 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
577 std::cin.rdbuf(orig); in TEST_F()
590 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
593 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
612 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
640 std::cin.rdbuf(orig); in TEST_F()
653 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
655 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
[all …]
/third_party/boost/libs/math/tools/
Dinv_hyp_data.cpp65 std::getline(std::cin, line); in main()
71 std::getline(std::cin, line); in main()
89 std::getline(std::cin, line); in main()
95 std::getline(std::cin, line); in main()
114 std::getline(std::cin, line); in main()
120 std::getline(std::cin, line); in main()
Dhyp_0f2_data.cpp67 std::cin >> range; in main()
71 std::cin >> z_range; in main()
75 std::cin >> num_spots; in main()
95 std::cin >> cont; in main()
102 std::getline(std::cin, line); in main()
Dhyp_1f2_data.cpp68 std::cin >> range; in main()
72 std::cin >> z_range; in main()
76 std::cin >> num_spots; in main()
98 std::cin >> cont; in main()
105 std::getline(std::cin, line); in main()
Dhyp_2f2_data.cpp71 std::cin >> range; in main()
75 std::cin >> z_range; in main()
79 std::cin >> num_spots; in main()
103 std::cin >> cont; in main()
110 std::getline(std::cin, line); in main()
Derf_data.cpp155 std::cin >> points; in main()
166 std::cin >> max_val; in main()
169 std::cin >> points; in main()
187 std::getline(std::cin, line); in main()
194 std::getline(std::cin, line); in main()
Digamma_temme_large_coef.cpp151 cin >> code; in calculate_terms()
188 cin >> sigma; in main()
191 cin >> a; in main()
194 cin >> precision; in main()
199 cin >> cont; in main()
/third_party/skia/src/pdf/
DSkPDFTypes.cpp122 static void write_string(SkWStream* wStream, const char* cin, size_t len) { in write_string() argument
128 if (cin[i] > '~' || cin[i] < ' ') { in write_string()
130 } else if (cin[i] == '\\' || cin[i] == '(' || cin[i] == ')') { in write_string()
137 if (cin[i] > '~' || cin[i] < ' ') { in write_string()
138 uint8_t c = static_cast<uint8_t>(cin[i]); in write_string()
145 if (cin[i] == '\\' || cin[i] == '(' || cin[i] == ')') { in write_string()
148 wStream->write(&cin[i], 1); in write_string()
155 uint8_t c = static_cast<uint8_t>(cin[i]); in write_string()
164 void SkPDFWriteString(SkWStream* wStream, const char* cin, size_t len) { in SkPDFWriteString() argument
165 write_string(wStream, cin, len); in SkPDFWriteString()
/third_party/flutter/skia/src/pdf/
DSkPDFTypes.cpp120 static void write_string(SkWStream* wStream, const char* cin, size_t len) { in write_string() argument
126 if (cin[i] > '~' || cin[i] < ' ') { in write_string()
128 } else if (cin[i] == '\\' || cin[i] == '(' || cin[i] == ')') { in write_string()
135 if (cin[i] > '~' || cin[i] < ' ') { in write_string()
136 uint8_t c = static_cast<uint8_t>(cin[i]); in write_string()
143 if (cin[i] == '\\' || cin[i] == '(' || cin[i] == ')') { in write_string()
146 wStream->write(&cin[i], 1); in write_string()
153 uint8_t c = static_cast<uint8_t>(cin[i]); in write_string()
162 void SkPDFWriteString(SkWStream* wStream, const char* cin, size_t len) { in SkPDFWriteString() argument
163 write_string(wStream, cin, len); in SkPDFWriteString()
/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c550 ADDR2_COMPUTE_CMASK_INFO_INPUT cin = {sizeof(cin)}; in one_cmask_address_test() local
556 cin.resourceType = xin.resourceType = in.resourceType = ADDR_RSRC_TEX_2D; in one_cmask_address_test()
557 cin.swizzleMode = xin.swizzleMode = in.swizzleMode = swizzle_mode; in one_cmask_address_test()
558 cin.unalignedWidth = in.unalignedWidth = width; in one_cmask_address_test()
559 cin.unalignedHeight = in.unalignedHeight = height; in one_cmask_address_test()
560 cin.numSlices = in.numSlices = depth; in one_cmask_address_test()
561 cin.numMipLevels = 1; in one_cmask_address_test()
562 cin.firstMipIdInTail = 1; in one_cmask_address_test()
563 cin.cMaskFlags.pipeAligned = pipe_aligned; in one_cmask_address_test()
564 cin.cMaskFlags.rbAligned = rb_aligned; in one_cmask_address_test()
[all …]
/third_party/boost/libs/flyweight/example/
Dserialization.cpp48 std::getline(std::cin,in); in save_serialization_file()
71 std::getline(std::cin,out); in save_serialization_file()
87 std::getline(std::cin,in); in load_serialization_file()
99 std::getline(std::cin,out); in load_serialization_file()
118 std::getline(std::cin,str); in main()
/third_party/boost/libs/units/example/
Druntime_unit.cpp45 while((std::cout << "> ") && (std::cin >> input)) in main()
49 std::getline(std::cin, input); in main()
64 if(std::cin >> input) in main()
88 if(std::cin >> input) in main()
/third_party/boost/libs/math/include_private/boost/math/tools/
Dtest_data.hpp609 std::getline(std::cin, line); in get_user_parameter_info()
637 std::getline(std::cin, line); in get_user_parameter_info()
655 std::getline(std::cin, line); in get_user_parameter_info()
672 std::getline(std::cin, line); in get_user_parameter_info()
685 std::getline(std::cin, line); in get_user_parameter_info()
703 std::getline(std::cin, line); in get_user_parameter_info()
718 std::getline(std::cin, line); in get_user_parameter_info()
732 std::getline(std::cin, line); in get_user_parameter_info()
743 std::getline(std::cin, line); in get_user_parameter_info()
758 std::getline(std::cin, line); in get_user_parameter_info()
[all …]
/third_party/boost/libs/uuid/test/
Ddigestutils.hpp31 const unsigned char * cin = reinterpret_cast<const unsigned char *>(&in[chunk]); in copy_raw_digest() local
35 *out++ = *(cin + (3-byte)); in copy_raw_digest()
37 *out++ = *(cin + byte); in copy_raw_digest()
/third_party/boost/libs/icl/example/itvset_shell_/
Ditvset_shell.cpp56 cin >> cmd ; in setTestShell()
66 cin >> lwb >> upb; in setTestShell()
80 cin >> lwb >> upb; in setTestShell()
/third_party/boost/libs/icl/example/splititvmap_shell_/
Dsplititvmap_shell.cpp62 cin >> cmd ; in mapTestShell()
72 cin >> lwb >> upb >> val; in mapTestShell()
85 cin >> lwb >> upb >> val; in mapTestShell()
/third_party/boost/libs/nowide/doc/
Dchangelog.dox22 - boost::nowide::cin now ignores CR (\r) characters and treats CTRL+Z at the beginning of a line as…
23 - boost::nowide::cin supports sync by flushing the input and console buffer

12345678910>>...15