/hardware/libhardware/tests/input/evdev/ |
D | InputMocks.cpp | 30 auto node = new MockInputDeviceNode(); in getElanTouchscreen() local 31 node->setPath("/dev/input/event0"); in getElanTouchscreen() 32 node->setName("elan-touchscreen"); in getElanTouchscreen() 35 node->setBusType(0); in getElanTouchscreen() 36 node->setVendorId(0); in getElanTouchscreen() 37 node->setProductId(0); in getElanTouchscreen() 38 node->setVersion(0); in getElanTouchscreen() 42 node->addAbsAxis(ABS_MT_SLOT, nullptr); in getElanTouchscreen() 43 node->addAbsAxis(ABS_MT_TOUCH_MAJOR, nullptr); in getElanTouchscreen() 44 node->addAbsAxis(ABS_MT_POSITION_X, nullptr); in getElanTouchscreen() [all …]
|
D | InputDevice_test.cpp | 70 auto node = std::make_shared<MockInputDeviceNode>(); in TEST_F() local 71 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 99 auto node = std::make_shared<MockInputDeviceNode>(); in TEST_F() local 100 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 115 auto node = std::make_shared<MockInputDeviceNode>(); in TEST_F() local 116 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 132 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getElanTouchscreen()); in TEST_F() local 133 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() 139 auto node = std::shared_ptr<MockInputDeviceNode>(MockNexus7v2::getButtonJack()); in TEST_F() local 140 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() [all …]
|
/hardware/qcom/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 147 camera_q_node *node = in enqueue() local 149 if (NULL == node) { in enqueue() 154 memset(node, 0, sizeof(camera_q_node)); in enqueue() 155 node->data = data; in enqueue() 159 cam_list_add_tail_node(&node->list, &m_head.list); in enqueue() 163 free(node); in enqueue() 184 camera_q_node *node = in enqueueWithPriority() local 186 if (NULL == node) { in enqueueWithPriority() 191 memset(node, 0, sizeof(camera_q_node)); in enqueueWithPriority() 192 node->data = data; in enqueueWithPriority() [all …]
|
D | QCameraCmdThread.cpp | 141 camera_cmd_t *node = (camera_cmd_t *)malloc(sizeof(camera_cmd_t)); in sendCmd() local 142 if (NULL == node) { in sendCmd() 146 memset(node, 0, sizeof(camera_cmd_t)); in sendCmd() 147 node->cmd = cmd; in sendCmd() 150 if (!cmd_queue.enqueueWithPriority((void *)node)) { in sendCmd() 151 free(node); in sendCmd() 152 node = NULL; in sendCmd() 155 if (!cmd_queue.enqueue((void *)node)) { in sendCmd() 156 free(node); in sendCmd() 157 node = NULL; in sendCmd() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraQueue.cpp | 147 camera_q_node *node = in enqueue() local 149 if (NULL == node) { in enqueue() 154 memset(node, 0, sizeof(camera_q_node)); in enqueue() 155 node->data = data; in enqueue() 159 cam_list_add_tail_node(&node->list, &m_head.list); in enqueue() 163 free(node); in enqueue() 184 camera_q_node *node = in enqueueWithPriority() local 186 if (NULL == node) { in enqueueWithPriority() 191 memset(node, 0, sizeof(camera_q_node)); in enqueueWithPriority() 192 node->data = data; in enqueueWithPriority() [all …]
|
D | QCameraCmdThread.cpp | 141 camera_cmd_t *node = (camera_cmd_t *)malloc(sizeof(camera_cmd_t)); in sendCmd() local 142 if (NULL == node) { in sendCmd() 146 memset(node, 0, sizeof(camera_cmd_t)); in sendCmd() 147 node->cmd = cmd; in sendCmd() 150 if (!cmd_queue.enqueueWithPriority((void *)node)) { in sendCmd() 151 free(node); in sendCmd() 152 node = NULL; in sendCmd() 155 if (!cmd_queue.enqueue((void *)node)) { in sendCmd() 156 free(node); in sendCmd() 157 node = NULL; in sendCmd() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/src/ |
D | doxy2swig.py | 105 def parse(self, node): argument 111 pm = getattr(self, "parse_%s" % node.__class__.__name__) 112 pm(node) 114 def parse_Document(self, node): argument 115 self.parse(node.documentElement) 117 def parse_Text(self, node): argument 118 txt = node.data 128 def parse_Element(self, node): argument 135 name = node.tagName 142 handlerMethod(node) [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/ |
D | doxy2swig.py | 105 def parse(self, node): argument 111 pm = getattr(self, "parse_%s" % node.__class__.__name__) 112 pm(node) 114 def parse_Document(self, node): argument 115 self.parse(node.documentElement) 117 def parse_Text(self, node): argument 118 txt = node.data 128 def parse_Element(self, node): argument 135 name = node.tagName 142 handlerMethod(node) [all …]
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 47 mm_jpeg_q_node_t* node = in mm_jpeg_queue_enq() local 49 if (NULL == node) { in mm_jpeg_queue_enq() 54 memset(node, 0, sizeof(mm_jpeg_q_node_t)); in mm_jpeg_queue_enq() 55 node->data = data; in mm_jpeg_queue_enq() 58 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq() 70 mm_jpeg_q_node_t* node = in mm_jpeg_queue_enq_head() local 72 if (NULL == node) { in mm_jpeg_queue_enq_head() 77 memset(node, 0, sizeof(mm_jpeg_q_node_t)); in mm_jpeg_queue_enq_head() 78 node->data = data; in mm_jpeg_queue_enq_head() 84 cam_list_insert_before_node(&node->list, pos); in mm_jpeg_queue_enq_head() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 47 mm_jpeg_q_node_t* node = in mm_jpeg_queue_enq() local 49 if (NULL == node) { in mm_jpeg_queue_enq() 54 memset(node, 0, sizeof(mm_jpeg_q_node_t)); in mm_jpeg_queue_enq() 55 node->data = data; in mm_jpeg_queue_enq() 58 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq() 70 mm_jpeg_q_node_t* node = in mm_jpeg_queue_enq_head() local 72 if (NULL == node) { in mm_jpeg_queue_enq_head() 77 memset(node, 0, sizeof(mm_jpeg_q_node_t)); in mm_jpeg_queue_enq_head() 78 node->data = data; in mm_jpeg_queue_enq_head() 84 cam_list_insert_before_node(&node->list, pos); in mm_jpeg_queue_enq_head() [all …]
|
/hardware/intel/img/psb_video/src/ |
D | psb_ws_driver.c | 51 struct _ValidateNode *node = malloc(sizeof(*node)); in psb_alloc() local 53 if (node == NULL) return NULL; in psb_alloc() 55 node->func = func; in psb_alloc() 56 node->type_id = 1; in psb_alloc() 57 return node; in psb_alloc() 66 psb_free(struct _ValidateNode *node) in psb_free() argument 68 if (node->type_id == 0) in psb_free() 69 free(containerOf(node, struct _PsbDrmValidateNode, base)); in psb_free() 72 free(node); in psb_free() 83 psb_clear(struct _ValidateNode *node) in psb_clear() argument [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | cam_queue.h | 57 cam_node_t *node = in cam_queue_enq() local 59 if (NULL == node) { in cam_queue_enq() 63 memset(node, 0, sizeof(cam_node_t)); in cam_queue_enq() 64 node->data = data; in cam_queue_enq() 67 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq() 76 cam_node_t *node = NULL; in cam_queue_deq() local 85 node = member_of(pos, cam_node_t, list); in cam_queue_deq() 86 cam_list_del_node(&node->list); in cam_queue_deq() 91 if (NULL != node) { in cam_queue_deq() 92 data = node->data; in cam_queue_deq() [all …]
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | cam_queue.h | 57 cam_node_t *node = in cam_queue_enq() local 59 if (NULL == node) { in cam_queue_enq() 63 memset(node, 0, sizeof(cam_node_t)); in cam_queue_enq() 64 node->data = data; in cam_queue_enq() 67 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq() 76 cam_node_t *node = NULL; in cam_queue_deq() local 85 node = member_of(pos, cam_node_t, list); in cam_queue_deq() 86 cam_list_del_node(&node->list); in cam_queue_deq() 91 if (NULL != node) { in cam_queue_deq() 92 data = node->data; in cam_queue_deq() [all …]
|
/hardware/libhardware/modules/input/evdev/ |
D | InputDeviceManager.cpp | 28 void InputDeviceManager::onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& eve… in onInputEvent() argument 30 if (mDevices[node] == nullptr) { in onInputEvent() 31 ALOGE("got input event for unknown node %s", node->getPath().c_str()); in onInputEvent() 34 mDevices[node]->processInput(event, event_time); in onInputEvent() 37 void InputDeviceManager::onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) { in onDeviceAdded() argument 38 mDevices[node] = std::make_shared<EvdevDevice>(mHost, node); in onDeviceAdded() 41 void InputDeviceManager::onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) { in onDeviceRemoved() argument 42 if (mDevices[node] == nullptr) { in onDeviceRemoved() 43 ALOGE("could not remove unknown node %s", node->getPath().c_str()); in onDeviceRemoved() 49 mDevices.erase(node); in onDeviceRemoved()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 85 camera_q_node *node = in mm_qcamera_queue_enqueue() local 87 if (NULL == node) { in mm_qcamera_queue_enqueue() 92 memset(node, 0, sizeof(camera_q_node)); in mm_qcamera_queue_enqueue() 93 node->data = data; in mm_qcamera_queue_enqueue() 96 cam_list_add_tail_node(&node->list, &queue->m_head.list); in mm_qcamera_queue_enqueue() 109 camera_q_node* node = NULL; in mm_qcamera_queue_dequeue() local 122 node = member_of(pos, camera_q_node, list); in mm_qcamera_queue_dequeue() 123 cam_list_del_node(&node->list); in mm_qcamera_queue_dequeue() 128 if (NULL != node) { in mm_qcamera_queue_dequeue() 129 data = node->data; in mm_qcamera_queue_dequeue() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 85 camera_q_node *node = in mm_qcamera_queue_enqueue() local 87 if (NULL == node) { in mm_qcamera_queue_enqueue() 92 memset(node, 0, sizeof(camera_q_node)); in mm_qcamera_queue_enqueue() 93 node->data = data; in mm_qcamera_queue_enqueue() 96 cam_list_add_tail_node(&node->list, &queue->m_head.list); in mm_qcamera_queue_enqueue() 109 camera_q_node* node = NULL; in mm_qcamera_queue_dequeue() local 122 node = member_of(pos, camera_q_node, list); in mm_qcamera_queue_dequeue() 123 cam_list_del_node(&node->list); in mm_qcamera_queue_dequeue() 128 if (NULL != node) { in mm_qcamera_queue_dequeue() 129 data = node->data; in mm_qcamera_queue_dequeue() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/src/javascript/ |
D | mraajs.i | 14 if (!node::Buffer::HasInstance($input)) { 17 $1 = (char*) node::Buffer::Data($input); 18 $2 = node::Buffer::Length($input); 22 if (!node::Buffer::HasInstance($input)) { 25 $1 = (uint8_t*) node::Buffer::Data($input); 26 $2 = node::Buffer::Length($input); 30 if (!node::Buffer::HasInstance($input)) { 33 $1 = (uint8_t*) node::Buffer::Data($input); 34 $2 = node::Buffer::Length($input); 46 …v8::MaybeLocal<v8::Object> objret = node::Buffer::Copy(v8::Isolate::GetCurrent(), (char*) result, … [all …]
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocHeap.cpp | 46 void swap(LocHeapNode& node); 51 void push(LocHeapNode& node); 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() argument 88 void LocHeapNode::swap(LocHeapNode& node) { in swap() argument 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 107 void LocHeapNode::push(LocHeapNode& node) { in push() argument 109 if (node.outRanks(*this)) { in push() 110 swap(node); in push() 115 mLeft = &node; in push() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | warnings.c | 40 struct WarningListNode **node = &warning_list->warning_node; in add_warning() local 50 while (*node != NULL) in add_warning() 51 node = &(*node)->next_warning; in add_warning() 53 *node = new_node; in add_warning() 58 struct WarningListNode *const node = warning_list->warning_node; in free_warning_list() local 59 warning_list->warning_node = node->next_warning; in free_warning_list() 60 free(node); in free_warning_list()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 36 struct node { struct 39 node* prev; argument 40 node* next; argument 41 node(T t, T2 t2,node* p, node* n) : in node() argument 44 node* head; 45 node* tail; 46 node* tmp; 68 node* temp(head); in ~Map() 148 tail = new node(data, data2,tail, NULL); in insert() 167 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 36 struct node { struct 39 node* prev; argument 40 node* next; argument 41 node(T t, T2 t2,node* p, node* n) : in node() function 44 node* head; 45 node* tail; 46 node* tmp; 68 node* temp(head); in ~Map() 148 tail = new node(data, data2,tail, NULL); in insert() 167 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 37 struct node { struct 40 node* prev; argument 41 node* next; argument 42 node(T t, T2 t2,node* p, node* n) : in node() argument 45 node* head; 46 node* tail; 47 node* tmp; 69 node* temp(head); in ~Map() 149 tail = new node(data, data2,tail, NULL); in insert() 168 node* prevnode = tmp; in erase() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/ |
D | Map.h | 37 struct node struct 41 node* prev; argument 42 node* next; argument 43 node(T t, T2 t2,node* p, node* n) : in node() argument 46 node* head; 47 node* tail; 48 node* tmp; 68 node* temp(head); in ~Map() 144 tail = new node(data, data2,tail, NULL); in insert() 162 node* prevnode = tmp; in erase() [all …]
|