/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/ |
var_array_buffer.cc | 36 class VarArrayBufferInstance : public pp::Instance { 39 : pp::Instance(instance), 50 /// In this case, we only handle <code>pp::VarArrayBuffer</code>s. When we 54 virtual void HandleMessage(const pp::Var& var_message) { 56 pp::VarArrayBuffer buffer(var_message); 62 /// Create and return a blank (all-black) <code>pp::ImageData</code> of the 64 pp::ImageData MakeBlankImageData(const pp::Size& size) { 66 pp::ImageData image_data = 67 pp::ImageData(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, init_to_zero) [all...] |
/external/chromium_org/ppapi/examples/gles2/ |
gles2.cc | 37 class GLES2DemoInstance : public pp::Instance, 38 public pp::Graphics3DClient { 40 GLES2DemoInstance(PP_Instance instance, pp::Module* module); 43 // pp::Instance implementation (see PPP_Instance). 44 virtual void DidChangeView(const pp::Rect& position, 45 const pp::Rect& clip_ignored); 47 // pp::Graphics3DClient implementation. 54 pp::CompletionCallback cb = callback_factory_.NewCallback( 59 virtual bool HandleInputEvent(const pp::InputEvent& event) { 62 pp::Fullscreen(this).SetFullscreen(fullscreen_) 174 namespace pp { namespace [all...] |
/external/chromium_org/ppapi/examples/scaling/ |
scaling.cc | 24 // Example plugin to demonstrate usage of pp::View and pp::Graphics2D APIs for 26 class MyInstance : public pp::Instance { 29 : pp::Instance(instance), 41 virtual void DidChangeView(const pp::View& view) { 42 pp::Rect view_rect = view.GetRect(); 60 virtual bool HandleInputEvent(const pp::InputEvent& event) { 70 virtual void HandleMessage(const pp::Var& message_data) { 94 void HandleMouseDown(const pp::InputEvent& event) { 95 pp::MouseInputEvent mouse_event(event) 225 namespace pp { namespace [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
notify.c | 84 sqlite3 **pp; local 86 for(pp=&sqlite3BlockedList; *pp; pp = &(*pp)->pNextBlocked){ 87 if( *pp==db ){ 88 *pp = (*pp)->pNextBlocked; 99 sqlite3 **pp; local 102 pp=&sqlite3BlockedList; 229 sqlite3 **pp; \/* Iterator variable *\/ local [all...] |
/external/chromium_org/ppapi/examples/url_loader/ |
streaming.cc | 28 class MyInstance : public pp::Instance { 31 : pp::Instance(instance) { 43 virtual void HandleMessage(const pp::Var& message_data); 62 pp::CompletionCallbackFactory<MyInstance> factory_; 64 pp::URLLoader loader_; 65 pp::URLResponseInfo response_; 75 void MyInstance::HandleMessage(const pp::Var& message_data) { 83 pp::URLRequestInfo request(this); 87 loader_ = pp::URLLoader(this); 114 pp::CompletionCallback cc 169 namespace pp { namespace [all...] |
/external/chromium_org/ppapi/tests/ |
test_buffer.cc | 18 pp::Module::Get()->GetBrowserInterface(PPB_BUFFER_DEV_INTERFACE)); 30 pp::Buffer_Dev zero_size(instance_, 0); 38 pp::Buffer_Dev buffer(instance_, 100); 57 pp::Resource null_resource; 63 pp::Graphics2D device(instance_, pp::Size(w, h), true); 70 pp::Buffer_Dev buffer(instance_, 100); 82 pp::Buffer_Dev *buffer = new pp::Buffer_Dev(instance_, kBufferSize); 100 pp::Buffer_Dev* copy = new pp::Buffer_Dev(*buffer) [all...] |
test_paint_aggregator.cc | 40 pp::PaintAggregator greg; 47 pp::PaintAggregator greg; 49 pp::Rect rect(2, 4, 10, 16); 62 pp::PaintAggregator greg; 64 pp::Rect r1(2, 4, 2, 4); 65 pp::Rect r2(4, 2, 4, 2); 70 pp::Rect expected_bounds = r1.Union(r2); 81 pp::PaintAggregator greg; 83 pp::Rect r1(2, 4, 2, 4); 84 pp::Rect r2(4, 2, 4, 2) [all...] |
test_var_deprecated.cc | 28 class VarScriptableObject : public pp::deprecated::ScriptableObject { 32 // pp::deprecated::ScriptableObject overrides. 33 bool HasMethod(const pp::Var& name, pp::Var* exception); 34 pp::Var Call(const pp::Var& name, 35 const std::vector<pp::Var>& args, 36 pp::Var* exception); 42 bool VarScriptableObject::HasMethod(const pp::Var& name, pp::Var* exception) [all...] |
test_ime_input_event.cc | 59 pp::Module::Get()->GetBrowserInterface(PPB_INPUT_EVENT_INTERFACE)); 62 pp::Module::Get()->GetBrowserInterface( 65 pp::Module::Get()->GetBrowserInterface( 97 bool TestImeInputEvent::HandleInputEvent(const pp::InputEvent& input_event) { 124 void TestImeInputEvent::HandleMessage(const pp::Var& message_data) { 132 void TestImeInputEvent::DidChangeView(const pp::View& view) { 136 pp::InputEvent TestImeInputEvent::CreateImeCompositionStartEvent() { 137 return pp::IMEInputEvent( 141 pp::Var(""), 148 pp::InputEvent TestImeInputEvent::CreateImeCompositionUpdateEvent [all...] |
test_pdf.cc | 26 pp::Var string = pp::PDF::GetLocalizedString(instance_, 35 pp::ImageData data = 36 pp::PDF::GetResourceImage(instance_, PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN); 41 pp::Point point(i, j);
|
test_mouse_cursor.cc | 19 pp::Module::Get()->GetBrowserInterface(PPB_MOUSECURSOR_INTERFACE)); 40 pp::ImageData valid_image(instance_, 41 pp::ImageData::GetNativeImageDataFormat(), 42 pp::Size(16, 16), true); 58 pp::ImageData big_image(instance_, pp::ImageData::GetNativeImageDataFormat(), 59 pp::Size(65, 12), true); 68 pp::ImageData valid_image(instance_, 69 pp::ImageData::GetNativeImageDataFormat(), 70 pp::Size(16, 16), true) [all...] |
/external/chromium_org/third_party/angle_dx11/tests/preprocessor_tests/ |
if_test.cpp | 615 print(pp::Diagnostics::INVALID_EXPRESSION, 616 pp::SourceLocation(0, 1), 619 pp::Token token; 630 print(pp::Diagnostics::DIVISION_BY_ZERO, 631 pp::SourceLocation(0, 1), "1 / 0")); 633 pp::Token token; 644 print(pp::Diagnostics::DIVISION_BY_ZERO, 645 pp::SourceLocation(0, 1), "1 % 0")); 647 pp::Token token; 658 print(pp::Diagnostics::INTEGER_OVERFLOW [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/gamepad/ |
gamepad.cc | 27 class GamepadInstance : public pp::Instance { 34 virtual void DidChangeView(const pp::View& view); 53 void CreateContext(const pp::Size& size); 65 pp::CompletionCallbackFactory<GamepadInstance> callback_factory_; 66 pp::Graphics2D* graphics_2d_context_; 67 pp::ImageData* pixel_buffer_; 73 : pp::Instance(instance), 78 pp::Module* module = pp::Module::Get(); 90 void GamepadInstance::DidChangeView(const pp::View& view) 211 namespace pp { namespace [all...] |
/external/chromium_org/ppapi/examples/input/ |
pointer_event_input.cc | 20 pp::Rect SquareForPoint(int x, int y) { 25 static void FillRect(pp::ImageData* image, 34 *image->GetAddr32(pp::Point(x, y)) = color; 38 class MyInstance : public pp::Instance, public pp::PaintManager::Client { 41 : pp::Instance(instance), 49 virtual bool HandleInputEvent(const pp::InputEvent& event) { 52 pp::MouseInputEvent mouse_event(event); 61 pp::MouseInputEvent mouse_event(event); 71 pp::TouchInputEvent touch(event) 172 namespace pp { namespace [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/socket/ |
socket.cc | 25 class ExampleInstance : public pp::Instance { 28 : pp::Instance(instance), 33 virtual void HandleMessage(const pp::Var& var_message); 47 void OnReceiveFromCompletion(int32_t result, pp::NetAddress source); 50 pp::CompletionCallbackFactory<ExampleInstance> callback_factory_; 51 pp::TCPSocket tcp_socket_; 52 pp::UDPSocket udp_socket_; 53 pp::HostResolver resolver_; 54 pp::NetAddress remote_host_; 64 void ExampleInstance::HandleMessage(const pp::Var& var_message) 317 namespace pp { namespace [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/url_loader/ |
url_loader.cc | 27 class URLLoaderInstance : public pp::Instance { 29 explicit URLLoaderInstance(PP_Instance instance) : pp::Instance(instance) {} 38 virtual void HandleMessage(const pp::Var& var_message); 41 void URLLoaderInstance::HandleMessage(const pp::Var& var_message) { 66 class URLLoaderModule : public pp::Module { 68 URLLoaderModule() : pp::Module() {} 72 virtual pp::Instance* CreateInstance(PP_Instance instance) { 77 namespace pp { namespace 79 } // namespace pp
|
/external/chromium_org/ppapi/cpp/ |
module_impl.h | 14 namespace pp { namespace 19 // PP?_XXX structure. 26 pp::Module::Get()->GetBrowserInterface(interface_name<T>())); 36 } // namespace pp
|
ppp_entrypoints.cc | 16 static pp::Module* g_module_singleton = NULL; 19 namespace pp { namespace 22 pp::Module* Module::Get() { 30 } // namespace pp 36 pp::Module* module = pp::CreateModule();
|
/external/chromium_org/ppapi/examples/mouse_lock/ |
mouse_lock.cc | 23 class MyInstance : public pp::Instance, public pp::MouseLock { 26 : pp::Instance(instance), 27 pp::MouseLock(this), 41 pp::Module::Get()->GetBrowserInterface(PPB_CONSOLE_INTERFACE)); 50 virtual bool HandleInputEvent(const pp::InputEvent& event) { 53 pp::MouseInputEvent mouse_event(event); 61 pp::MouseInputEvent mouse_event(event); 70 pp::KeyboardInputEvent key_event(event); 91 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) 272 namespace pp { namespace [all...] |
/external/chromium_org/remoting/client/plugin/ |
pepper_input_handler.h | 11 namespace pp { namespace 13 } // namespace pp 26 bool HandleInputEvent(const pp::InputEvent& event);
|
pepper_plugin_thread_delegate.cc | 13 : core_(pp::Module::Get()->core()) { 26 delay.InMilliseconds(), pp::CompletionCallback(
|
pepper_plugin_thread_delegate.h | 17 namespace pp { namespace 19 } // namespace pp 32 pp::Core* core_;
|
pepper_audio_player.cc | 17 PepperAudioPlayer::PepperAudioPlayer(pp::Instance* instance) 45 samples_per_frame_ = pp::AudioConfig::RecommendSampleFrameCount( 50 pp::AudioConfig audio_config = pp::AudioConfig( 54 audio_ = pp::Audio(instance_, audio_config, AudioPlayerCallback, this);
|
/external/compiler-rt/lib/tsan/lit_tests/ |
malloc_stack.cc | 9 int *pp = __c11_atomic_load(&p, __ATOMIC_RELAXED); local 10 *pp = 42;
|
/external/dropbear/libtommath/etc/ |
mont.c | 6 mp_int modulus, R, p, pp; local 11 mp_init_multi(&modulus, &R, &p, &pp, NULL); 28 mp_mul(&p, &R, &pp); /* pp = R * p */ 29 mp_montgomery_reduce(&pp, &modulus, mp); 32 if (mp_cmp(&pp, &p) != MP_EQ) {
|