Home
last modified time | relevance | path

Searched refs:VarFromUtf8 (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/ppapi/c/
Dppb_var.h82 struct PP_Var (*VarFromUtf8)(const char* data, uint32_t len); member
131 struct PP_Var (*VarFromUtf8)(PP_Module module, member
140 struct PP_Var (*VarFromUtf8)(const char* data, uint32_t len); member
/external/chromium_org/ppapi/shared_impl/
Dppb_var_shared.cc37 PP_Var VarFromUtf8(const char* data, uint32_t len) { in VarFromUtf8() function
43 return VarFromUtf8(data, len); in VarFromUtf8_1_0()
72 const PPB_Var var_interface = {&AddRefVar, &ReleaseVar, &VarFromUtf8,
76 &VarFromUtf8, &VarToUtf8};
/external/chromium_org/ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/
Dtest_runner_ppapi.c118 result = g_browser_var->VarFromUtf8(kPassed, strlen(kPassed)); in PppMessagingHandleMessage()
121 result = g_browser_var->VarFromUtf8(kFailed, strlen(kFailed)); in PppMessagingHandleMessage()
/external/chromium_org/ppapi/cpp/
Dvar.cc49 return get_interface<PPB_Var_1_2>()->VarFromUtf8(utf8_str, len); in VarFromUtf8Helper()
51 return get_interface<PPB_Var_1_1>()->VarFromUtf8(utf8_str, len); in VarFromUtf8Helper()
53 return get_interface<PPB_Var_1_0>()->VarFromUtf8(Module::Get()->pp_module(), in VarFromUtf8Helper()
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
Dtest_interface.cc34 PP_Var post_var = PPBVar()->VarFromUtf8(test_message.c_str(), in PostTestMessage()
41 return PPBVar()->VarFromUtf8(s, strlen(s)); in PP_MakeString()
123 PP_Var callback_var = PPBVar()->VarFromUtf8(callback_name, in ReportCallbackInvocationToJS()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
Dfake_var_interface.h19 virtual PP_Var VarFromUtf8(const char* data, uint32_t len);
Dfake_var_interface.cc12 PP_Var FakeVarInterface::VarFromUtf8(const char* data, uint32_t len) { in VarFromUtf8() function in FakeVarInterface
Dfake_host_resolver_interface.cc70 return ppapi_->GetVarInterface()->VarFromUtf8(fake_hostname.data(), in GetCanonicalName()
Dfake_var_dictionary_interface.cc97 PP_Var key = var_interface_->VarFromUtf8(it->first.c_str(), in GetKeys()
Dfake_pepper_interface_url_loader.cc567 return var_interface_->VarFromUtf8(response_resource->url.data(), in GetProperty()
574 return var_interface_->VarFromUtf8(response_resource->headers.data(), in GetProperty()
/external/chromium_org/ppapi/api/
Dppb_var.idl46 * VarFromUtf8() creates a string var from a string. The string must be
71 PP_Var VarFromUtf8([in] PP_Module module, [in] str_t data, [in] uint32_t len);
74 * VarFromUtf8() creates a string var from a string. The string must be
98 PP_Var VarFromUtf8([in] str_t data, [in] uint32_t len);
/external/chromium_org/ppapi/tests/
Dtest_var.cc48 PP_Var str = var_interface_->VarFromUtf8(kStr, kStrLen); in TestBasicString()
123 converted_string = var_interface_->VarFromUtf8(NULL, 0); in TestNullInputInUtf8Conversion()
Dtest_var_deprecated.cc96 PP_Var str = var_interface_->VarFromUtf8(pp::Module::Get()->pp_module(), in TestBasicString()
165 converted_string = var_interface_->VarFromUtf8( in TestNullInputInUtf8Conversion()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/httpfs/
Dhttp_fs.cc144 var_interface->VarFromUtf8(url.c_str(), url.length())); in MakeUrlRequestInfo()
147 var_interface->VarFromUtf8(method, strlen(method))); in MakeUrlRequestInfo()
176 var_interface->VarFromUtf8(headers.c_str(), headers.length())); in MakeUrlRequestInfo()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/
Djs_fs.cc64 PP_Var key_var = var_iface_->VarFromUtf8(key, strlen(key)); in SetDictVar()
81 PP_Var key_var = var_iface_->VarFromUtf8(key, strlen(key)); in GetDictVar()
186 value_var = var_iface_->VarFromUtf8(value, strlen(value)); in VMakeRequest()
/external/chromium_org/ppapi/c/dev/
Dppb_var_deprecated.h62 struct PP_Var (*VarFromUtf8)(PP_Module module, member
/external/chromium_org/ppapi/proxy/
Dppb_var_unittest.cc47 vars_[i] = ppb_var_->VarFromUtf8(test_strings_[i].c_str(), in TEST_F()
107 vars_out_[i] = ppb_var->VarFromUtf8(strings_in_[i].c_str(), in ThreadMain()
Dppp_instance_private_proxy_unittest.cc121 PPB_Var_Shared::GetVarInterface1_0()->VarFromUtf8,
Dwebsocket_resource_unittest.cc50 return ppb_var_->VarFromUtf8(string.c_str(), string.length()); in MakeStringVar()
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/
Dnacl_io_demo.c100 return g_ppb_var->VarFromUtf8(str, strlen(str)); in CStrToVar()
149 var = g_ppb_var->VarFromUtf8(string, strlen(string)); in VprintfToVar()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dtty_test.cc67 PP_Var message_var = var_iface_->VarFromUtf8(string, strlen(string)); in TtyWrite()
89 PP_Var message_var = var_iface->VarFromUtf8(message.data(), message.size()); in TEST_F()
Djs_fs_test.cc187 PP_Var value_var = var_if->VarFromUtf8(value, strlen(value)); in SetDictKeyValue()
194 PP_Var key_var = var_if->VarFromUtf8(key, strlen(key)); in SetDictKeyValue()
212 PP_Var value_var = var_if->VarFromUtf8(value, strlen(value)); in SetArrayValue()
/external/chromium_org/native_client_sdk/src/examples/tutorial/debugging/
Ddebugging.c80 struct PP_Var var = ppb_var_interface->VarFromUtf8(str, strlen(str)); in PostMessage()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/devfs/
Ddev_fs.cc149 struct PP_Var val = var_iface->VarFromUtf8(var_data, len); in Write()
Djspipe_event_emitter.cc85 return var_iface_->VarFromUtf8(string, strlen(string)); in VarFromCStr()

12