Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dmeta.h38 template <typename T> struct Void { typedef void Type; };
43 template <bool Cond> struct BoolType {
55 template <bool C> struct SelectIfImpl { template <typename T1, typename T2> struct Apply { typedef …
56 template <> struct SelectIfImpl<false> { template <typename T1, typename T2> struct Apply { typedef…
57 template <bool C, typename T1, typename T2> struct SelectIfCond : SelectIfImpl<C>::template Apply<T…
58 template <typename C, typename T1, typename T2> struct SelectIf : SelectIfCond<C::Value, T1, T2> {};
60 template <bool Cond1, bool Cond2> struct AndExprCond : FalseType {};
61 template <> struct AndExprCond<true, true> : TrueType {};
62 template <bool Cond1, bool Cond2> struct OrExprCond : TrueType {};
63 template <> struct OrExprCond<false, false> : FalseType {};
[all …]
Dstack.h30 template <typename Allocator>
110 template<typename T>
121 template<typename T>
128 template<typename T>
134 template<typename T>
150 template<typename T>
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dencodings.h95 template<typename CharType = char>
101 template<typename OutputStream>
123 template <typename InputStream>
152 template <typename InputStream, typename OutputStream>
196 template <typename InputByteStream>
209 template <typename InputByteStream>
215 template <typename OutputByteStream>
221 template <typename OutputByteStream>
240 template<typename CharType = wchar_t>
247 template<typename OutputStream>
[all …]
Dpointer.h70 template <typename ValueType, typename Allocator = CrtAllocator>
230 template <typename T>
352 template<typename OutputStream>
362 template<typename OutputStream>
442 template <typename stackAllocator>
530 template <typename T>
537 template <typename stackAllocator>
543 template <typename stackAllocator>
550 template <typename stackAllocator>
560 template <typename T, typename stackAllocator>
[all …]
Ddocument.h69 template <typename Encoding, typename Allocator>
72 template <typename Encoding, typename Allocator, typename StackAllocator>
81 template <typename Encoding, typename Allocator>
111 template <bool Const, typename Encoding, typename Allocator>
117 template <bool, typename, typename> friend class GenericMemberIterator;
210 template <bool Const, typename Encoding, typename Allocator>
214 template <typename Encoding, typename Allocator>
220 template <typename Encoding, typename Allocator>
258 template<typename CharType>
285 template<SizeType N>
[all …]
Dstringbuffer.h34 template <typename Encoding, typename Allocator = CrtAllocator>
50 void Put(Ch c) { *stack_.template Push<Ch>() = c; } in Put()
56 *stack_.template Push<Ch>() = '\0'; in ShrinkToFit()
58 stack_.template Pop<Ch>(1); in ShrinkToFit()
60 Ch* Push(size_t count) { return stack_.template Push<Ch>(count); } in Push()
61 void Pop(size_t count) { stack_.template Pop<Ch>(count); } in Pop()
65 *stack_.template Push<Ch>() = '\0'; in GetString()
66 stack_.template Pop<Ch>(1); in GetString()
68 return stack_.template Bottom<Ch>(); in GetString()
86 template<>
Dreader.h180 template<typename Encoding = UTF8<>, typename Derived = void>
207 template<typename Stream, int = StreamTraits<Stream>::copyOptimization>
211 template<typename Stream>
226 template<typename Stream>
246 template<typename InputStream>
344 template<> inline void SkipWhitespace(InsituStringStream& is) { in SkipWhitespace()
349 template<> inline void SkipWhitespace(StringStream& is) { in SkipWhitespace()
373 template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator = CrtAllocator>
392 template <unsigned parseFlags, typename InputStream, typename Handler>
431 template <typename InputStream, typename Handler>
[all …]
Dwriter.h53 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,…
136 new (level_stack_.template Push<Level>()) Level(false); in StartObject()
145 RAPIDJSON_ASSERT(!level_stack_.template Top<Level>()->inArray);
146 level_stack_.template Pop<Level>(1);
155 new (level_stack_.template Push<Level>()) Level(true); in StartArray()
162 RAPIDJSON_ASSERT(level_stack_.template Top<Level>()->inArray);
163 level_stack_.template Pop<Level>(1);
320 Level* level = level_stack_.template Top<Level>(); in Prefix()
349 template<>
357 template<>
[all …]
Dmemorybuffer.h36 template <typename Allocator = CrtAllocator>
42 void Put(Ch c) { *stack_.template Push<Ch>() = c; } in Put()
47 Ch* Push(size_t count) { return stack_.template Push<Ch>(count); } in Push()
48 void Pop(size_t count) { stack_.template Pop<Ch>(count); } in Pop()
51 return stack_.template Bottom<Ch>(); in GetBuffer()
63 template<>
Dprettywriter.h34 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,…
87 new (Base::level_stack_.template Push<typename Base::Level>()) typename Base::Level(false); in StartObject()
96 RAPIDJSON_ASSERT(!Base::level_stack_.template Top<typename Base::Level>()->inArray);
97 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0;
113 new (Base::level_stack_.template Push<typename Base::Level>()) typename Base::Level(true); in StartArray()
120 RAPIDJSON_ASSERT(Base::level_stack_.template Top<typename Base::Level>()->inArray);
121 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0;
149 typename Base::Level* level = Base::level_stack_.template Top<typename Base::Level>(); in PrettyPrefix()
Drapidjson.h354 template <bool x> struct STATIC_ASSERTION_FAILURE;
355 template <> struct STATIC_ASSERTION_FAILURE<true> { enum { value = 1 }; };
356 template<int x> struct StaticAssertTest {};
547 template<typename Stream>
558 template<typename Stream, typename Ch>
570 template <typename Encoding>
589 template <typename Encoding>
604 template <typename Encoding>
630 template <typename Encoding>
Dencodedstream.h32 template <typename Encoding, typename InputByteStream>
65 template <typename Encoding, typename OutputByteStream>
100 template <typename CharType, typename InputByteStream>
198 template <typename CharType, typename OutputByteStream>
/packages/apps/Gallery2/jni/filters/
Dkmeans.h25 template <typename T, typename N>
39 template <typename T, typename N>
47 template <typename T, typename N>
55 template <typename T, typename N>
70 template <typename T, typename N>
87 template <typename T>
122 template <typename T, typename N>
140 template <typename T, typename N>
178 template <typename T, typename N>
208 template <typename T, typename N>
[all …]
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupFragment.java81 final View template = inflater.inflate(R.layout.account_setup_template, container, false); in inflateTemplatedView() local
83 TextView headlineView = UiUtilities.getView(template, R.id.headline); in inflateTemplatedView()
92 (ViewGroup) template.findViewById(R.id.setup_fragment_content); in inflateTemplatedView()
95 mNextButton = UiUtilities.getView(template, R.id.next); in inflateTemplatedView()
97 mPreviousButton = UiUtilities.getView(template, R.id.previous); in inflateTemplatedView()
99 return template; in inflateTemplatedView()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsCategory.java63 public AppOpsCategory(AppOpsState.OpsTemplate template) { in AppOpsCategory() argument
64 this(template, false); in AppOpsCategory()
67 public AppOpsCategory(AppOpsState.OpsTemplate template, boolean userControlled) { in AppOpsCategory() argument
69 args.putParcelable("template", template); in AppOpsCategory()
133 public AppListLoader(Context context, AppOpsState state, AppOpsState.OpsTemplate template, in AppListLoader() argument
137 mTemplate = template; in AppListLoader()
389 AppOpsState.OpsTemplate template = null; in onCreateLoader() local
391 template = (AppOpsState.OpsTemplate)fargs.getParcelable("template"); in onCreateLoader()
393 return new AppListLoader(getActivity(), mState, template, mUserControlled); in onCreateLoader()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java192 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in setupPicker() local
194 final long bytes = isLimit ? editor.getPolicyLimitBytes(template) in setupPicker()
195 : editor.getPolicyWarningBytes(template); in setupPicker()
220 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onClick() local
232 editor.setPolicyLimitBytes(template, bytes); in onClick()
234 editor.setPolicyWarningBytes(template, bytes); in onClick()
272 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onCreateDialog() local
273 final int cycleDay = editor.getPolicyCycleDay(template); in onCreateDialog()
288 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onClick() local
297 editor.setPolicyCycleDay(template, cycleDay, cycleTimezone); in onClick()
DDataUsageMeteredSettings.java109 final NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll( in buildMobilePref() local
111 final MeteredPreference pref = new MeteredPreference(getPrefContext(), template); in buildMobilePref()
118 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId); in buildWifiPref() local
119 final MeteredPreference pref = new MeteredPreference(context, template); in buildWifiPref()
128 public MeteredPreference(Context context, NetworkTemplate template) { in MeteredPreference() argument
130 mTemplate = template; in MeteredPreference()
135 final NetworkPolicy policy = mPolicyEditor.getPolicyMaybeUnquoted(template); in MeteredPreference()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md41 template<typename CharType = char>
44 template<typename CharType = wchar_t>
47 template<typename CharType = wchar_t>
50 template<typename CharType = wchar_t>
53 template<typename CharType = unsigned>
56 template<typename CharType = unsigned>
59 template<typename CharType = unsigned>
67template parameter in `GenericValue<Encoding>` and `GenericDocument<Encoding>` indicates the encod…
80 As shown in the declaration, each encoding has a `CharType` template parameter. Actually, it may be…
114 … option can be turned on by adding `kParseValidateEncodingFlag` in `parseFlags` template parameter.
Ddom.md9 … `Document` was used. Similarly to `std::string`, these are actually `typedef` of template classes:
14 template <typename Encoding, typename Allocator = MemoryPoolAllocator<> >
19 template <typename Encoding, typename Allocator = MemoryPoolAllocator<> >
30 User can customize these template parameters.
34 …options are `UTF8`, `UTF16`, `UTF32`. Note that, these 3 types are also template class. `UTF8<>` i…
75 template <unsigned parseFlags, typename SourceEncoding, typename InputStream>
79 template <unsigned parseFlags, typename InputStream>
83 template <typename InputStream>
87 template <unsigned parseFlags>
94 template <unsigned parseFlags, typename SourceEncoding>
[all …]
Dsax.md94 Note that, RapidJSON uses template to statically bind the `Reader` type and the handler type, inste…
136 As mentioned before, `Reader` is a typedef of a template class `GenericReader`:
141 template <typename SourceEncoding, typename TargetEncoding, typename Allocator = MemoryPoolAllocato…
159 The third template parameter `Allocator` is the allocator type for internal data structure (actuall…
166 template <unsigned parseFlags, typename InputStream, typename Handler>
170 template <typename InputStream, typename Handler>
241 `Writer` has a minor design difference to `Reader`. `Writer` is a template class, not a typedef. Th…
246 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,…
256 The `OutputStream` template parameter is the type of output stream. It cannot be deduced and must b…
258 The `SourceEncoding` template parameter specifies the encoding to be used in `String(const Ch*, ...…
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DPreconditions.java399 static String format(String template, Object... args) { in format() argument
402 template.length() + 16 * args.length); in format()
406 int placeholderStart = template.indexOf("%s", templateStart); in format()
410 builder.append(template.substring(templateStart, placeholderStart)); in format()
414 builder.append(template.substring(templateStart)); in format()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dunittest.h44 template <typename Ch>
51 template<typename Ch>
57 template <typename Ch>
/packages/apps/Tag/src/com/android/apps/tag/record/
DVCardRecord.java93 CharSequence template = activity.getResources().getText(R.string.import_vcard); in getView() local
94 String description = TextUtils.expandTemplate(template, getDisplayName()).toString(); in getView()
101 CharSequence template = context.getResources().getText(R.string.vcard_title); in getSnippet() local
102 return TextUtils.expandTemplate(template, getDisplayName()).toString(); in getSnippet()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dint_array_view.h61 template <size_t N>
112 template <size_t N>
169 template <size_t size>
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMoreKeysResources.java113 final String template = list.get(0); in writeToJava() local
114 final String javaPackage = template.substring(0, template.lastIndexOf('/')); in writeToJava()
127 lnr = new LineNumberReader(new InputStreamReader(JarUtils.openResource(template))); in writeToJava()

123