Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 25 of 146) sorted by relevance

123456

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dbdb.py44 def trace_dispatch(self, frame, event, arg): argument
48 return self.dispatch_line(frame)
50 return self.dispatch_call(frame, arg)
52 return self.dispatch_return(frame, arg)
54 return self.dispatch_exception(frame, arg)
64 def dispatch_line(self, frame): argument
65 if self.stop_here(frame) or self.break_here(frame):
66 self.user_line(frame)
70 def dispatch_call(self, frame, arg): argument
74 self.botframe = frame.f_back # (CT) Note that this may also be None!
[all …]
Dprofile.py212 def trace_dispatch(self, frame, event, arg): argument
220 if self.dispatch[event](self, frame,t):
230 def trace_dispatch_i(self, frame, event, arg): argument
237 if self.dispatch[event](self, frame, t):
245 def trace_dispatch_mac(self, frame, event, arg): argument
252 if self.dispatch[event](self, frame, t):
259 def trace_dispatch_l(self, frame, event, arg): argument
266 if self.dispatch[event](self, frame, t):
278 def trace_dispatch_exception(self, frame, t): argument
280 if (rframe is not frame) and rcur:
[all …]
Dcgitb.py65 def lookup(name, frame, locals): argument
69 if name in frame.f_globals:
70 return 'global', frame.f_globals[name]
71 if '__builtins__' in frame.f_globals:
72 builtins = frame.f_globals['__builtins__']
81 def scanvars(reader, frame, locals): argument
92 where, value = lookup(token, frame, locals)
119 for frame, file, lnum, func, lines, index in records:
125 args, varargs, varkw, locals = inspect.getargvalues(frame)
137 vars = scanvars(reader, frame, locals)
[all …]
Dtrace.py537 def file_module_function_of(self, frame): argument
538 code = frame.f_code
578 def globaltrace_trackcallers(self, frame, why, arg): argument
585 this_func = self.file_module_function_of(frame)
586 parent_func = self.file_module_function_of(frame.f_back)
589 def globaltrace_countfuncs(self, frame, why, arg): argument
595 this_func = self.file_module_function_of(frame)
598 def globaltrace_lt(self, frame, why, arg): argument
605 code = frame.f_code
606 filename = frame.f_globals.get('__file__', None)
[all …]
Dinspect.py819 def getargvalues(frame): argument
826 args, varargs, varkw = getargs(frame.f_code)
827 return ArgInfo(args, varargs, varkw, frame.f_locals)
985 def getframeinfo(frame, context=1): argument
993 if istraceback(frame):
994 lineno = frame.tb_lineno
995 frame = frame.tb_frame
997 lineno = frame.f_lineno
998 if not isframe(frame):
999 raise TypeError('{!r} is not a frame or traceback object'.format(frame))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dtktools.py78 if name: frame = Frame(parent, class_=class_, name=name)
79 else: frame = Frame(parent, class_=class_)
81 if name: frame = Frame(parent, name=name)
82 else: frame = Frame(parent)
85 frame.pack(fill=BOTH, expand=1)
90 vbar = Scrollbar(frame, takefocus=takefocus)
93 vbarframe = Frame(frame, borderwidth=0)
95 vbar = Scrollbar(frame, name="vbar", takefocus=takefocus)
105 hbar = Scrollbar(frame, orient=HORIZONTAL, name="hbar",
111 return hbar, vbar, frame
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/src/
Dmm_lib2d.c208 p_frame->frame[0].plane_cnt = 1; in lib2d_fill_img_frame()
209 p_frame->frame[0].plane[0].plane_type = PLANE_ARGB; in lib2d_fill_img_frame()
210 p_frame->frame[0].plane[0].addr = rgb_buffer->buffer; in lib2d_fill_img_frame()
211 p_frame->frame[0].plane[0].stride = rgb_buffer->stride; in lib2d_fill_img_frame()
212 p_frame->frame[0].plane[0].length = (rgb_buffer->stride * in lib2d_fill_img_frame()
214 p_frame->frame[0].plane[0].fd = rgb_buffer->fd; in lib2d_fill_img_frame()
215 p_frame->frame[0].plane[0].height = rgb_buffer->height; in lib2d_fill_img_frame()
216 p_frame->frame[0].plane[0].width = rgb_buffer->width; in lib2d_fill_img_frame()
217 p_frame->frame[0].plane[0].offset = 0; in lib2d_fill_img_frame()
218 p_frame->frame[0].plane[0].scanline = rgb_buffer->height; in lib2d_fill_img_frame()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp143 mm_camera_super_buf_t* frame = in zsl_channel_cb() local
145 if (frame == NULL) { in zsl_channel_cb()
150 *frame = *recvd_frame; in zsl_channel_cb()
189 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb()
190 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb()
193 pMetaFrame = frame->bufs[i]; //find the metadata in zsl_channel_cb()
230 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb()
231 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb()
234 pMetaFrame = frame->bufs[i]; in zsl_channel_cb()
250 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb()
[all …]
DQCameraPostProc.cpp793 bool QCameraPostProcessor::validatePostProcess(mm_camera_super_buf_t *frame) in validatePostProcess() argument
799 if (frame == NULL) { in validatePostProcess()
803 pChannel = m_parent->getChannelByHandle(frame->ch_id); in validatePostProcess()
915 int32_t QCameraPostProcessor::processData(mm_camera_super_buf_t *frame) in processData() argument
922 if (frame == NULL) { in processData()
928 for (uint32_t i = 0; i < frame->num_bufs; i++) { in processData()
930 if (frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processData()
931 meta_frame = frame->bufs[i]; in processData()
960 pp_request_job->src_frame = frame; in processData()
961 pp_request_job->src_reproc_frame = frame; in processData()
[all …]
DQCameraPostProc.h94 mm_camera_super_buf_t * frame; // ptr to frame member
136 bool validatePostProcess(mm_camera_super_buf_t *frame);
137 int32_t processData(mm_camera_super_buf_t *frame);
138 int32_t processRawData(mm_camera_super_buf_t *frame);
139 int32_t processPPData(mm_camera_super_buf_t *frame);
177 int32_t syncStreamParams(mm_camera_super_buf_t *frame,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_sys_setprofile.py30 def callback(self, frame, event, arg): argument
34 self.add_event(event, frame)
36 def add_event(self, event, frame=None): argument
38 if frame is None:
39 frame = sys._getframe(1)
42 frameno = self.frames.index(frame)
45 self.frames.append(frame)
47 self.events.append((frameno, event, ident(frame)))
63 def callback(self, frame, event, arg): argument
65 self.dispatch[event](self, frame)
[all …]
Dtest_sys_settrace.py239 def trace(self, frame, event, arg): argument
240 self.events.append((frame.f_lineno, event))
242 def traceWithGenexp(self, frame, event, arg): argument
244 self.events.append((frame.f_lineno, event))
391 def trace(self, frame, event, arg): argument
439 def g(frame, why, extra): argument
441 frame.f_lineno == f.func_code.co_firstlineno + 2):
471 def trace(self, frame, event, arg): argument
472 if not self.done and frame.f_code == self.function.func_code:
473 firstLine = frame.f_code.co_firstlineno
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/
Dstats.py40 frame = self.new_frame(filename, lineno, funcname)
41 p.trace_dispatch_call(frame, taccum * .000001)
45 frame = self.pop_frame()
46 p.trace_dispatch_return(frame, taccum * .000001)
69 frame = FakeFrame(code, back)
70 self._stack.append(frame)
71 return frame
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/
Dlldbinit1 setting set frame-format "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{:${function.n…
Dlldbefi.py357 def LoadEmulatorEfiSymbols(frame, bp_loc , internal_dict): argument
382 frame.thread.process.target.debugger.HandleCommand("process handle SIGALRM -n false")
387 FileNamePtr = frame.FindVariable ("FileName").GetValueAsUnsigned()
388 FileNameLen = frame.FindVariable ("FileNameLength").GetValueAsUnsigned()
389 FileName = frame.thread.process.ReadCStringFromMemory (FileNamePtr, FileNameLen, Error)
393 frame.GetThread().GetProcess().Continue()
395 debugger = frame.thread.process.target.debugger
396 if frame.FindVariable ("AddSymbolFlag").GetValueAsUnsigned() == 1:
397 LoadAddress = frame.FindVariable ("LoadAddress").GetValueAsUnsigned()
413 frame.thread.process.Continue()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dtraceback.c84 newtracebackobject(PyTracebackObject *next, PyFrameObject *frame) in newtracebackobject() argument
88 frame == NULL || !PyFrame_Check(frame)) { in newtracebackobject()
96 Py_XINCREF(frame); in newtracebackobject()
97 tb->tb_frame = frame; in newtracebackobject()
98 tb->tb_lasti = frame->f_lasti; in newtracebackobject()
99 tb->tb_lineno = PyFrame_GetLineNumber(frame); in newtracebackobject()
106 PyTraceBack_Here(PyFrameObject *frame) in PyTraceBack_Here() argument
110 PyTracebackObject *tb = newtracebackobject(oldtb, frame); in PyTraceBack_Here()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dtraceback.c84 newtracebackobject(PyTracebackObject *next, PyFrameObject *frame) in newtracebackobject() argument
88 frame == NULL || !PyFrame_Check(frame)) { in newtracebackobject()
96 Py_XINCREF(frame); in newtracebackobject()
97 tb->tb_frame = frame; in newtracebackobject()
98 tb->tb_lasti = frame->f_lasti; in newtracebackobject()
99 tb->tb_lineno = PyFrame_GetLineNumber(frame); in newtracebackobject()
106 PyTraceBack_Here(PyFrameObject *frame) in PyTraceBack_Here() argument
110 PyTracebackObject *tb = newtracebackobject(oldtb, frame); in PyTraceBack_Here()
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c41 static void mm_app_rdi_dump_frame(mm_camera_buf_def_t *frame, in mm_app_rdi_dump_frame() argument
50 if (frame != NULL) { in mm_app_rdi_dump_frame()
57 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_rdi_dump_frame()
59 (uint8_t *)frame->buffer + frame->planes_buf.planes[i].data_offset, in mm_app_rdi_dump_frame()
73 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_rdi_notify_cb() local
77 frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb()
79 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb()
83 frame)) { in mm_app_rdi_notify_cb()
86 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
Dmm_qcamera_video.c38 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_video_notify_cb() local
42 frame->frame_len, frame->frame_idx); in mm_app_video_notify_cb()
44 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_video_notify_cb()
48 frame)) { in mm_app_video_notify_cb()
51 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_video_notify_cb()
Dmm_qcamera_reprocess.c37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() local
47 frame->frame_len, frame->frame_idx); in mm_app_reprocess_notify_cb()
89 frame)) { in mm_app_reprocess_notify_cb()
92 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_reprocess_notify_cb()
276 mm_camera_buf_def_t *frame, in mm_app_do_reprocess() argument
286 ( NULL == frame ) || in mm_app_do_reprocess()
314 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess()
315 param.reprocess.frame_idx = frame->frame_idx; in mm_app_do_reprocess()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dinspect.py822 def getargvalues(frame): argument
829 args, varargs, varkw = getargs(frame.f_code)
830 return ArgInfo(args, varargs, varkw, frame.f_locals)
988 def getframeinfo(frame, context=1): argument
996 if istraceback(frame):
997 lineno = frame.tb_lineno
998 frame = frame.tb_frame
1000 lineno = frame.f_lineno
1001 if not isframe(frame):
1002 raise TypeError('{!r} is not a frame or traceback object'.format(frame))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/
Dlibpython.py1223 frame = cls.get_selected_frame()
1225 while frame:
1226 if frame.is_evalframeex():
1227 return frame
1228 frame = frame.older()
1278 frame = Frame.get_selected_python_frame()
1279 if not frame:
1283 pyop = frame.get_pyop()
1316 frame = Frame.get_selected_python_frame()
1317 while frame:
[all …]
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Stream.cpp587 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) in processDataNotify() argument
591 if (mDataQ.enqueue((void *)frame)) { in processDataNotify()
595 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
596 free(frame); in processDataNotify()
628 mm_camera_super_buf_t *frame = in dataNotifyCB() local
630 if (frame == NULL) { in dataNotifyCB()
635 *frame = *recvd_frame; in dataNotifyCB()
636 stream->processDataNotify(frame); in dataNotifyCB()
693 mm_camera_super_buf_t *frame = in dataProcRoutine() local
695 if (NULL != frame) { in dataProcRoutine()
[all …]
DQCamera3Channel.cpp499 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, in dumpYUV() argument
529 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
533 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
537 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
541 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
545 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
563 data = (void *)((uint8_t *)frame->buffer + index); in dumpYUV()
571 frame->cache_flags |= CPU_HAS_READ; in dumpYUV()
2206 void QCamera3RawChannel::dumpRawSnapshot(mm_camera_buf_def_t *frame) in dumpRawSnapshot() argument
2220 frame->frame_idx, offset.mp[0].stride, offset.mp[0].scanline); in dumpRawSnapshot()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dsignals.py14 def __call__(self, signum, frame): argument
19 self.default_handler(signum, frame)
22 self.default_handler(signum, frame)

123456