Home
last modified time | relevance | path

Searched refs:ostr (Results 1 – 24 of 24) sorted by relevance

/external/openfst/src/include/fst/
Dicu.h75 ostringstream ostr; in LabelsToUTF8String() local
82 ostr << static_cast<char>(code); in LabelsToUTF8String()
84 ostr << static_cast<char>((code >> 6) | 0xc0); in LabelsToUTF8String()
85 ostr << static_cast<char>((code & 0x3f) | 0x80); in LabelsToUTF8String()
87 ostr << static_cast<char>((code >> 12) | 0xe0); in LabelsToUTF8String()
88 ostr << static_cast<char>(((code >> 6) & 0x3f) | 0x80); in LabelsToUTF8String()
89 ostr << static_cast<char>((code & 0x3f) | 0x80); in LabelsToUTF8String()
91 ostr << static_cast<char>((code >> 18) | 0xf0); in LabelsToUTF8String()
92 ostr << static_cast<char>(((code >> 12) & 0x3f) | 0x80); in LabelsToUTF8String()
93 ostr << static_cast<char>(((code >> 6) & 0x3f) | 0x80); in LabelsToUTF8String()
[all …]
/external/stlport/test/unit/
Dnum_put_get_test.cpp68 static string reset_stream(ostringstream &ostr) in reset_stream() argument
70 string tmp = ostr.str(); in reset_stream()
71 ostr.str(""); in reset_stream()
403 ostringstream ostr; in num_put_float() local
404 ostr << 1.23457e+17f; in num_put_float()
405 CPPUNIT_ASSERT(ostr.good()); in num_put_float()
406 output = reset_stream(ostr); in num_put_float()
413 ostringstream ostr; in num_put_float() local
414 ostr << setprecision(200) << 1.23457e+17f; in num_put_float()
415 CPPUNIT_ASSERT(ostr.good()); in num_put_float()
[all …]
Dmoney_facets_test.cpp65 ostringstream ostr; in _money_put_get2() local
66 ostr.imbue(streamLoc); in _money_put_get2()
67 ostr << showbase; in _money_put_get2()
77 ostreambuf_iterator<char, char_traits<char> > res = fmp.put(ostr, true, ostr, ' ', 123456); in _money_put_get2()
80 str_res = ostr.str(); in _money_put_get2()
176 ostr.str( "" ); in _money_put_get2()
177 ostr.clear(); in _money_put_get2()
178 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), true, ostr, err, digits); in _money_put_get2()
184 ostr.str(""); in _money_put_get2()
192 ostreambuf_iterator<char, char_traits<char> > res = fmp.put(ostr, false, ostr, ' ', -123456); in _money_put_get2()
[all …]
Dtime_facets_test.cpp33 ostringstream ostr; in _time_put_get() local
34 ostr.imbue(loc); in _time_put_get()
37 …time_put_facet::iter_type ret = tmp.put(ostr, ostr, ' ', &xmas, format.data(), format.data() + for… in _time_put_get()
54 istringstream istr( ostr.str() ); in _time_put_get()
115 wostringstream ostr; in _time_put_get() local
116 ostr.imbue(loc); in _time_put_get()
119 …time_put_facet::iter_type ret = tmp.put(ostr, ostr, ' ', &xmas, format.data(), format.data() + for… in _time_put_get()
137 wistringstream istr( ostr.str() ); in _time_put_get()
Drope_test.cpp64 ostringstream ostr; in io() local
65 ostr << rstr; in io()
67 CPPUNIT_ASSERT( ostr ); in io()
68 CPPUNIT_ASSERT( ostr.str() == cstr ); in io()
Dsstream_test.cpp349 ostringstream ostr; in streambuf_output() local
350 ostr << in.rdbuf(); in streambuf_output()
351 CPPUNIT_ASSERT( ostr ); in streambuf_output()
353 CPPUNIT_ASSERT( ostr.str() == "0123456789" ); in streambuf_output()
377 ostringstream ostr; in streambuf_output() local
378 ostr << in.rdbuf(); in streambuf_output()
379 CPPUNIT_ASSERT( ostr ); in streambuf_output()
381 CPPUNIT_ASSERT( ostr.str() == "01234567890123456789" ); in streambuf_output()
Dlocale_test.cpp283 ostringstream ostr; in combine() local
284 ostr << "combining '" << loc2.name() << "' money facets with '" << loc1.name() << "'"; in combine()
285 CPPUNIT_MESSAGE( ostr.str().c_str() ); in combine()
Dfstream_test.cpp536 ostringstream ostr; in streambuf_output() local
537 ostr << in.rdbuf(); in streambuf_output()
538 CPPUNIT_ASSERT( ostr ); in streambuf_output()
540 CPPUNIT_ASSERT( ostr.str() == "0123456789" ); in streambuf_output()
564 ostringstream ostr; in streambuf_output() local
565 ostr << in.rdbuf(); in streambuf_output()
566 CPPUNIT_ASSERT( ostr ); in streambuf_output()
568 CPPUNIT_ASSERT( ostr.str() == "0123456789" ); in streambuf_output()
Dcodecvt_test.cpp295 ofstream ostr(fileName); in variable_encoding() local
297 CPPUNIT_ASSERT( ostr.good() ); in variable_encoding()
299 ostr << "0123456789"; in variable_encoding()
301 CPPUNIT_ASSERT( ostr.good() ); in variable_encoding()
Dstring_test.cpp1277 ostringstream ostr; in io() local
1278 ostr << str; in io()
1279 CPPUNIT_ASSERT( ostr.good() ); in io()
1280 CPPUNIT_ASSERT( ostr.str() == str ); in io()
/external/openssl/crypto/asn1/
Dasn_moid.c115 char *ln, *ostr, *p, *lntmp; in do_create() local
120 ostr = value; in do_create()
125 ostr = p + 1; in do_create()
126 if (!*ostr) in do_create()
128 while(isspace((unsigned char)*ostr)) ostr++; in do_create()
131 nid = OBJ_create(ostr, name, ln); in do_create()
/external/openssh/openbsd-compat/
Dgetopt.c58 BSDgetopt(nargc, nargv, ostr) in BSDgetopt() argument
61 const char *ostr;
67 if (ostr == NULL)
83 !(oli = strchr(ostr, BSDoptopt))) {
92 if (BSDopterr && *ostr != ':')
107 if (*ostr == ':')
/external/bison/examples/calc++/
Dlocation.hh161 operator<< (std::basic_ostream<YYChar>& ostr, const location& loc) in operator <<() argument
164 ostr << loc.begin; in operator <<()
168 ostr << '-' << last; in operator <<()
170 ostr << '-' << last.line << '.' << last.column; in operator <<()
172 ostr << '-' << last.column; in operator <<()
173 return ostr; in operator <<()
Dposition.hh161 operator<< (std::basic_ostream<YYChar>& ostr, const position& pos) in operator <<() argument
164 ostr << *pos.filename << ':'; in operator <<()
165 return ostr << pos.line << '.' << pos.column; in operator <<()
/external/bison/data/
Dlocation.cc141 operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
144 ostr << *pos.filename << ':';
145 return ostr << pos.line << '.' << pos.column;
281 operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
284 ostr << loc.begin;
288 ostr << '-' << last;
290 ostr << '-' << last.line << '.' << last.column;
292 ostr << '-' << last.column;
293 return ostr;
/external/openfst/src/include/fst/script/
Dfst-class.h56 virtual bool Write(ostream &ostr, const FstWriteOptions &opts) const = 0;
121 virtual bool Write(ostream &ostr, const FstWriteOptions &opts) const { in Write() argument
122 return impl_->Write(ostr, opts); in Write()
210 virtual bool Write(ostream &ostr, const FstWriteOptions &opts) const { in Write() argument
211 return impl_->Write(ostr, opts); in Write()
309 virtual bool Write(ostream &ostr, const FstWriteOptions &opts) const { in Write() argument
310 return GetImpl()->Write(ostr, opts); in Write()
/external/llvm/unittests/Support/
DYAMLIOTest.cpp105 llvm::raw_string_ostream ostr(intermediate); in TEST() local
106 Output yout(ostr); in TEST()
246 llvm::raw_string_ostream ostr(intermediate); in TEST() local
247 Output yout(ostr); in TEST()
428 llvm::raw_string_ostream ostr(intermediate); in TEST() local
429 Output yout(ostr); in TEST()
518 llvm::raw_string_ostream ostr(intermediate); in TEST() local
519 Output yout(ostr); in TEST()
602 llvm::raw_string_ostream ostr(intermediate); in TEST() local
603 Output yout(ostr); in TEST()
[all …]
/external/qemu/
Dqemu_socket.h13 int inet_listen(const char *str, char *ostr, int olen,
21 int unix_listen(const char *path, char *ostr, int olen);
Dqemu-sockets-android.c443 int inet_listen(const char *str, char *ostr, int olen, in inet_listen() argument
453 if (sock != -1 && ostr) { in inet_listen()
456 snprintf(ostr, olen, "[%s]:%s%s", in inet_listen()
461 snprintf(ostr, olen, "%s:%s%s", in inet_listen()
555 int unix_listen(const char *str, char *ostr, int olen) in unix_listen() argument
578 if (sock != -1 && ostr) in unix_listen()
579 snprintf(ostr, olen, "%s%s", qemu_opt_get(opts, "path"), optstr ? optstr : ""); in unix_listen()
610 int unix_listen(const char *path, char *ostr, int olen) in unix_listen() argument
Dqemu-sockets.c498 int inet_listen(const char *str, char *ostr, int olen, in inet_listen() argument
508 if (sock != -1 && ostr) { in inet_listen()
511 snprintf(ostr, olen, "[%s]:%s%s", in inet_listen()
516 snprintf(ostr, olen, "%s:%s%s", in inet_listen()
622 int unix_listen(const char *str, char *ostr, int olen) in unix_listen() argument
645 if (sock != -1 && ostr) in unix_listen()
646 snprintf(ostr, olen, "%s%s", qemu_opt_get(opts, "path"), optstr ? optstr : ""); in unix_listen()
679 int unix_listen(const char *path, char *ostr, int olen) in unix_listen() argument
/external/openfst/src/test/
Dfst_test.h241 ofstream ostr(aligned.c_str()); in TestIO()
245 CHECK(fst.Write(ostr, opts)); in TestIO()
260 ofstream ostr(aligned.c_str()); in TestIO()
264 CHECK(fst.Write(ostr, opts)); in TestIO()
/external/linux-tools-perf/util/
Dparse-events.c836 const char *ostr; in parse_events() local
839 ostr = str; in parse_events()
855 evsel->name = calloc(str - ostr + 1, 1); in parse_events()
858 strncpy(evsel->name, ostr, str - ostr); in parse_events()
/external/netperf/
Dnetlib.c349 getopt(int argc, char **argv, char *ostr) in getopt() argument
369 || !(oli = strchr(ostr, optopt))) { in getopt()
/external/srec/config/en.us/dictionary/
Dlarge.ok21071 ostrander ostr~dP