Home
last modified time | relevance | path

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

1234

/external/ImageMagick/coders/
Dcin.c389 cin; in ReadCINImage() local
450 memset(&cin,0,sizeof(cin)); in ReadCINImage()
453 cin.file.image_offset=ReadBlobLong(image); in ReadCINImage()
455 cin.file.generic_length=ReadBlobLong(image); in ReadCINImage()
457 cin.file.industry_length=ReadBlobLong(image); in ReadCINImage()
459 cin.file.user_length=ReadBlobLong(image); in ReadCINImage()
461 cin.file.file_size=ReadBlobLong(image); in ReadCINImage()
463 offset+=ReadBlob(image,sizeof(cin.file.version),(unsigned char *) in ReadCINImage()
464 cin.file.version); in ReadCINImage()
465 (void) CopyMagickString(property,cin.file.version,sizeof(cin.file.version)); in ReadCINImage()
[all …]
/external/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 …]
/external/protobuf/csharp/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 …]
/external/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()
/external/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()
/external/perfetto/tools/
Dprofiling_sample_distribution.cc94 while (std::cin) { in ProfilingSampleDistributionMain()
97 std::cin >> callsite; in ProfilingSampleDistributionMain()
98 if (std::cin.fail()) { in ProfilingSampleDistributionMain()
100 if (std::cin.eof()) in ProfilingSampleDistributionMain()
104 std::cin >> size; in ProfilingSampleDistributionMain()
105 if (std::cin.fail()) in ProfilingSampleDistributionMain()
/external/u-boot/arch/arm/mach-socfpga/
Dmailbox_s10.c25 #define MBOX_WRITE_CMD_BUF(data, cin) \ argument
26 MBOX_WRITEL(data, MBOX_CMD_BUF + ((cin) * sizeof(u32)))
50 u32 cin; in mbox_fill_cmd_circular_buff() local
54 cin = MBOX_READL(MBOX_CIN) % MBOX_CMD_BUFFER_SIZE; in mbox_fill_cmd_circular_buff()
60 if (((cin + 1) % MBOX_CMD_BUFFER_SIZE) == cout || in mbox_fill_cmd_circular_buff()
61 ((MBOX_CMD_BUFFER_SIZE - cin + cout - 1) % in mbox_fill_cmd_circular_buff()
66 MBOX_WRITE_CMD_BUF(header, cin++); in mbox_fill_cmd_circular_buff()
68 cin %= MBOX_CMD_BUFFER_SIZE; in mbox_fill_cmd_circular_buff()
72 MBOX_WRITE_CMD_BUF(arg[i], cin++); in mbox_fill_cmd_circular_buff()
74 cin %= MBOX_CMD_BUFFER_SIZE; in mbox_fill_cmd_circular_buff()
[all …]
/external/skqp/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()
/external/skia/src/pdf/
DSkPDFTypes.cpp119 static void write_string(SkWStream* wStream, const char* cin, size_t len) { in write_string() argument
125 if (cin[i] > '~' || cin[i] < ' ') { in write_string()
127 } else if (cin[i] == '\\' || cin[i] == '(' || cin[i] == ')') { in write_string()
134 if (cin[i] > '~' || cin[i] < ' ') { in write_string()
135 uint8_t c = static_cast<uint8_t>(cin[i]); in write_string()
142 if (cin[i] == '\\' || cin[i] == '(' || cin[i] == ')') { in write_string()
145 wStream->write(&cin[i], 1); in write_string()
152 uint8_t c = static_cast<uint8_t>(cin[i]); in write_string()
161 void SkPDFWriteString(SkWStream* wStream, const char* cin, size_t len) { in SkPDFWriteString() argument
162 write_string(wStream, cin, len); in SkPDFWriteString()
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool_test.cc441 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
443 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
456 std::cin.rdbuf(orig); in TEST_F()
469 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
471 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
482 std::cin.rdbuf(orig); in TEST_F()
496 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
498 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
507 std::cin.rdbuf(orig); in TEST_F()
521 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
[all …]
/external/libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/
Dcin.pass.cpp25 std::cin >> i; in main()
29 assert(std::cin.tie() == NULL); in main()
31 assert(std::cin.tie() == &std::cout); in main()
/external/google-breakpad/src/third_party/libdisasm/
Dia32_invariant.c78 unsigned char *c, *cin; local
87 cin = &in[1];
97 byte_decode(*cin, (struct modRM_byte *)(void*)&sib);
100 cin = &in[2];
122 *c = *cin;
125 *s = (* ((unsigned short *) cin));
128 *i = (*((unsigned int *) cin));
/external/libprotobuf-mutator/examples/xml/
Dxml_converter.cc82 std::istream* cin = &std::cin; in main() local
88 cin = &in_file_stream; in main()
99 while (auto size = cin->readsome(buff.data(), buff.size())) { in main()
/external/gptfdisk/
Dsupport.cc62 getline(cin, inString); in ReadString()
63 if (!cin.good()) in ReadString()
81 cin.getline(line, 255); in GetNumber()
82 if (!cin.good()) in GetNumber()
130 cin.getline(line, 255); in GetSectorNum()
131 if (!cin.good()) in GetSectorNum()
/external/deqp-deps/glslang/Test/
Dspv.unit2.frag10 in float cin;
14 float h2 = 2 * f + cin;
/external/angle/third_party/glslang/src/Test/
Dspv.unit2.frag10 in float cin;
14 float h2 = 2 * f + cin;
/external/angle/third_party/glslang/src/Test/baseResults/
Dspv.unit1.frag.out45 0:14 'cin' ( smooth in highp float)
63 0:? 'cin' ( smooth in highp float)
103 0:? 'cin' ( smooth in highp float)
143 0:14 'cin' ( smooth in highp float)
192 0:? 'cin' ( smooth in highp float)
213 Name 37 "cin"
237 37(cin): 28(ptr) Variable Input
266 38: 6(float) Load 37(cin)
/external/deqp-deps/glslang/Test/baseResults/
Dspv.unit1.frag.out45 0:14 'cin' ( smooth in highp float)
63 0:? 'cin' ( smooth in highp float)
103 0:? 'cin' ( smooth in highp float)
143 0:14 'cin' ( smooth in highp float)
192 0:? 'cin' ( smooth in highp float)
213 Name 37 "cin"
237 37(cin): 28(ptr) Variable Input
266 38: 6(float) Load 37(cin)
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DGZipTestCase.java108 CompressorInputStream cin = null; in testCorruptedInput() local
118 cin = new CompressorStreamFactory() in testCorruptedInput()
123 IOUtils.copy(cin, out); in testCorruptedInput()
133 if (cin != null) { in testCorruptedInput()
134 cin.close(); in testCorruptedInput()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-undname/
Dllvm-undname.cpp52 std::getline(std::cin, LineStr); in main()
53 if (std::cin.eof()) in main()
/external/clang/test/SemaCXX/
Dwarn-unused-comparison.cpp114 } cout, cin; variable
121 cout < cin; // expected-warning {{relational comparison result unused}} in test()
/external/libcxxabi/test/
Dtest_demangle.pass.cpp29962 while (std::cin) in main()
29964 std::getline(std::cin, input); in main()
29965 if (std::cin.fail()) in main()
/external/icu/icu4c/source/data/lang/
Dfur.txt190 zh{"cinês"}
191 zh_Hans{"cinês semplificât"}
192 zh_Hant{"cinês tradizionâl"}
262 chinese{"calendari cinês"}
272 big5han{"ordin cinês tradizionâl - Big5"}
274 gb2312han{"ordin cinês semplificât - GB2312"}
/external/libcxx/include/
Diostream24 extern istream cin;
50 extern _LIBCPP_FUNC_VIS istream cin;
/external/llvm/examples/BrainF/
DBrainFDriver.cpp131 std::istream *in = &std::cin; in main()
143 if (in != &std::cin) in main()

1234