/external/libvpx/libvpx/vp8/common/ |
D | reconintra4x4.c | 147 unsigned char pp[9]; in vp8_intra4x4_predict_c() local 149 pp[0] = Left[3]; in vp8_intra4x4_predict_c() 150 pp[1] = Left[2]; in vp8_intra4x4_predict_c() 151 pp[2] = Left[1]; in vp8_intra4x4_predict_c() 152 pp[3] = Left[0]; in vp8_intra4x4_predict_c() 153 pp[4] = top_left; in vp8_intra4x4_predict_c() 154 pp[5] = Above[0]; in vp8_intra4x4_predict_c() 155 pp[6] = Above[1]; in vp8_intra4x4_predict_c() 156 pp[7] = Above[2]; in vp8_intra4x4_predict_c() 157 pp[8] = Above[3]; in vp8_intra4x4_predict_c() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
D | reconintra4x4.c | 147 unsigned char pp[9]; in vp8_intra4x4_predict_c() local 149 pp[0] = Left[3]; in vp8_intra4x4_predict_c() 150 pp[1] = Left[2]; in vp8_intra4x4_predict_c() 151 pp[2] = Left[1]; in vp8_intra4x4_predict_c() 152 pp[3] = Left[0]; in vp8_intra4x4_predict_c() 153 pp[4] = top_left; in vp8_intra4x4_predict_c() 154 pp[5] = Above[0]; in vp8_intra4x4_predict_c() 155 pp[6] = Above[1]; in vp8_intra4x4_predict_c() 156 pp[7] = Above[2]; in vp8_intra4x4_predict_c() 157 pp[8] = Above[3]; in vp8_intra4x4_predict_c() [all …]
|
/external/bluetooth/bluedroid/stack/hcic/ |
D | hcicmds.c | 46 UINT8 *pp; in btsnd_hcic_inquiry() local 51 pp = (UINT8 *)(p + 1); in btsnd_hcic_inquiry() 56 UINT16_TO_STREAM (pp, HCI_INQUIRY); in btsnd_hcic_inquiry() 57 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_INQUIRY); in btsnd_hcic_inquiry() 59 LAP_TO_STREAM (pp, inq_lap); in btsnd_hcic_inquiry() 60 UINT8_TO_STREAM (pp, duration); in btsnd_hcic_inquiry() 61 UINT8_TO_STREAM (pp, response_cnt); in btsnd_hcic_inquiry() 70 UINT8 *pp; in btsnd_hcic_inq_cancel() local 75 pp = (UINT8 *)(p + 1); in btsnd_hcic_inq_cancel() 79 UINT16_TO_STREAM (pp, HCI_INQUIRY_CANCEL); in btsnd_hcic_inq_cancel() [all …]
|
D | hciblecmds.c | 41 UINT8 *pp; in btsnd_hcic_ble_set_evt_mask() local 46 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_evt_mask() 51 UINT16_TO_STREAM (pp, HCI_BLE_SET_EVENT_MASK); in btsnd_hcic_ble_set_evt_mask() 52 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SET_EVENT_MASK); in btsnd_hcic_ble_set_evt_mask() 53 ARRAY8_TO_STREAM (pp, event_mask); in btsnd_hcic_ble_set_evt_mask() 63 UINT8 *pp; in btsnd_hcic_ble_read_buffer_size() local 68 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_read_buffer_size() 73 UINT16_TO_STREAM (pp, HCI_BLE_READ_BUFFER_SIZE); in btsnd_hcic_ble_read_buffer_size() 74 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_read_buffer_size() 83 UINT8 *pp; in btsnd_hcic_ble_read_local_spt_feat() local [all …]
|
/external/blktrace/btt/ |
D | plat.c | 33 struct plat_info *pp; in plat_alloc() local 37 pp = malloc(sizeof(*pp)); in plat_alloc() 38 pp->nl = 0; in plat_alloc() 39 pp->first_ts = pp->last_ts = pp->tl = -1.0; in plat_alloc() 43 if ((pp->fp = my_fopen(oname, "w")) == NULL) { in plat_alloc() 47 add_file(pp->fp, oname); in plat_alloc() 49 return pp; in plat_alloc() 54 struct plat_info *pp = info; in plat_free() local 56 if (pp == NULL) return; in plat_free() 58 if (pp->first_ts != -1.0) { in plat_free() [all …]
|
/external/libnfc-nci/src/nfc/nci/ |
D | nci_hmsgs.c | 47 UINT8 *pp; in nci_snd_core_reset() local 56 pp = (UINT8 *) (p + 1) + p->offset; in nci_snd_core_reset() 58 NCI_MSG_BLD_HDR0 (pp, NCI_MT_CMD, NCI_GID_CORE); in nci_snd_core_reset() 59 NCI_MSG_BLD_HDR1 (pp, NCI_MSG_CORE_RESET); in nci_snd_core_reset() 60 UINT8_TO_STREAM (pp, NCI_CORE_PARAM_SIZE_RESET); in nci_snd_core_reset() 61 UINT8_TO_STREAM (pp, reset_type); in nci_snd_core_reset() 79 UINT8 *pp; in nci_snd_core_init() local 88 pp = (UINT8 *) (p + 1) + p->offset; in nci_snd_core_init() 90 NCI_MSG_BLD_HDR0 (pp, NCI_MT_CMD, NCI_GID_CORE); in nci_snd_core_init() 91 NCI_MSG_BLD_HDR1 (pp, NCI_MSG_CORE_INIT); in nci_snd_core_init() [all …]
|
D | nci_hrcv.c | 49 UINT8 *pp, len, op_code; in nci_proc_core_rsp() local 55 pp = p+1; in nci_proc_core_rsp() 56 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_rsp() 58 len = *pp++; in nci_proc_core_rsp() 64 nfc_ncif_proc_reset_rsp (pp, FALSE); in nci_proc_core_rsp() 77 nfc_ncif_set_config_status (pp, len); in nci_proc_core_rsp() 85 nfc_ncif_report_conn_close_evt (*p_old, *pp); in nci_proc_core_rsp() 108 UINT8 *pp, len, op_code; in nci_proc_core_ntf() local 113 pp = p+1; in nci_proc_core_ntf() 114 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_ntf() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-shape.cc | 38 parse_space (const char **pp, const char *end) in parse_space() argument 40 while (*pp < end && ISSPACE (**pp)) in parse_space() 41 (*pp)++; in parse_space() 46 parse_char (const char **pp, const char *end, char c) in parse_char() argument 48 parse_space (pp, end); in parse_char() 50 if (*pp == end || **pp != c) in parse_char() 53 (*pp)++; in parse_char() 58 parse_uint (const char **pp, const char *end, unsigned int *pv) in parse_uint() argument 61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint() 62 strncpy (buf, *pp, len); in parse_uint() [all …]
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-shape.cc | 38 parse_space (const char **pp, const char *end) in parse_space() argument 40 while (*pp < end && ISSPACE (**pp)) in parse_space() 41 (*pp)++; in parse_space() 46 parse_char (const char **pp, const char *end, char c) in parse_char() argument 48 parse_space (pp, end); in parse_char() 50 if (*pp == end || **pp != c) in parse_char() 53 (*pp)++; in parse_char() 58 parse_uint (const char **pp, const char *end, unsigned int *pv) in parse_uint() argument 61 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint() 62 strncpy (buf, *pp, len); in parse_uint() [all …]
|
/external/chromium_org/pdf/ |
D | instance.h | 40 namespace pp { 48 class Instance : public pp::InstancePrivate, 49 public pp::Find_Private, 50 public pp::Printing_Dev, 51 public pp::Selection_Dev, 52 public pp::WidgetClient_Dev, 53 public pp::Zoom_Dev, 66 virtual bool HandleDocumentLoad(const pp::URLLoader& loader) OVERRIDE; 67 virtual bool HandleInputEvent(const pp::InputEvent& event) OVERRIDE; 68 virtual void DidChangeView(const pp::View& view) OVERRIDE; [all …]
|
D | out_of_process_instance.cc | 140 pp::Var var; in GetLinkAtPosition() 141 void* object = pp::Instance::GetPerInstanceObject(instance, kPPPPdfInterface); in GetLinkAtPosition() 144 pp::Point(point)); in GetLinkAtPosition() 151 pp::Instance::GetPerInstanceObject(instance, kPPPPdfInterface); in Transform() 191 void ScalePoint(float scale, pp::Point* point) { in ScalePoint() 196 void ScaleRect(float scale, pp::Rect* rect) { in ScaleRect() 207 pp::Var ModalDialog(const pp::Instance* instance, in ModalDialog() 213 pp::Module::Get()->GetBrowserInterface( in ModalDialog() 215 pp::VarPrivate window(pp::PASS_REF, in ModalDialog() 226 : pp::Instance(instance), in OutOfProcessInstance() [all …]
|
D | paint_manager.h | 14 namespace pp { 34 pp::Point offset; 35 pp::Rect rect; 36 pp::ImageData image_data; 39 ReadyRect(const pp::Rect& r, const pp::ImageData& i, bool f) in ReadyRect() 70 virtual void OnPaint(const std::vector<pp::Rect>& paint_rects, 72 std::vector<pp::Rect>* pending) = 0; 102 PaintManager(pp::Instance* instance, Client* client, bool is_always_opaque); 110 static pp::Size GetNewContextSize(const pp::Size& current_context_size, 111 const pp::Size& plugin_size); [all …]
|
D | out_of_process_instance.h | 32 namespace pp { 38 class OutOfProcessInstance : public pp::Instance, 39 public pp::Find_Private, 40 public pp::Printing_Dev, 41 public pp::Selection_Dev, 53 virtual void HandleMessage(const pp::Var& message) OVERRIDE; 54 virtual bool HandleInputEvent(const pp::InputEvent& event) OVERRIDE; 55 virtual void DidChangeView(const pp::View& view) OVERRIDE; 63 virtual void OnPaint(const std::vector<pp::Rect>& paint_rects, 65 std::vector<pp::Rect>* pending) OVERRIDE; [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/cpp/ |
D | cpp-preproc.c | 97 cpp_build_cmdline(yasm_preproc_cpp *pp, const char *extra) in cpp_build_cmdline() argument 108 arg = TAILQ_FIRST(&pp->cpp_args); in cpp_build_cmdline() 127 APPEND(pp->filename); in cpp_build_cmdline() 134 cpp_invoke(yasm_preproc_cpp *pp) in cpp_invoke() argument 138 cmdline = cpp_build_cmdline(pp, NULL); in cpp_invoke() 141 pp->f = popen(cmdline, "r"); in cpp_invoke() 142 if (!pp->f) in cpp_invoke() 153 cpp_destroy_args(yasm_preproc_cpp *pp) in cpp_destroy_args() argument 157 while ( (arg = TAILQ_FIRST(&pp->cpp_args)) ) { in cpp_destroy_args() 158 TAILQ_REMOVE(&pp->cpp_args, arg, entry); in cpp_destroy_args() [all …]
|
/external/chromium_org/ppapi/examples/font/ |
D | simple_font.cc | 19 class MyInstance : public pp::Instance { 22 : pp::Instance(instance) { in MyInstance() 25 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { in DidChangeView() 30 pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, last_size_, true); in DidChangeView() 31 pp::Graphics2D graphics(this, last_size_, false); in DidChangeView() 34 pp::BrowserFontDescription desc; in DidChangeView() 37 pp::BrowserFont_Trusted font(this, desc); in DidChangeView() 40 pp::Rect text_clip(position.size()); // Use entire bounds for clip. in DidChangeView() 42 pp::BrowserFontTextRun( in DidChangeView() 44 pp::Point(20, 100), 0x80008000, clip, false); in DidChangeView() [all …]
|
/external/chromium_org/ppapi/tests/ |
D | test_graphics_2d.cc | 28 bool CanFlushContext(pp::Instance* instance, pp::Graphics2D* context) { in CanFlushContext() 34 bool CanFlushContextC(pp::Instance* instance, PP_Resource graphics_2d, in CanFlushContextC() 52 pp::Module::Get()->GetBrowserInterface(PPB_GRAPHICS_2D_INTERFACE_1_1)); in Init() 54 pp::Module::Get()->GetBrowserInterface(PPB_IMAGEDATA_INTERFACE_1_0)); in Init() 80 bool TestGraphics2D::ReadImageData(const pp::Graphics2D& dc, in ReadImageData() 81 pp::ImageData* image, in ReadImageData() 82 const pp::Point& top_left) const { in ReadImageData() 89 bool TestGraphics2D::IsDCUniformColor(const pp::Graphics2D& dc, in IsDCUniformColor() 91 pp::ImageData readback(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, in IsDCUniformColor() 95 if (!ReadImageData(dc, &readback, pp::Point(0, 0))) in IsDCUniformColor() [all …]
|
D | test_paint_aggregator.cc | 40 pp::PaintAggregator greg; in TestInitialState() 47 pp::PaintAggregator greg; in TestSingleInvalidation() 49 pp::Rect rect(2, 4, 10, 16); in TestSingleInvalidation() 62 pp::PaintAggregator greg; in TestDoubleDisjointInvalidation() 64 pp::Rect r1(2, 4, 2, 4); in TestDoubleDisjointInvalidation() 65 pp::Rect r2(4, 2, 4, 2); in TestDoubleDisjointInvalidation() 70 pp::Rect expected_bounds = r1.Union(r2); in TestDoubleDisjointInvalidation() 81 pp::PaintAggregator greg; in TestSingleScroll() 83 pp::Rect r1(2, 4, 2, 4); in TestSingleScroll() 84 pp::Rect r2(4, 2, 4, 2); in TestSingleScroll() [all …]
|
/external/chromium_org/ppapi/tests/extensions/media_galleries/ |
D | test_galleries.cc | 19 class FilePassingInstance : public pp::Instance { 31 virtual void HandleMessage(const pp::Var& var_message); 35 pp::FileRef ParseMessage(const pp::Var& var_message, std::string* test_type); 37 void TestRead(pp::FileRef file_ref); 38 void TestWrite(pp::FileRef file_ref); 42 : pp::Instance(instance) {} in FilePassingInstance() 53 pp::FileRef FilePassingInstance::ParseMessage(const pp::Var& var_message, in ParseMessage() 57 return pp::FileRef(); in ParseMessage() 59 pp::VarDictionary var_dictionary_message(var_message); in ParseMessage() 60 pp::Var var_filesystem = var_dictionary_message.Get("filesystem"); in ParseMessage() [all …]
|
/external/chromium_org/ppapi/examples/audio_input/ |
D | audio_input.cc | 41 class MyInstance : public pp::Instance { 44 : pp::Instance(instance), in MyInstance() 64 sample_count_ = pp::AudioConfig::RecommendSampleFrameCount(this, in Init() 72 device_detector_ = pp::AudioInput_Dev(this); in Init() 82 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { in DidChangeView() 87 device_context_ = pp::Graphics2D(this, size_, false); in DidChangeView() 94 virtual void HandleMessage(const pp::Var& message_data) { in HandleMessage() 101 PostMessage(pp::Var("MonitorDeviceChangeFailed")); in HandleMessage() 103 pp::CompletionCallbackWithOutput<std::vector<pp::DeviceRef_Dev> > in HandleMessage() 108 PostMessage(pp::Var("EnumerationFailed")); in HandleMessage() [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
D | enh_upsample.c | 33 const int16_t *pp; in WebRtcIlbcfix_EnhUpsample() local 40 pp=WebRtcIlbcfix_kEnhPolyPhaser[j]+1; in WebRtcIlbcfix_EnhUpsample() 42 (*pu11) = WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample() 43 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample() 44 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample() 47 pp=WebRtcIlbcfix_kEnhPolyPhaser[j]+1; in WebRtcIlbcfix_EnhUpsample() 49 (*pu11) = WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample() 50 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample() 51 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample() 52 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample() [all …]
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
D | operator_test.cpp | 27 pp::Token token; in TEST_P() 55 {"++", pp::Token::OP_INC}, 56 {"--", pp::Token::OP_DEC}, 57 {"<<", pp::Token::OP_LEFT}, 58 {">>", pp::Token::OP_RIGHT}, 59 {"<=", pp::Token::OP_LE}, 60 {">=", pp::Token::OP_GE}, 61 {"==", pp::Token::OP_EQ}, 62 {"!=", pp::Token::OP_NE}, 63 {"&&", pp::Token::OP_AND}, [all …]
|
D | version_test.cpp | 21 handleVersion(pp::SourceLocation(0, 1), 200)); in TEST_F() 43 handleVersion(pp::SourceLocation(0, 1), 200)); in TEST_F() 58 handleVersion(pp::SourceLocation(0, 1), 200)); in TEST_F() 60 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_DIRECTIVE, _, _)); in TEST_F() 75 handleVersion(pp::SourceLocation(0, 3), 200)); in TEST_F() 92 handleVersion(pp::SourceLocation(0, 3), 200)); in TEST_F() 107 print(pp::Diagnostics::PP_VERSION_NOT_FIRST_STATEMENT, in TEST_F() 108 pp::SourceLocation(0, 2), _)); in TEST_F() 110 pp::Token token; in TEST_F() 114 } while (token.type != pp::Token::LAST); in TEST_F() [all …]
|
D | location_test.cpp | 16 const pp::SourceLocation& location) in expectLocation() 20 pp::Token token; in expectLocation() 22 EXPECT_EQ(pp::Token::IDENTIFIER, token.type); in expectLocation() 33 pp::SourceLocation loc(0, 1); in TEST_F() 42 pp::SourceLocation loc(0, 2); in TEST_F() 51 pp::SourceLocation loc(1, 1); in TEST_F() 60 pp::SourceLocation loc(1, 2); in TEST_F() 69 pp::SourceLocation loc(0, 3); in TEST_F() 80 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INVALID_CHARACTER, in TEST_F() 81 pp::SourceLocation(0, 3), in TEST_F() [all …]
|
/external/chromium_org/ppapi/examples/enumerate_devices/ |
D | enumerate_devices.cc | 32 class EnumerateDevicesDemoModule : public pp::Module { 34 EnumerateDevicesDemoModule() : pp::Module() {} in EnumerateDevicesDemoModule() 36 virtual pp::Instance* CreateInstance(PP_Instance instance); 39 class EnumerateDevicesDemoInstance : public pp::Instance, 40 public pp::VideoCaptureClient_Dev { 42 EnumerateDevicesDemoInstance(PP_Instance instance, pp::Module* module); 46 virtual void HandleMessage(const pp::Var& message_data); 51 const std::vector<pp::Buffer_Dev>& buffers) {} in OnDeviceInfo() 58 std::vector<pp::DeviceRef_Dev>& devices); 60 pp::VideoCapture_Dev video_capture_; [all …]
|
/external/chromium_org/native_client_sdk/src/examples/api/var_dictionary/ |
D | var_dictionary.cc | 28 pp::Var MakeResult(const char* cmd, const pp::Var& value, in MakeResult() 29 const pp::Var& newDictionary) { in MakeResult() 30 pp::VarDictionary dict; in MakeResult() 39 class VarDictionaryInstance : public pp::Instance { 42 : pp::Instance(instance) {} in VarDictionaryInstance() 49 pp::VarArray array; in Init() 55 PostResult("", pp::Var()); in Init() 60 virtual void HandleMessage(const pp::Var& var_message) { in HandleMessage() 66 pp::VarDictionary dict_message(var_message); in HandleMessage() 67 pp::Var var_command = dict_message.Get("cmd"); in HandleMessage() [all …]
|