/external/skia/platform_tools/nacl/src/ |
H A D | nacl_debugger.cpp | 34 // Skia's subclass of pp::Instance, our interface with the browser. 35 class SkiaInstance : public pp::Instance { 38 : pp::Instance(instance) 53 virtual void HandleMessage(const pp::Var& var_message) { 142 fDeviceContext.PaintImageData(fImage, pp::Point(0, 0)); 145 fDeviceContext.Flush(pp::CompletionCallback(&FlushCallback, this)); 154 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { 162 fDeviceContext = pp::Graphics2D(this, pp 216 namespace pp { namespace [all...] |
H A D | nacl_sample.cpp | 27 class SkiaInstance : public pp::Instance { 29 explicit SkiaInstance(PP_Instance instance) : pp::Instance(instance), 46 virtual void HandleMessage(const pp::Var& var_message) { 56 virtual void DidChangeView(const pp::Rect& position, 57 const pp::Rect& clip) { 69 fPixelBuffer = new pp::ImageData(this, 126 void CreateContext(const pp::Size& size) { 129 fGraphics2dContext = new pp::Graphics2D(this, size, false); 147 fGraphics2dContext->PaintImageData(*fPixelBuffer, pp::Point()); 151 fGraphics2dContext->Flush(pp 177 namespace pp { namespace [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | test_compositor.cc | 45 if (!glInitializePPAPI(pp::Module::Get()->get_browser_interface())) 105 pp::Graphics3D graphics_3d(instance_, attribs); 109 pp::Compositor compositor = pp::Compositor(instance_); 113 pp::CompositorLayer color_layer = compositor.AddLayer(); 120 pp::CompositorLayer texture_layer = compositor.AddLayer(); 126 pp::Size(100, 100), 129 pp::ImageData image; 131 pp::CompositorLayer image_layer = compositor.AddLayer(); 135 image_layer.SetImage(image, pp [all...] |
H A D | test_udp_socket.cc | 23 pp::NetAddress ReplacePort(const pp::InstanceHandle& instance, 24 const pp::NetAddress& addr, 32 return pp::NetAddress(instance, ipv4_addr); 39 return pp::NetAddress(instance, ipv6_addr); 45 return pp::NetAddress(); 54 bool tcp_socket_is_available = pp::TCPSocket::IsAvailable(); 58 bool udp_socket_is_available = pp::UDPSocket::IsAvailable(); 62 bool net_address_is_available = pp::NetAddress::IsAvailable(); 88 std::string TestUDPSocket::GetLocalAddress(pp [all...] |
H A D | test_view.cc | 29 void TestView::DidChangeView(const pp::View& view) { 55 pp::CompletionCallbackFactory<TestView> factory(this); 56 pp::CompletionCallback timeout = 58 pp::Module::Get()->core()->CallOnMainThread( 107 PP_Time begin_time = pp::Module::Get()->core()->GetTime(); 110 pp::Module::Get()->core()->GetTime() - begin_time < 128 begin_time = pp::Module::Get()->core()->GetTime(); 131 pp::Module::Get()->core()->GetTime() - begin_time < 140 pp::Rect original_rect = last_view_.GetRect(); 142 pp [all...] |
H A D | test_core.cc | 24 pp::Core* core = pp::Module::Get()->core(); 37 pp::Core* core = pp::Module::Get()->core();
|
H A D | test_platform_verification_private.cc | 26 pp::PlatformVerification platform_verification_api(instance_); 28 pp::VarArrayBuffer challenge_array(256); 35 pp::Var signed_data, signed_data_signature, platform_key_certificate; 37 pp::Var(service_id_str), challenge_array, &signed_data,
|
/external/chromium_org/native_client_sdk/src/examples/api/websocket/ |
H A D | websocket.cc | 15 class WebSocketInstance : public pp::Instance { 18 : pp::Instance(instance), websocket_(NULL) {} 20 virtual void HandleMessage(const pp::Var& var_message); 39 pp::WebSocket* websocket_; 40 pp::Var receive_var_; 47 static std::string ArrayToString(pp::VarArrayBuffer& array) { 60 void WebSocketInstance::HandleMessage(const pp::Var& var_message) { 100 pp::CompletionCallback callback(OnConnectCompletionCallback, this); 101 websocket_ = new pp::WebSocket(this); 104 websocket_->Connect(pp 203 namespace pp { namespace [all...] |
/external/chromium_org/pdf/ |
H A D | paint_aggregator.cc | 39 pp::Rect PaintAggregator::InternalPaintUpdate::GetScrollDamage() const { 43 pp::Rect damaged_rect; 99 pp::Rect scroll_damage = update_.GetScrollDamage(); 112 const std::vector<pp::Rect>& pending) { 122 void PaintAggregator::InvalidateRect(const pp::Rect& rect) { 126 void PaintAggregator::ScrollRect(const pp::Rect& clip_rect, 127 const pp::Point& amount) { 154 if (update_.scroll_delta == pp::Point()) { 155 update_.scroll_rect = pp::Rect(); 163 std::vector<pp [all...] |
H A D | pdf_engine.h | 28 namespace pp { namespace 65 virtual void DocumentSizeUpdated(const pp::Size& size) = 0; 68 virtual void Invalidate(const pp::Rect& rect) = 0; 71 virtual void Scroll(const pp::Point& point) = 0; 87 virtual void UpdateTickMarks(const std::vector<pp::Rect>& tickmarks) = 0; 102 pp::CompletionCallbackWithOutput<pp::Var> callback) = 0; 138 virtual pp::URLLoader CreateURLLoader() = 0; 164 virtual pp::Instance* GetPluginInstance() = 0; 188 virtual void PageOffsetUpdated(const pp [all...] |
H A D | instance.cc | 195 pp::Var var; 197 pp::Instance::GetPerInstanceObject(instance, kPPPPdfInterface); 199 var = static_cast<Instance*>(object)->GetLinkAtPosition(pp::Point(point)); 205 pp::Instance::GetPerInstanceObject(instance, kPPPPdfInterface); 244 void ScalePoint(float scale, pp::Point* point) { 249 void ScaleRect(float scale, pp::Rect* rect) { 266 : pp::InstancePrivate(instance), 267 pp::Find_Private(this), 268 pp::Printing_Dev(this), 269 pp [all...] |
/external/chromium_org/pdf/pdfium/ |
H A D | pdfium_engine.h | 28 namespace pp { namespace 50 virtual void PageOffsetUpdated(const pp::Point& page_offset); 51 virtual void PluginSizeUpdated(const pp::Size& size); 55 virtual void Paint(const pp::Rect& rect, 56 pp::ImageData* image_data, 57 std::vector<pp::Rect>* ready, 58 std::vector<pp::Rect>* pending); 60 virtual bool HandleDocumentLoad(const pp::URLLoader& loader); 61 virtual bool HandleEvent(const pp::InputEvent& event); 64 virtual pp [all...] |
/external/chromium_org/ppapi/examples/compositor/ |
H A D | compositor.cc | 56 class DemoInstance : public pp::Instance, public pp::Graphics3DClient { 61 // pp::Instance implementation (see PPP_Instance). 63 virtual void DidChangeView(const pp::Rect& position, 64 const pp::Rect& clip); 65 virtual bool HandleInputEvent(const pp::InputEvent& event); 67 // pp::Graphics3DClient implementation. 74 pp::ImageData PrepareImage(); 78 void OnImageReleased(int32_t result, const pp::ImageData& image); 80 pp 446 namespace pp { namespace [all...] |
/external/chromium_org/ppapi/cpp/ |
H A D | core.cc | 9 namespace pp { namespace 25 } // namespace pp
|
H A D | graphics_3d_client.h | 14 namespace pp { namespace 41 } // namespace pp
|
H A D | mouse_cursor.h | 13 namespace pp { namespace 54 } // namespace pp
|
/external/chromium_org/ppapi/cpp/dev/ |
H A D | crypto_dev.cc | 11 namespace pp { namespace 29 } // namespace pp
|
H A D | view_dev.h | 10 namespace pp { namespace 42 } // namespace pp
|
/external/chromium_org/ppapi/cpp/private/ |
H A D | flash_device_id.h | 11 namespace pp { namespace 24 } // namespace pp
|
H A D | input_event_private.h | 11 namespace pp { namespace
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
H A D | Macro.cpp | 11 namespace pp namespace 22 } // namespace pp
|
/external/chromium_org/third_party/skia/platform_tools/nacl/src/ |
H A D | nacl_sample.cpp | 27 class SkiaInstance : public pp::Instance { 29 explicit SkiaInstance(PP_Instance instance) : pp::Instance(instance), 46 virtual void HandleMessage(const pp::Var& var_message) { 56 virtual void DidChangeView(const pp::Rect& position, 57 const pp::Rect& clip) { 69 fPixelBuffer = new pp::ImageData(this, 126 void CreateContext(const pp::Size& size) { 129 fGraphics2dContext = new pp::Graphics2D(this, size, false); 147 fGraphics2dContext->PaintImageData(*fPixelBuffer, pp::Point()); 151 fGraphics2dContext->Flush(pp 177 namespace pp { namespace [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
H A D | parser.h | 55 * \param pp preprocessor 63 (yasm_object *object, yasm_preproc *pp, int save_input,
|
/external/iproute2/tc/ |
H A D | m_gact.c | 102 struct tc_gact_p pp; local 138 pp.ptype = PGACT_NETRAND; 141 pp.ptype = PGACT_DETERM; 149 pp.paction = action; 156 if (get_u16(&pp.pval, *argv, 10)) { 157 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); 160 if (pp.pval > 10000) { 161 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); 195 addattr_l(n, MAX_MSG, TCA_GACT_PROB, &pp, sizeof (pp)); 211 struct tc_gact_p *pp = NULL; local [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
H A D | Makefile | 20 OCAMLCFLAGS += -pp camlp4of
|