Searched refs:placeholders (Results 1 - 25 of 31) sorted by relevance

12

/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.place/
H A Dplaceholders.pass.cpp12 // placeholders
26 test(std::placeholders::_1);
27 test(std::placeholders::_2);
28 test(std::placeholders::_3);
29 test(std::placeholders::_4);
30 test(std::placeholders::_5);
31 test(std::placeholders::_6);
32 test(std::placeholders::_7);
33 test(std::placeholders::_8);
34 test(std::placeholders
[all...]
H A DAndroid.mk19 test_name := utilities/function.objects/bind/func.bind/func.bind.place/placeholders
20 test_src := placeholders.pass.cpp
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.isbind/
H A Dis_placeholder.pass.cpp27 test<1>(std::placeholders::_1);
28 test<2>(std::placeholders::_2);
29 test<3>(std::placeholders::_3);
30 test<4>(std::placeholders::_4);
31 test<5>(std::placeholders::_5);
32 test<6>(std::placeholders::_6);
33 test<7>(std::placeholders::_7);
34 test<8>(std::placeholders::_8);
35 test<9>(std::placeholders::_9);
36 test<10>(std::placeholders
[all...]
H A Dis_bind_expression.pass.cpp28 test<true>(std::bind(C(), std::placeholders::_2));
31 test<false>(std::placeholders::_2);
/external/libcxx/src/
H A Dbind.cpp14 namespace placeholders namespace
28 } // placeholders
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dnested.pass.cpp46 using std::placeholders::_1;
H A Dinvoke_lvalue.pass.cpp45 using namespace std::placeholders;
161 using namespace std::placeholders;
235 using namespace std::placeholders;
275 using namespace std::placeholders;
H A Dinvoke_rvalue.pass.cpp45 using namespace std::placeholders;
151 using namespace std::placeholders;
219 using namespace std::placeholders;
256 using namespace std::placeholders;
/external/chromium_org/tools/grit/grit/
H A Dtclib.py32 def __init__(self, text='', placeholders=[], description='', meaning=''):
34 self.placeholders = []
41 if not placeholders or placeholders == []:
45 for placeholder in placeholders:
99 self.placeholders.append(placeholder)
140 return self.placeholders
159 def __init__(self, text='', placeholders=[], description='', meaning='',
161 super(Message, self).__init__(text, placeholders, description, meaning)
184 def __init__(self, text='', id='', placeholders
[all...]
H A Dtclib_unittest.py40 msg = tclib.Message(text=text, placeholders=phs)
43 trans = tclib.Translation(text=text, placeholders=phs)
60 placeholders=[
65 placeholders=msg.GetPlaceholders())
172 msg = tclib.Message(text=text, placeholders=phs)
175 self.fail('tclib.Message() should handle placeholders that are '
H A Dclique_unittest.py28 placeholders=[
36 id=msg.GetId(), placeholders=[
39 id=msg.GetId(), placeholders=[
132 placeholders=[tclib.Placeholder('USERNAME', '$1', 'Joi')]),
134 placeholders=[tclib.Placeholder('USERNAME', '%s', 'Joi')]),
141 placeholders=[tclib.Placeholder(
H A Dpseudo_unittest.py42 placeholders=[
H A Dutil.py590 whose example will be the message's value. Existing placeholders are
602 placeholders = []
611 placeholders.append(tclib.Placeholder(name, f, sub))
615 if placeholders:
616 return tclib.Message(newtext, msg.GetPlaceholders() + placeholders,
H A Dclique.py458 # placeholders yet share the same ID (because they are otherwise the
460 # content for placeholders than our message, yet it is still the right
462 # therefore fetch the original content of placeholders from our original
476 placeholders=original.GetPlaceholders())
/external/chromium_org/extensions/renderer/
H A Di18n_custom_bindings.cc71 v8::Local<v8::Array> placeholders = v8::Local<v8::Array>::Cast(args[1]); local
72 uint32_t count = placeholders->Length();
78 placeholders->Get(v8::Integer::New(isolate, i))->ToString()));
/external/chromium_org/tools/grit/grit/extern/
H A Dtclib.py108 # message and a list of placeholders; it will then parse the presentation and
111 # placeholders = [Placeholder("NUM_BUGS", "%d", "33")],
128 # Are there other placeholders with the same presentation?
228 # Return a list of all unique placeholders in this message
290 # check that placeholders are unambiguous
332 """Returns true iff this message has anything other than placeholders."""
344 description=None, meaning="", placeholders=None,
356 placeholders, source, sequence_number,
370 placeholders = self.GetPlaceholders()
371 for i in range(len(placeholders))
[all...]
/external/chromium_org/extensions/common/
H A Dmessage_bundle.cc30 const char* MessageBundle::kPlaceholdersKey = "placeholders";
149 SubstitutionMap placeholders; local
150 if (!GetPlaceholders(*name_tree, key, &placeholders, error))
153 if (!ReplacePlaceholders(placeholders, value, error))
164 SubstitutionMap* placeholders,
194 (*placeholders)[base::StringToLowerASCII(content_key)] = content;
200 bool MessageBundle::ReplacePlaceholders(const SubstitutionMap& placeholders, argument
203 return ReplaceVariables(placeholders,
162 GetPlaceholders(const base::DictionaryValue& name_tree, const std::string& name_key, SubstitutionMap* placeholders, std::string* error) const argument
H A Dmessage_bundle.h33 // Begin/end markers for placeholders and messages
65 // Returned message has all of the internal placeholders resolved to their
134 // Get all placeholders for a given message from JSON subtree.
137 SubstitutionMap* placeholders,
140 // For a given message, replaces all placeholders with their actual value.
142 bool ReplacePlaceholders(const SubstitutionMap& placeholders,
/external/chromium_org/tools/grit/grit/node/
H A Dmessage.py123 # Make the text (including placeholder references) and list of placeholders,
128 placeholders = []
139 placeholders.append(tclib.Placeholder(presentation, original, ex))
157 message = tclib.Message(text=text, placeholders=placeholders,
238 parameters and the text of the message and any placeholders taken from
H A Dmessage_unittest.py50 placeholders=[tclib.Placeholder('USERNAME', '%s', 'Joi'),
H A Dbase_unittest.py138 placeholders = [
/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Dalloc_F.pass.cpp87 std::function<void(int)> fun = std::bind(&Foo::bar, &f, std::placeholders::_1);
/external/stlport/stlport/
H A Dfunctional50 #include <boost/bind/placeholders.hpp>
84 namespace placeholders {
94 } // placeholders
/external/chromium_org/chrome/browser/extensions/
H A Dextension_storage_monitor.cc334 std::vector<std::string> placeholders; local
335 placeholders.push_back(context_->GetPath().BaseName().MaybeAsASCII());
336 placeholders.push_back(extension_id);
338 return ReplaceStringPlaceholders(kNotificationIdFormat, placeholders, NULL);
/external/chromium_org/tools/grit/grit/gather/
H A Dtr_html.py84 # names for those tags. This will be used when generating placeholders
91 # different placeholders with basically the same name (e.g. BOLD1, BOLD2).
111 # placeholders because different languages require different numbers of spaces
112 # and placeholders must match exactly; more than one is probably a "special"
436 replacing any HTML code with placeholders.
456 # - then escape all character entities in text in-between placeholders
459 # for placeholders
467 number placeholders for non-overlap.
469 Also ensures that END_XXX_Y placeholders have the same Y as the
527 # Replaceables allow - but placeholders do
[all...]

Completed in 1286 milliseconds

12