Home
last modified time | relevance | path

Searched refs:dict_var (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ppapi/thunk/
Dppb_var_dictionary_thunk.cc28 DictionaryVar* dict_var = DictionaryVar::FromPPVar(dict); in Get() local
29 if (!dict_var) in Get()
31 return dict_var->Get(key); in Get()
37 DictionaryVar* dict_var = DictionaryVar::FromPPVar(dict); in Set() local
38 if (!dict_var) in Set()
41 return dict_var->Set(key, value); in Set()
47 DictionaryVar* dict_var = DictionaryVar::FromPPVar(dict); in Delete() local
48 if (dict_var) in Delete()
49 dict_var->Delete(key); in Delete()
55 DictionaryVar* dict_var = DictionaryVar::FromPPVar(dict); in HasKey() local
[all …]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/
Djs_fs.cc257 PP_Var dict_var = VMakeRequest(id, format, args); in VSendRequest() local
258 ScopedVar scoped_dict_var(ppapi_, dict_var); in VSendRequest()
259 if (dict_var.type != PP_VARTYPE_DICTIONARY) in VSendRequest()
262 messaging_iface_->PostMessage(ppapi_->GetInstance(), dict_var); in VSendRequest()
305 int JsFs::VScanVar(PP_Var dict_var, const char* format, va_list args) { in VScanVar() argument
306 if (dict_var.type != PP_VARTYPE_DICTIONARY) { in VScanVar()
307 LOG_ERROR("Expected var of type dictionary, not %d.", dict_var.type); in VScanVar()
319 PP_Var value_var = GetDictVar(dict_var, key); in VScanVar()
/external/chromium_org/content/renderer/pepper/
Dv8_var_converter.cc404 DictionaryVar* dict_var = DictionaryVar::FromPPVar(current_var); in ToV8Value() local
405 if (!dict_var) { in ToV8Value()
413 dict_var->key_value_map().begin(); in ToV8Value()
414 iter != dict_var->key_value_map().end(); in ToV8Value()
566 DictionaryVar* dict_var = DictionaryVar::FromPPVar(current_var); in FromV8ValueInternal() local
567 if (!dict_var) { in FromV8ValueInternal()
610 bool success = dict_var->SetWithStringKey( in FromV8ValueInternal()
Dv8_var_converter_unittest.cc129 DictionaryVar* dict_var = DictionaryVar::FromPPVar(var); in Equals() local
130 DCHECK(dict_var); in Equals()
132 if (property_names->Length() != dict_var->key_value_map().size()) in Equals()
145 if (!dict_var->HasKey(release_key.get())) in Equals()
148 dict_var->Get(release_key.get())); in Equals()
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/
Dhandlers.c287 struct PP_Var dict_var = g_ppb_var_dictionary->Create(); in CreateResponse() local
291 result = g_ppb_var_dictionary->Set(dict_var, cmd_key, cmd_value); in CreateResponse()
296 g_ppb_var->Release(dict_var); in CreateResponse()
304 result = g_ppb_var_dictionary->Set(dict_var, args_key, args_value); in CreateResponse()
309 g_ppb_var->Release(dict_var); in CreateResponse()
315 *response_var = dict_var; in CreateResponse()
/external/chromium_org/ppapi/proxy/
Draw_var_data.cc138 DictionaryVar* dict_var = DictionaryVar::FromPPVar(current_var); in Create() local
139 if (!dict_var) { in Create()
144 dict_var->key_value_map().begin(); in Create()
145 iter != dict_var->key_value_map().end(); in Create()