/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
H A D | token_test.cpp | 13 pp::Token token; 23 pp::Token token; 30 token = pp::Token(); 40 pp::Token token; 41 EXPECT_TRUE(token.equals(pp::Token())); 44 EXPECT_FALSE(token.equals(pp::Token())); 48 EXPECT_FALSE(token.equals(pp::Token())); 52 EXPECT_FALSE(token.equals(pp::Token())); 56 EXPECT_FALSE(token.equals(pp::Token())); 60 EXPECT_FALSE(token.equals(pp [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/file_io/ |
H A D | file_io.cc | 53 class FileIoInstance : public pp::Instance { 58 : pp::Instance(instance), 80 pp::CompletionCallbackFactory<FileIoInstance> callback_factory_; 81 pp::FileSystem file_system_; 88 pp::SimpleThread file_thread_; 97 virtual void HandleMessage(const pp::Var& var_message) { 143 int32_t rv = file_system_.Open(1024 * 1024, pp::BlockUntilComplete()); 160 pp::FileRef ref(file_system_, file_name.c_str()); 161 pp::FileIO file(this); 167 pp 355 namespace pp { namespace [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | test_instance_deprecated.cc | 27 bool InstanceSO::HasMethod(const pp::Var& name, pp::Var* exception) { 35 pp::Var InstanceSO::Call(const pp::Var& method_name, 36 const std::vector<pp::Var>& args, 37 pp::Var* exception) { 44 *exception = pp::Var("Bad argument to SetValue(<string>)"); 49 *exception = pp::Var("Bad argument to SetException(<string>)"); 54 *exception = pp::Var("Need single arg to call ReturnValue"); 58 *exception = pp [all...] |
H A D | test_host_resolver.h | 13 namespace pp { namespace 17 } // namespace pp 28 std::string SyncConnect(pp::TCPSocket* socket, 29 const pp::NetAddress& address); 30 std::string SyncRead(pp::TCPSocket* socket, 34 std::string SyncWrite(pp::TCPSocket* socket, 38 std::string CheckHTTPResponse(pp::TCPSocket* socket, 41 std::string SyncResolve(pp::HostResolver* host_resolver,
|
H A D | test_host_resolver_private.h | 15 namespace pp { namespace 20 } // namespace pp 31 std::string SyncConnect(pp::TCPSocketPrivate* socket, 34 std::string SyncConnect(pp::TCPSocketPrivate* socket, 36 std::string SyncRead(pp::TCPSocketPrivate* socket, 40 std::string SyncWrite(pp::TCPSocketPrivate* socket, 44 std::string CheckHTTPResponse(pp::TCPSocketPrivate* socket, 47 std::string SyncResolve(pp::HostResolverPrivate* host_resolver,
|
H A D | test_tcp_socket.h | 15 namespace pp { namespace 35 std::string ReadFirstLineFromSocket(pp::TCPSocket* socket, std::string* s); 38 std::string ReadFromSocket(pp::TCPSocket* socket, 41 std::string WriteToSocket(pp::TCPSocket* socket, const std::string& s); 44 std::string GetAddressToBind(pp::NetAddress* address); 45 std::string StartListen(pp::TCPSocket* socket, int32_t backlog); 47 pp::NetAddress addr_;
|
H A D | test_udp_socket_private.h | 24 std::string SetBroadcastOptions(pp::UDPSocketPrivate* socket); 25 std::string BindUDPSocket(pp::UDPSocketPrivate* socket, 27 std::string LookupPortAndBindUDPSocket(pp::UDPSocketPrivate* socket, 29 std::string BindUDPSocketFailure(pp::UDPSocketPrivate* socket, 31 std::string ReadSocket(pp::UDPSocketPrivate* socket, 35 std::string PassMessage(pp::UDPSocketPrivate* target, 36 pp::UDPSocketPrivate* source,
|
H A D | test_message_loop.cc | 35 ASSERT_NE(0, pp::MessageLoop::GetForMainThread().pp_resource()); 36 ASSERT_EQ(pp::MessageLoop::GetForMainThread().pp_resource(), 37 pp::MessageLoop::GetCurrent().pp_resource()); 40 pp::MessageLoop loop(instance_); 45 pp::MessageLoop::GetForMainThread().Run()); 55 pp::MessageLoop::GetCurrent().PostWork(callback_factory_.NewCallback( 61 pp::SimpleThread thread(instance_); 80 pp::MessageLoop::GetForMainThread().Run()); 101 pp::MessageLoop::GetForMainThread().PostWork(
|
H A D | test_flash_fullscreen.cc | 26 bool IsFullscreenView(const pp::Rect& position, 27 const pp::Rect& clip, 28 const pp::Size& screen_size) { 29 return (position.point() == pp::Point(0, 0) && 31 clip.point() == pp::Point(0, 0) && 75 pp::Graphics2D graphics2d_fullscreen(instance_, pp::Size(10, 10), false); 110 pp::Graphics2D graphics2d_normal(instance_, pp::Size(15, 15), false); 137 void TestFlashFullscreen::DidChangeView(const pp [all...] |
H A D | test_flash_message_loop.h | 14 namespace pp { namespace 35 pp::flash::MessageLoop* message_loop_; 36 pp::CompletionCallbackFactory<TestFlashMessageLoop> callback_factory_;
|
H A D | test_mouse_lock.h | 15 class TestMouseLock: public TestCase, public pp::MouseLock { 23 virtual void DidChangeView(const pp::View& view); 25 // pp::MouseLock implementation. 34 pp::Rect position_;
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
H A D | Tokenizer.l | 37 typedef pp::SourceLocation YYLTYPE; 53 pp::Input* input = &yyextra->input; \ 54 pp::Input::Location* scanLoc = &yyextra->scanLoc; \ 73 %option prefix="pp" 74 %option extra-type="pp::Tokenizer::Context*" 109 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER; 114 return pp::Token::IDENTIFIER; 119 return pp::Token::CONST_INT; 124 return pp [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/media_stream_audio/ |
H A D | media_stream_audio.cc | 43 class MediaStreamAudioInstance : public pp::Instance { 46 : pp::Instance(instance), 59 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { 64 device_context_ = pp::Graphics2D(this, size_, false); 71 virtual void HandleMessage(const pp::Var& var_message) { 74 pp::VarDictionary var_dictionary_message(var_message); 75 pp::Var var_track = var_dictionary_message.Get("track"); 79 pp::Resource resource_track = var_track.AsResource(); 80 audio_track_ = pp 222 namespace pp { namespace [all...] |
/external/chromium_org/pdf/ |
H A D | thumbnail_control.h | 34 uint32 id, const pp::Rect& rc, 40 virtual void Paint(pp::ImageData* image_data, const pp::Rect& rc); 41 virtual bool HandleEvent(const pp::InputEvent& event); 51 pp::Rect rect; 55 pp::Rect visible_rect_; 57 std::map<int, pp::ImageData*> image_cache_;
|
H A D | fading_controls.h | 26 uint32 id, const pp::Rect& rc, bool visible, 30 virtual void Paint(pp::ImageData* image_data, const pp::Rect& rc); 31 virtual bool HandleEvent(const pp::InputEvent& event); 34 virtual void MoveBy(const pp::Point& offset, bool invalidate); 38 virtual void Invalidate(uint32 control_id, const pp::Rect& rc); 42 virtual pp::Instance* GetInstance(); 52 virtual pp::Rect GetControlsRect(); 64 bool NotifyControls(const pp::InputEvent& event);
|
/external/chromium_org/ppapi/examples/media_stream_audio/ |
H A D | media_stream_audio.cc | 41 class MediaStreamAudioInstance : public pp::Instance { 44 : pp::Instance(instance), 57 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { 62 device_context_ = pp::Graphics2D(this, size_, false); 69 virtual void HandleMessage(const pp::Var& var_message) { 72 pp::VarDictionary var_dictionary_message(var_message); 73 pp::Var var_track = var_dictionary_message.Get("track"); 77 pp::Resource resource_track = var_track.AsResource(); 78 audio_track_ = pp 217 namespace pp { namespace [all...] |
/external/chromium_org/third_party/skia/platform_tools/nacl/src/ |
H A D | nacl_interface.cpp | 75 // Skia's subclass of pp::Instance, our interface with the browser. 76 class SkiaInstance : public pp::Instance { 78 explicit SkiaInstance(PP_Instance instance) : pp::Instance(instance) { 86 virtual void HandleMessage(const pp::Var& var_message) { 97 class SkiaModule : public pp::Module { 99 SkiaModule() : pp::Module() {} 102 virtual pp::Instance* CreateInstance(PP_Instance instance) { 107 namespace pp { namespace 111 } // namespace pp
|
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...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | cb_mem_energy.c | 40 int16_t *ppi, *ppo, *pp; local 51 pp=CB+lMem-lTarget; 52 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale); 66 pp=filteredCB+lMem-lTarget; 68 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale);
|
/external/skia/platform_tools/nacl/src/ |
H A D | nacl_interface.cpp | 75 // Skia's subclass of pp::Instance, our interface with the browser. 76 class SkiaInstance : public pp::Instance { 78 explicit SkiaInstance(PP_Instance instance) : pp::Instance(instance) { 86 virtual void HandleMessage(const pp::Var& var_message) { 97 class SkiaModule : public pp::Module { 99 SkiaModule() : pp::Module() {} 102 virtual pp::Instance* CreateInstance(PP_Instance instance) { 107 namespace pp { namespace 111 } // namespace pp
|
/external/chromium_org/media/cdm/ppapi/ |
H A D | cdm_file_io_impl.h | 54 const pp::CompletionCallback& first_file_read_cb); 123 void OnFileSystemOpened(int32_t result, pp::FileSystem file_system); 143 // Note: pp::FileRef::Rename() actually does a "move": if the target file 166 const pp::InstanceHandle pp_instance_handle_; 177 pp::IsolatedFileSystemPrivate isolated_file_system_; 178 pp::FileSystem file_system_; 183 pp::FileIO file_io_; 184 pp::FileRef file_ref_; 203 pp::CompletionCallback first_file_read_cb_; 205 pp [all...] |
/external/chromium_org/ppapi/examples/video_capture/ |
H A D | video_capture.cc | 45 class VCDemoModule : public pp::Module { 47 VCDemoModule() : pp::Module() {} 50 virtual pp::Instance* CreateInstance(PP_Instance instance); 53 class VCDemoInstance : public pp::Instance, 54 public pp::Graphics3DClient, 55 public pp::VideoCaptureClient_Dev { 57 VCDemoInstance(PP_Instance instance, pp::Module* module); 60 // pp::Instance implementation (see PPP_Instance). 61 virtual void DidChangeView(const pp::Rect& position, 62 const pp 499 namespace pp { namespace [all...] |
/external/chromium_org/ppapi/cpp/private/ |
H A D | content_decryptor_private.h | 20 namespace pp { namespace 24 // TODO(tomfinegan): Remove redundant pp:: usage, and pass VarArrayBuffers as 34 // TODO(tomfinegan): This could be optimized to pass pp::Var instead of 39 pp::VarArrayBuffer server_certificate) = 0; 42 pp::VarArrayBuffer init_data, 48 pp::VarArrayBuffer response) = 0; 55 virtual void Decrypt(pp::Buffer_Dev encrypted_buffer, 59 pp::Buffer_Dev extra_data_resource) = 0; 62 pp::Buffer_Dev extra_data_resource) = 0; 70 pp [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
H A D | i2d_pr.c | 68 int i2d_PrivateKey(const EVP_PKEY *a, unsigned char **pp) argument 72 return a->ameth->old_priv_encode(a, pp); 76 int ret = i2d_PKCS8_PRIV_KEY_INFO(p8,pp);
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | max_redzone.cc | 18 void *pp[10000]; local 20 pp[i] = malloc(4096 - 64); 23 free(pp[i]);
|