Home
last modified time | relevance | path

Searched refs:getline (Results 1 – 25 of 198) sorted by relevance

12345678

/external/libcxx/test/std/strings/basic.string/string.nonmembers/string.io/
Dget_line_delim.pass.cpp28 getline(in, s, '*'); in main()
31 getline(in, s, '*'); in main()
34 getline(in, s, '*'); in main()
37 getline(in, s, '*'); in main()
44 getline(in, s, L'*'); in main()
47 getline(in, s, L'*'); in main()
50 getline(in, s, L'*'); in main()
53 getline(in, s, L'*'); in main()
62 getline(in, s, '*'); in main()
65 getline(in, s, '*'); in main()
[all …]
Dget_line.pass.cpp28 getline(in, s); in main()
31 getline(in, s); in main()
34 getline(in, s); in main()
41 getline(in, s); in main()
44 getline(in, s); in main()
47 getline(in, s); in main()
56 getline(in, s); in main()
59 getline(in, s); in main()
62 getline(in, s); in main()
70 getline(in, s); in main()
[all …]
Dget_line_rv.pass.cpp28 getline(std::istringstream(" abc\n def\n ghij"), s); in main()
33 getline(std::wistringstream(L" abc\n def\n ghij"), s); in main()
40 getline(std::istringstream(" abc\n def\n ghij"), s); in main()
46 getline(std::wistringstream(L" abc\n def\n ghij"), s); in main()
Dget_line_delim_rv.pass.cpp28 getline(std::istringstream(" abc* def* ghij"), s, '*'); in main()
33 getline(std::wistringstream(L" abc* def* ghij"), s, L'*'); in main()
40 getline(std::istringstream(" abc* def* ghij"), s, '*'); in main()
46 getline(std::wistringstream(L" abc* def* ghij"), s, L'*'); in main()
/external/python/cpython2/Lib/test/
Dtest_linecache.py42 getline = linecache.getline
45 self.assertEqual(getline(FILENAME, 2**15), EMPTY)
46 self.assertEqual(getline(FILENAME, -1), EMPTY)
49 self.assertRaises(TypeError, getline, FILENAME, 1.1)
52 self.assertEqual(getline(EMPTY, 1), EMPTY)
53 self.assertEqual(getline(INVALID_NAME, 1), EMPTY)
59 self.assertEqual(line, getline(filename, index + 1))
65 self.assertEqual(line, getline(filename, index + 1))
83 linecache.getline(filename, 1)
95 getline = linecache.getline
[all …]
/external/bison/m4/
Dgetline.m41 # getline.m4 serial 26
12 dnl See if there's a working, system-supplied version of the getline function.
13 dnl We can't just do AC_REPLACE_FUNCS([getline]) because some systems
20 dnl Persuade glibc <stdio.h> to declare getline().
23 AC_CHECK_DECLS_ONCE([getline])
26 AC_CHECK_FUNC([getline],
31 AC_CACHE_CHECK([for working getline function], [am_cv_func_working_getline],
47 int len = getline (&line, &siz, in);
56 if (getline (&line, &siz, in) == -1)
85 dnl getline function among $LIBS, it may exist in libinet and the
[all …]
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dgetline_pointer_size_chart.pass.cpp47 is.getline(s, 5, '*'); in main()
52 is.getline(s, 5, '*'); in main()
57 is.getline(s, 5, '*'); in main()
67 is.getline(s, 5, L'*'); in main()
72 is.getline(s, 5, L'*'); in main()
77 is.getline(s, 5, L'*'); in main()
Dgetline_pointer_size.pass.cpp47 is.getline(s, 5); in main()
52 is.getline(s, 5); in main()
57 is.getline(s, 5); in main()
67 is.getline(s, 5); in main()
72 is.getline(s, 5); in main()
77 is.getline(s, 5); in main()
/external/protobuf/examples/
Dadd_person.cc18 getline(cin, *person->mutable_name()); in PromptForAddress()
22 getline(cin, email); in PromptForAddress()
30 getline(cin, number); in PromptForAddress()
40 getline(cin, type); in PromptForAddress()
/external/clang/test/Analysis/
Dtaint-tester.cpp8 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
14 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
24 while ((read = T.getline(&line, &len, stdin)) != -1) { in getlineTest()
Dtaint-tester.c157 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
165 while ((read = getline(&line, &len, stdin)) != -1) { in getlineTest()
/external/selinux/libselinux/src/
Dinit.c69 num = getline(&buf, &len, fp); in selinuxfs_exists()
75 num = getline(&buf, &len, fp); in selinuxfs_exists()
109 while ((num = getline(&buf, &len, fp)) != -1) { in hidden_def()
/external/compiler-rt/test/msan/
Dgetline.cc28 int n = getline(&line, &len, fp); in main()
32 n = getline(&line, &len, fp); in main()
/external/zlib/src/contrib/iostream3/
Dtest.cc27 while (inf.getline(buf,80,'\n')) { in main()
43 while (inf.getline(buf,80,'\n')) { in main()
/external/libpng/scripts/
Ddfn.awk127 if (getline nextline) {
153 if (getline nextline) {
/external/xmlrpcpp/test/
DTestXml.cpp37 std::getline(std::cin, s); in main()
45 std::getline(std::cin, s); in main()
/external/python/cpython2/Doc/library/
Dlinecache.rst21 .. function:: getline(filename, lineno[, module_globals])
41 previously read using :func:`getline`.
53 >>> linecache.getline('/etc/passwd', 4)
/external/python/cpython2/Demo/threads/
Dsquasher.py45 def getline(text): function
96 cogetline = co.create(getline, test)
/external/eigen/unsupported/Eigen/src/SparseExtra/
DMarketIO.h119 std::getline(in, line); eigen_assert(in.good()); in getMarketHeader()
151 while(input.getline(buffer, maxBuffersize)) in loadMarket()
204 std::getline(in, line); eigen_assert(in.good()); in loadMarketVector()
212 while ( std::getline(in, line) && (i < n) ){ in loadMarketVector()
/external/gptfdisk/
Dsupport.cc42 getline(cin, inString); in ReadString()
60 cin.getline(line, 255); in GetNumber()
109 cin.getline(line, 255); in GetSectorNum()
/external/bison/lib/
Dstdio.in.h679 # undef getline
680 # define getline rpl_getline
682 _GL_FUNCDECL_RPL (getline, ssize_t,
685 _GL_CXXALIAS_RPL (getline, ssize_t,
689 _GL_FUNCDECL_SYS (getline, ssize_t,
693 _GL_CXXALIAS_SYS (getline, ssize_t,
697 _GL_CXXALIASWARN (getline);
700 # undef getline
702 _GL_WARN_ON_USE (getline, "getline is unportable - "
Dgetline.c24 getline (char **lineptr, size_t *n, FILE *stream) in getline() function
/external/python/cpython2/Lib/
Dtraceback.py69 line = linecache.getline(filename, lineno, f.f_globals)
101 line = linecache.getline(filename, lineno, f.f_globals)
306 line = linecache.getline(filename, lineno, f.f_globals)
/external/bison/linux-lib/
Dstdio.h991 # undef getline
992 # define getline rpl_getline
994 _GL_FUNCDECL_RPL (getline, ssize_t,
997 _GL_CXXALIAS_RPL (getline, ssize_t,
1001 _GL_FUNCDECL_SYS (getline, ssize_t,
1005 _GL_CXXALIAS_SYS (getline, ssize_t,
1009 _GL_CXXALIASWARN (getline);
1012 # undef getline
1014 _GL_WARN_ON_USE (getline, "getline is unportable - "
/external/bison/darwin-lib/
Dstdio.h991 # undef getline
992 # define getline rpl_getline
994 _GL_FUNCDECL_RPL (getline, ssize_t,
997 _GL_CXXALIAS_RPL (getline, ssize_t,
1001 _GL_FUNCDECL_SYS (getline, ssize_t,
1005 _GL_CXXALIAS_SYS (getline, ssize_t,
1009 _GL_CXXALIASWARN (getline);
1012 # undef getline
1014 _GL_WARN_ON_USE (getline, "getline is unportable - "

12345678