Home
last modified time | relevance | path

Searched refs:Dictionary (Results 1 – 25 of 222) sorted by relevance

123456789

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DDictionaryHelperForCore.cpp51 bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, v8::Local<v8::Value>& v… in get()
57 bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, Dictionary& value) in get()
63 bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, bool& value) in get()
77 bool DictionaryHelper::convert(const Dictionary& dictionary, Dictionary::ConversionContext& context… in convert()
79 Dictionary::ConversionContextScope scope(context); in convert()
85 bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, int32_t& value) in get()
99 bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, double& value, bool& ha… in get()
116 bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, double& value) in get()
123 bool DictionaryHelper::convert(const Dictionary& dictionary, Dictionary::ConversionContext& context… in convert()
125 Dictionary::ConversionContextScope scope(context); in convert()
[all …]
DDictionary.cpp62 Dictionary::Dictionary() in Dictionary() function in blink::Dictionary
67 Dictionary::Dictionary(const v8::Handle<v8::Value>& options, v8::Isolate* isolate) in Dictionary() function in blink::Dictionary
74 Dictionary::~Dictionary() in ~Dictionary()
78 Dictionary& Dictionary::operator=(const Dictionary& optionsObject) in operator =()
85 Dictionary Dictionary::createEmpty(v8::Isolate* isolate) in createEmpty()
87 return Dictionary(v8::Object::New(isolate), isolate); in createEmpty()
90 bool Dictionary::isObject() const in isObject()
95 bool Dictionary::isUndefinedOrNull() const in isUndefinedOrNull()
102 bool Dictionary::hasProperty(const String& key) const in hasProperty()
118 bool Dictionary::getKey(const String& key, v8::Local<v8::Value>& value) const in getKey()
[all …]
DDictionary.h49 class Dictionary {
52 Dictionary();
53 Dictionary(const v8::Handle<v8::Value>& options, v8::Isolate*);
54 ~Dictionary();
56 Dictionary& operator=(const Dictionary&);
61 static Dictionary createEmpty(v8::Isolate*);
66 bool get(const String&, Dictionary&) const;
73 bool set(const String&, const Dictionary&);
124 bool convert(ConversionContext&, const String&, Dictionary&) const;
145 struct NativeValueTraits<Dictionary> {
[all …]
/external/chromium_org/gin/
Ddictionary.cc9 Dictionary::Dictionary(v8::Isolate* isolate) in Dictionary() function in gin::Dictionary
13 Dictionary::Dictionary(v8::Isolate* isolate, in Dictionary() function in gin::Dictionary
19 Dictionary::~Dictionary() { in ~Dictionary()
22 Dictionary Dictionary::CreateEmpty(v8::Isolate* isolate) { in CreateEmpty()
23 Dictionary dictionary(isolate); in CreateEmpty()
28 v8::Handle<v8::Value> Converter<Dictionary>::ToV8(v8::Isolate* isolate, in ToV8()
29 Dictionary val) { in ToV8()
33 bool Converter<Dictionary>::FromV8(v8::Isolate* isolate, in FromV8()
35 Dictionary* out) { in FromV8()
38 *out = Dictionary(isolate, v8::Handle<v8::Object>::Cast(val)); in FromV8()
Ddictionary.h25 class GIN_EXPORT Dictionary {
27 explicit Dictionary(v8::Isolate* isolate);
28 Dictionary(v8::Isolate* isolate, v8::Handle<v8::Object> object);
29 ~Dictionary();
31 static Dictionary CreateEmpty(v8::Isolate* isolate);
47 friend struct Converter<Dictionary>;
55 struct GIN_EXPORT Converter<Dictionary> {
57 Dictionary val);
60 Dictionary* out);
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/
DDictionaryHelperForModules.cpp70 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<MIDIPort>& value);
71 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<SpeechRecognitionR…
72 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<Gamepad>& value);
73 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<MediaStream>& valu…
74 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<Headers>& value);
76 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const St…
77 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const St…
78 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const St…
79 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const St…
80 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const St…
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
DSubtleCrypto.h43 class Dictionary; variable
53 ScriptPromise encrypt(ScriptState*, const Dictionary&, CryptoKey*, const ArrayPiece&);
54 ScriptPromise decrypt(ScriptState*, const Dictionary&, CryptoKey*, const ArrayPiece&);
55 ScriptPromise sign(ScriptState*, const Dictionary&, CryptoKey*, const ArrayPiece&);
57 …ScriptPromise verifySignature(ScriptState*, const Dictionary&, CryptoKey*, const ArrayPiece& signa…
58 ScriptPromise digest(ScriptState*, const Dictionary&, const ArrayPiece& data);
60 …ScriptPromise generateKey(ScriptState*, const Dictionary&, bool extractable, const Vector<String>&…
61 …ScriptPromise importKey(ScriptState*, const String&, const ArrayPiece&, const Dictionary&, bool ex…
62 …ScriptPromise importKey(ScriptState*, const String&, const Dictionary&, const Dictionary&, bool ex…
65 ScriptPromise wrapKey(ScriptState*, const String&, CryptoKey*, CryptoKey*, const Dictionary&);
[all …]
DSubtleCrypto.idl43 [CallWith=ScriptState] Promise encrypt(Dictionary algorithm, CryptoKey key, ArrayBuffer data);
44 … [CallWith=ScriptState] Promise encrypt(Dictionary algorithm, CryptoKey key, ArrayBufferView data);
46 [CallWith=ScriptState] Promise decrypt(Dictionary algorithm, CryptoKey key, ArrayBuffer data);
47 … [CallWith=ScriptState] Promise decrypt(Dictionary algorithm, CryptoKey key, ArrayBufferView data);
49 [CallWith=ScriptState] Promise sign(Dictionary algorithm, CryptoKey key, ArrayBuffer data);
50 [CallWith=ScriptState] Promise sign(Dictionary algorithm, CryptoKey key, ArrayBufferView data);
52 …// FIXME: should be: Promise verify(Dictionary algorithm, CryptoKey key, CryptoOperationData signa…
53 …[CallWith=ScriptState, Custom, ImplementedAs=verifySignature] Promise verify(Dictionary algorithm,…
55 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBuffer data);
56 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBufferView data);
[all …]
DNormalizeAlgorithm.cpp270 bool getOptionalCryptoOperationData(const Dictionary& raw, const char* propertyName, bool& hasPrope… in getOptionalCryptoOperationData()
292 bool getCryptoOperationData(const Dictionary& raw, const char* propertyName, RefPtr<ArrayBufferView… in getCryptoOperationData()
303 bool getUint8Array(const Dictionary& raw, const char* propertyName, RefPtr<Uint8Array>& array, cons… in getUint8Array()
315 bool getBigInteger(const Dictionary& raw, const char* propertyName, RefPtr<Uint8Array>& array, cons… in getBigInteger()
333 bool getOptionalInteger(const Dictionary& raw, const char* propertyName, bool& hasProperty, double&… in getOptionalInteger()
357 bool getInteger(const Dictionary& raw, const char* propertyName, double& value, double minValue, do… in getInteger()
371 bool getUint32(const Dictionary& raw, const char* propertyName, uint32_t& value, const ErrorContext… in getUint32()
380 bool getUint16(const Dictionary& raw, const char* propertyName, uint16_t& value, const ErrorContext… in getUint16()
389 bool getUint8(const Dictionary& raw, const char* propertyName, uint8_t& value, const ErrorContext& … in getUint8()
398 bool getOptionalUint32(const Dictionary& raw, const char* propertyName, bool& hasValue, uint32_t& v… in getOptionalUint32()
[all …]
DSubtleCrypto.cpp69 static bool parseAlgorithm(const Dictionary& raw, WebCryptoOperation op, WebCryptoAlgorithm& algori… in parseAlgorithm()
90 static ScriptPromise startCryptoOperation(ScriptState* scriptState, const Dictionary& rawAlgorithm,… in startCryptoOperation()
141 static bool copyStringProperty(const char* property, const Dictionary& source, JSONObject* destinat… in copyStringProperty()
150 static bool copySequenceOfStringProperty(const char* property, const Dictionary& source, JSONObject… in copySequenceOfStringProperty()
166 static bool copyJwkDictionaryToJson(const Dictionary& dict, CString& jsonUtf8, CryptoResult* result) in copyJwkDictionaryToJson()
196 ScriptPromise SubtleCrypto::encrypt(ScriptState* scriptState, const Dictionary& rawAlgorithm, Crypt… in encrypt()
201 ScriptPromise SubtleCrypto::decrypt(ScriptState* scriptState, const Dictionary& rawAlgorithm, Crypt… in decrypt()
206 ScriptPromise SubtleCrypto::sign(ScriptState* scriptState, const Dictionary& rawAlgorithm, CryptoKe… in sign()
211 ScriptPromise SubtleCrypto::verifySignature(ScriptState* scriptState, const Dictionary& rawAlgorith… in verifySignature()
216 ScriptPromise SubtleCrypto::digest(ScriptState* scriptState, const Dictionary& rawAlgorithm, const … in digest()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/animation/
DEffectInputTest.cpp41 Vector<Dictionary> jsKeyframes; in TEST_F()
50 jsKeyframes.append(Dictionary(keyframe1, m_isolate)); in TEST_F()
51 jsKeyframes.append(Dictionary(keyframe2, m_isolate)); in TEST_F()
61 Vector<Dictionary> jsKeyframes; in TEST_F()
70 jsKeyframes.append(Dictionary(keyframe1, m_isolate)); in TEST_F()
71 jsKeyframes.append(Dictionary(keyframe2, m_isolate)); in TEST_F()
80 Vector<Dictionary> jsKeyframes; in TEST_F()
91 jsKeyframes.append(Dictionary(keyframe1, m_isolate)); in TEST_F()
92 jsKeyframes.append(Dictionary(keyframe2, m_isolate)); in TEST_F()
93 jsKeyframes.append(Dictionary(keyframe3, m_isolate)); in TEST_F()
[all …]
DAnimationTest.cpp49 …static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyf… in createAnimation()
53 …static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyf… in createAnimation()
66 Vector<Dictionary> jsKeyframes; in TEST_F()
77 jsKeyframes.append(Dictionary(keyframe1, m_isolate)); in TEST_F()
78 jsKeyframes.append(Dictionary(keyframe2, m_isolate)); in TEST_F()
112 Vector<Dictionary, 0> jsKeyframes; in TEST_F()
122 Vector<Dictionary, 0> jsKeyframes; in TEST_F()
129 Vector<Dictionary, 0> jsKeyframes; in TEST_F()
136 Vector<Dictionary> jsKeyframes; in TEST_F()
148 jsKeyframes.append(Dictionary(keyframe1, m_isolate)); in TEST_F()
[all …]
DAnimation.h43 class Dictionary; variable
55 …ation> create(Element*, PassRefPtrWillBeRawPtr<AnimationEffect>, const Dictionary& timingInputDict…
58 …eRawPtr<Animation> create(Element*, const Vector<Dictionary>& keyframeDictionaryVector, const Dict…
59 …static PassRefPtrWillBeRawPtr<Animation> create(Element*, const Vector<Dictionary>& keyframeDictio…
60 …static PassRefPtrWillBeRawPtr<Animation> create(Element*, const Vector<Dictionary>& keyframeDictio…
DElementAnimation.h46 class Dictionary; variable
50 …lement& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Dictionary& timingInputDict… in animate()
65 …onPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, const Dict… in animate()
74 …static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVect… in animate()
83 …static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVect… in animate()
/external/lldb/source/Host/macosx/cfcpp/
DCFCMutableDictionary.cpp106 CFCMutableDictionary::Dictionary(bool can_create) in Dictionary() function in CFCMutableDictionary
120 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValue()
133 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValue()
146 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt8()
163 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueSInt8()
180 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt16()
197 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueSInt16()
214 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt32()
231 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueSInt32()
248 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt64()
[all …]
/external/chromium_org/tools/json_schema_compiler/test/
Derror_generation_unittest.cc14 using json_schema_compiler::test_util::Dictionary;
36 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
64 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
116 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
121 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
151 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
180 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
185 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
194 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
199 scoped_ptr<base::DictionaryValue> value = Dictionary( in TEST()
[all …]
/external/lldb/tools/lldb-perf/lib/
DResults.h24 class Dictionary; variable
36 Dictionary, enumerator
68 Dictionary *
71 if (m_type == Type::Dictionary) in GetAsDictionary()
72 return (Dictionary *)this; in GetAsDictionary()
156 class Dictionary : public Result
159 Dictionary () : in Dictionary() function
160 Result (Type::Dictionary, NULL, NULL) in Dictionary()
164 Dictionary (const char *name, const char *description) : in Dictionary() function
165 Result (Type::Dictionary, name, description) in Dictionary()
[all …]
DResults.cpp49 case Results::Result::Type::Dictionary: in AddResultToArray()
51 Results::Dictionary *value = result->GetAsDictionary(); in AddResultToArray()
120 case Results::Result::Type::Dictionary: in AddResultToDictionary()
122 Results::Dictionary *value = result->GetAsDictionary(); in AddResultToDictionary()
180 Results::Dictionary::AddUnsigned (const char *name, const char *description, uint64_t value) in AddUnsigned()
185 std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ()); in AddUnsigned()
196 Results::Dictionary::AddDouble (const char *name, const char *description, double value) in AddDouble()
202 std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ()); in AddDouble()
212 Results::Dictionary::AddString (const char *name, const char *description, const char *value) in AddString()
217 std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ()); in AddString()
[all …]
DGauge.cpp19 std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ()); in GetResult()
33 std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ()); in GetResult()
47 std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ()); in GetResult()
/external/chromium_org/mojo/bindings/js/
Dcore.cc47 gin::Dictionary CreateMessagePipe(const gin::Arguments& args) { in CreateMessagePipe()
48 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); in CreateMessagePipe()
60 gin::Dictionary options_dict(args.isolate(), options_value->ToObject()); in CreateMessagePipe()
107 gin::Dictionary ReadMessage(const gin::Arguments& args, in ReadMessage()
115 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); in ReadMessage()
139 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); in ReadMessage()
146 gin::Dictionary CreateDataPipe(const gin::Arguments& args) { in CreateDataPipe()
147 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); in CreateDataPipe()
159 gin::Dictionary options_dict(args.isolate(), options_value->ToObject()); in CreateDataPipe()
185 gin::Dictionary WriteData(const gin::Arguments& args, in WriteData()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
DRTCPeerConnection.h67 …static RTCPeerConnection* create(ExecutionContext*, const Dictionary&, const Dictionary&, Exceptio…
70 …void createOffer(RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&, ExceptionSt…
72 …void createAnswer(RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&, ExceptionS…
82 …void updateIce(const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionSt…
99 void addStream(MediaStream*, const Dictionary& mediaConstraints, ExceptionState&);
105 …RTCDataChannel* createDataChannel(String label, const Dictionary& dataChannelDict, ExceptionState&…
155 static RTCConfiguration* parseConfiguration(const Dictionary&, ExceptionState&);
156 static RTCOfferOptions* parseOfferOptions(const Dictionary&, ExceptionState&);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8ElementCustom.cpp54 TONATIVE_VOID(Dictionary, scrollOptionsHorizontal, Dictionary(value, info.GetIsolate())); in scrollLeftAttributeSetterCustom()
70 TONATIVE_VOID(Dictionary, scrollOptionsVertical, Dictionary(value, info.GetIsolate())); in scrollTopAttributeSetterCustom()
98 …TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, in… in animate2Method()
119 TONATIVE_VOID(Dictionary, timingInput, Dictionary(info[1], info.GetIsolate())); in animate4Method()
132 …TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, in… in animate5Method()
145 …TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, in… in animate6Method()
146 TONATIVE_VOID(Dictionary, timingInput, Dictionary(info[1], info.GetIsolate())); in animate6Method()
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
DV8CryptoKeyCustom.cpp21 , m_dictionary(Dictionary::createEmpty(isolate)) in DictionaryBuilder()
39 Dictionary algorithmValue = Dictionary::createEmpty(m_isolate); in setAlgorithm()
50 const Dictionary& dictionary() const { return m_dictionary; } in dictionary()
55 Dictionary m_dictionary;
/external/chromium_org/net/base/
Dsdch_manager.h185 class NET_EXPORT_PRIVATE Dictionary : public base::RefCounted<Dictionary> {
191 friend class base::RefCounted<Dictionary>;
198 Dictionary(const std::string& dictionary_text,
206 virtual ~Dictionary();
251 DISALLOW_COPY_AND_ASSIGN(Dictionary);
327 scoped_refptr<Dictionary>* dictionary);
377 typedef std::map<std::string, scoped_refptr<Dictionary> > DictionaryMap;
Dsdch_manager.cc65 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text, in Dictionary() function in net::SdchManager::Dictionary
82 SdchManager::Dictionary::~Dictionary() { in ~Dictionary()
85 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) { in CanAdvertise()
120 bool SdchManager::Dictionary::CanSet(const std::string& domain, in CanSet()
152 if (!Dictionary::DomainMatch(dictionary_url, domain)) { in CanSet()
179 bool SdchManager::Dictionary::CanUse(const GURL& referring_url) { in CanUse()
224 bool SdchManager::Dictionary::PathMatch(const std::string& path, in PathMatch()
242 bool SdchManager::Dictionary::DomainMatch(const GURL& gurl, in DomainMatch()
432 scoped_refptr<Dictionary>* dictionary) { in GetVcdiffDictionary()
439 scoped_refptr<Dictionary> matching_dictionary = it->second; in GetVcdiffDictionary()
[all …]

123456789