Home
last modified time | relevance | path

Searched refs:pp_result (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_tcp_socket_message_filter.cc510 int pp_result = PP_OK; in DoBind() local
516 pp_result = PP_ERROR_ADDRESS_INVALID; in DoBind()
522 pp_result = NetErrorToPepperError(socket_->Open(bind_addr.GetFamily())); in DoBind()
523 if (pp_result != PP_OK) in DoBind()
526 pp_result = NetErrorToPepperError(socket_->SetDefaultOptionsForServer()); in DoBind()
527 if (pp_result != PP_OK) in DoBind()
530 pp_result = NetErrorToPepperError(socket_->Bind(bind_addr)); in DoBind()
531 if (pp_result != PP_OK) in DoBind()
535 pp_result = in DoBind()
537 if (pp_result != PP_OK) in DoBind()
[all …]
Dpepper_tcp_server_socket_message_filter.cc215 int32_t pp_result = in OnListenCompleted() local
217 if (pp_result != PP_OK) { in OnListenCompleted()
218 SendListenError(context, pp_result); in OnListenCompleted()
255 int32_t pp_result = NetErrorToPepperError( in OnAcceptCompleted() local
257 if (pp_result != PP_OK) { in OnAcceptCompleted()
258 SendAcceptError(context, pp_result); in OnAcceptCompleted()
292 int32_t pp_result, in SendListenReply() argument
295 reply_context.params.set_result(pp_result); in SendListenReply()
302 int32_t pp_result) { in SendListenError() argument
304 context, pp_result, NetAddressPrivateImpl::kInvalidNetAddress); in SendListenError()
[all …]
Dpepper_udp_socket_message_filter.cc271 int32_t pp_result = in DoBind() local
273 if (pp_result != PP_OK) { in DoBind()
274 SendBindError(context, pp_result); in DoBind()
279 pp_result = NetErrorToPepperError(socket->GetLocalAddress(&bound_address)); in DoBind()
280 if (pp_result != PP_OK) { in DoBind()
281 SendBindError(context, pp_result); in DoBind()
386 int32_t pp_result = NetErrorToPepperError(net_result); in OnRecvFromCompleted() local
391 if (pp_result >= 0 && in OnRecvFromCompleted()
394 pp_result = PP_ERROR_ADDRESS_INVALID; in OnRecvFromCompleted()
397 if (pp_result >= 0) { in OnRecvFromCompleted()
[all …]
Dpepper_tcp_socket_message_filter.h129 int32_t pp_result,
134 int32_t pp_result,
140 int32_t pp_result);
142 int32_t pp_result,
147 int32_t pp_result);
149 int32_t pp_result);
151 int32_t pp_result,
Dpepper_tcp_server_socket_message_filter.h78 int32_t pp_result,
81 int32_t pp_result);
83 int32_t pp_result,
88 int32_t pp_result);
Dpepper_tcp_socket.cc415 int32_t pp_result = NetErrorToPepperError(net_result); in OnConnectCompleted() local
417 if (pp_result != PP_OK) in OnConnectCompleted()
422 pp_result = in OnConnectCompleted()
424 if (pp_result != PP_OK) in OnConnectCompleted()
426 pp_result = in OnConnectCompleted()
428 if (pp_result != PP_OK) in OnConnectCompleted()
443 pp_result = PP_ERROR_ADDRESS_INVALID; in OnConnectCompleted()
457 SendConnectACKError(pp_result); in OnConnectCompleted()
/external/chromium_org/content/renderer/pepper/
Dmessage_channel.cc340 ScopedPPVar pp_result; in PostBlockingMessageToNative() local
341 bool was_handled = instance_->HandleBlockingMessage(param, &pp_result); in PostBlockingMessageToNative()
349 v8::Handle<v8::Value> v8_result = try_catch.ToV8(pp_result.get()); in PostBlockingMessageToNative()
/external/chromium_org/ppapi/proxy/
Dudp_socket_resource_base.cc319 int32_t pp_result) { in RunCallback() argument
320 callback->Run(ConvertNetworkAPIErrorForCompatibility(pp_result, in RunCallback()
Dudp_socket_resource_base.h98 void RunCallback(scoped_refptr<TrackedCallback> callback, int32_t pp_result);
Dtcp_socket_resource_base.h145 void RunCallback(scoped_refptr<TrackedCallback> callback, int32_t pp_result);
Dtcp_socket_resource_base.cc505 int32_t pp_result) { in RunCallback() argument
507 pp_result, version_ == TCP_SOCKET_VERSION_PRIVATE)); in RunCallback()