Searched defs:String (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/
H A Dmessagereader.cpp34 bool String(const char* str, SizeType length, bool) { function in struct:MessageHandler
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
H A Dsimplereader.cpp15 bool String(const char* str, SizeType length, bool copy) { function in struct:MyHandler
16 cout << "String(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DTimeZoneFragment.java57 public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
64 final List<Map<String, Object>> zoneList = ZoneGetter.getZonesList(getActivity());
66 for (final Map<String, Object> zone : zoneList) {
106 final String id = TimeZone.getDefault().getID();
122 public ZonePreference(Context context, Map<? extends String, ?> zone) { argument
125 setKey((String) zone.get(ZoneGetter.KEY_ID));
127 setTitle((String) zone.get(ZoneGetter.KEY_DISPLAYNAME));
128 setSummary((String) zone.get(ZoneGetter.KEY_GMT));
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
H A Dcapitalize.cpp27 bool String(const char* str, SizeType length, bool) { function in struct:CapitalizeFilter
31 return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the string
34 bool Key(const char* str, SizeType length, bool copy) { return String(str, length, copy); }
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dprettywriter.h73 bool String(const Ch* str, SizeType length, bool copy = false) { function in class:PrettyWriter
80 bool String(const std::basic_string<Ch>& str) { function in class:PrettyWriter
81 return String(str.data(), SizeType(str.size()));
91 bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
141 bool String(const Ch* str) { return String(str, internal::StrLen(str)); } function in class:PrettyWriter
H A Dwriter.h122 bool String(const Ch* str, SizeType length, bool copy = false) { function in class:Writer
129 bool String(const std::basic_string<Ch>& str) { function in class:Writer
130 return String(str.data(), SizeType(str.size()));
140 bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
175 bool String(const Ch* str) { return String(str, internal::StrLen(str)); } function in class:Writer
H A Ddocument.h1470 //!@name String
1563 return handler.String(GetString(), GetStringLength(), (flags_ & kCopyFlag) != 0);
1613 struct String { struct in class:GenericValue
1628 enum { MaxChars = sizeof(String) / sizeof(Ch), MaxSize = MaxChars - 1, LenPos = MaxSize };
1634 }; // at most as many bytes as "String" above => 12 bytes in 32-bit mode, 16 bytes in 64-bit mode
1675 String s;
2025 bool String(const Ch* str, SizeType length, bool copy) { function in class:GenericDocument
2035 bool Key(const Ch* str, SizeType length, bool copy) { return String(str, length, copy); }
H A Dreader.h164 bool String(const Ch* str, SizeType length, bool copy);
194 bool String(const Ch*, SizeType, bool) { return static_cast<Override&>(*this).Default(); } function in struct:BaseReaderHandler
196 bool Key(const Ch* str, SizeType len, bool copy) { return static_cast<Override&>(*this).String(str, len, copy); }
635 // Parse string and generate String event. Different code paths for kParseInsituFlag.
649 success = (isKey ? handler.Key(str, SizeType(length), false) : handler.String(str, SizeType(length), false));
657 success = (isKey ? handler.Key(str, length, true) : handler.String(str, length, true));
1085 IterativeParsingValueState, // String
1111 IterativeParsingMemberKeyState, // String
1125 IterativeParsingErrorState, // String
1139 IterativeParsingMemberValueState, // String
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dvaluetest.cpp573 TEST(Value, String) {
1324 bool String(const char*, SizeType, bool) { return e != 7; } function in struct:TerminateHandler
H A Dreadertest.cpp189 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", str, h.actual_, x); \
330 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value());
357 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value());
456 bool String(const typename Encoding::Ch* str, size_t length, bool copy) { function in struct:ParseStringHandler
493 // String constant L"\xXX" can only specify character code in bytes, which is not endianness-neutral.
776 bool String(const char* str, size_t, bool) { function in struct:ParseObjectHandler
1137 bool String(const Ch*, SizeType, bool) { RAPIDJSON_ASSERT(LogCount < LogCapacity); Logs[LogCount++] = LOG_STRING; return true; }
1316 bool String(const char*, SizeType, bool) { return e != 7; }

Completed in 146 milliseconds