/aosp_15_r20/external/pytorch/torch/csrc/dynamo/ |
H A D | eval_frame.c | 39 // https://docs.python.org/3/c-api/init.html#c._PyFrameEvalFunction 48 _PyInterpreterFrame* frame; // Borrowed reference member 52 THPPyInterpreterFrame* THPPyInterpreterFrame_New(_PyInterpreterFrame* frame); 56 PyObject* res = (PyObject*)self->frame->name; \ 71 DEBUG_NULL_CHECK(self->locals); in DECLARE_PYOBJ_ATTR() 72 Py_XINCREF(self->locals); in DECLARE_PYOBJ_ATTR() 73 return self->locals; in DECLARE_PYOBJ_ATTR() 87 THPPyInterpreterFrame* res = THPPyInterpreterFrame_New(self->frame->previous); in DECLARE_PYOBJ_ATTR() 94 return PyLong_FromLong(_PyInterpreterFrame_LASTI(self->frame)); in THPPyInterpreterFrame_f_lasti() 98 if (!self->frame->frame_obj) { in THPPyInterpreterFrame_f_lineno() [all …]
|
H A D | cpython_defs.c | 11 #include <cpython/code.h> // To get PyUnstable_Code_GetFirstFree 23 // us to manually re-check that the function didn't change on the next major version 30 THP_PyFrame_OpAlreadyRan(_PyInterpreterFrame *frame, int opcode, int oparg) in THP_PyFrame_OpAlreadyRan() argument 32 // This only works when opcode is a non-quickened form: in THP_PyFrame_OpAlreadyRan() 35 for (_Py_CODEUNIT *instruction = _PyCode_CODE(F_CODE(frame)); in THP_PyFrame_OpAlreadyRan() 36 instruction < PREV_INSTR(frame) ; instruction++) in THP_PyFrame_OpAlreadyRan() 57 THP_PyFrame_FastToLocalsWithError(_PyInterpreterFrame *frame, int *free_vars_copied) in THP_PyFrame_FastToLocalsWithError() argument 69 THP_PyFrame_FastToLocalsWithError(_PyInterpreterFrame *frame, int *free_vars_copied) { in THP_PyFrame_FastToLocalsWithError() argument 70 /* Merge fast locals into f->f_locals */ in THP_PyFrame_FastToLocalsWithError() 74 locals = frame->f_locals; in THP_PyFrame_FastToLocalsWithError() [all …]
|
/aosp_15_r20/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | Simulator.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package com.android.dx.cf.code; 21 import com.android.dx.rop.code.LocalItem; 39 * <p><b>Note:</b> This class is not thread-safe. If multiple threads 45 * {@code non-null;} canned error message for local variable 52 /** {@code non-null;} machine to use when simulating */ 55 /** {@code non-null;} array of bytecode */ 56 private final BytecodeArray code; field in Simulator 58 /** {@code non-null;} the method being simulated */ 61 /** {@code non-null;} local variable information */ [all …]
|
H A D | Frame.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package com.android.dx.cf.code; 26 * Representation of a Java method execution frame. A frame consists 31 public final class Frame { class 32 /** {@code non-null;} the locals */ 35 /** {@code non-null;} the stack */ 38 /** {@code null-ok;} stack of labels of subroutines that this block is nested in */ 44 * @param locals {@code non-null;} the locals array to use 45 * @param stack {@code non-null;} the execution stack to use 47 private Frame(LocalsArray locals, ExecutionStack stack) { in Frame() method in Frame [all …]
|
H A D | Machine.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package com.android.dx.cf.code; 19 import com.android.dx.rop.code.LocalItem; 27 * upon a {@link Frame}. A machine conceptually contains four arbitrary-value 28 * argument slots, slots for several literal-value arguments, and slots for 35 * {@code this} argument for instance methods. 37 * @return {@code non-null;} the method prototype 51 * @param frame {@code non-null;} frame to operate on 52 * @param count {@code >= 0;} number of values to pop 54 public void popArgs(Frame frame, int count); in popArgs() argument [all …]
|
/aosp_15_r20/external/pytorch/torch/_dynamo/ |
H A D | convert_frame.py | 1 # mypy: allow-untyped-decorators 147 def __init__(self) -> None: 151 def add(self, strong_obj: CodeType) -> None: 158 def __contains__(self, item: CodeType) -> bool: 161 def clear(self) -> None: 175 ) -> FunctionType: 177 # our generated code 183 def preserve_global_state(fn: Callable[_P, _T]) -> Callable[_P, _T]: 193 def _fn(*args: _P.args, **kwargs: _P.kwargs) -> _T: 198 # stack/counter - so we can't just increment/decrement them as we enter [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/mobile/ |
H A D | interpreter.cpp | 22 InterpreterState::InterpreterState(const Code& code) { in InterpreterState() argument 23 enterFrame(code); in InterpreterState() 30 c10::StrongTypePtr(type->compilation_unit(), type), in createObject() 31 type->numAttributes()); in createObject() 38 if (ty->isSubtypeOf(*candidate)) { in isinstance() 53 void InterpreterState::enterFrame(const Code& code) { in enterFrame() argument 54 frames_.emplace_back(code); in enterFrame() 55 registers_.resize(registers_.size() + code.register_size_); in enterFrame() 60 registers_.size() - frames_.back().getCode().register_size_); in leaveFrame() 66 for (auto frame = frames_.crbegin(); frame != frames_.crend(); frame++) { in saveExceptionDebugHandles() local [all …]
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | frameobject.c | 1 /* Frame object implementation */ 30 PyObject *locals = f->f_frame->f_locals; in frame_getlocals() 39 if (f->f_lineno != 0) { in PyFrame_GetLineNumber() 40 return f->f_lineno; in PyFrame_GetLineNumber() 43 return _PyInterpreterFrame_GetLine(f->f_frame); in PyFrame_GetLineNumber() 62 int lasti = _PyInterpreterFrame_LASTI(f->f_frame); in frame_getlasti() 64 return PyLong_FromLong(-1); in frame_getlasti() 72 PyObject *globals = f->f_frame->f_globals; in frame_getglobals() 83 PyObject *builtins = f->f_frame->f_builtins; in frame_getbuiltins() 111 // with EXTENDED_ARG. This only works correctly with *unquickened* code, [all …]
|
/aosp_15_r20/external/ltp/testcases/kernel/device-drivers/v4l/user_space/doc/spec/ |
H A D | r8724.htm | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd… 73 NAME="VIDIOC-ENUM-FRAMEINTERVALS" 83 >VIDIOC_ENUM_FRAMEINTERVALS -- Enumerate frame intervals</DIV 99 ><CODE 100 ><CODE 102 >int ioctl</CODE 103 >(int fd, int request, struct v4l2_frmivalenum *argp);</CODE 122 ><CODE 124 >fd</CODE 130 ><CODE [all …]
|
H A D | r8494.htm | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd… 73 NAME="VIDIOC-ENUM-FRAMESIZES" 83 >VIDIOC_ENUM_FRAMESIZES -- Enumerate frame sizes</DIV 99 ><CODE 100 ><CODE 102 >int ioctl</CODE 103 >(int fd, int request, struct v4l2_frmsizeenum *argp);</CODE 122 ><CODE 124 >fd</CODE 130 ><CODE [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/lang/ |
H A D | StackWalker.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * accompanied this code). 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 42 * the given function to walk the {@code StackFrame} stream. 43 * The stream reports stack frame elements in order, from the top most frame 45 * the bottom most frame. 46 * The {@code StackFrame} stream is closed when the {@code walk} method returns. 48 * {@code IllegalStateException} will be thrown. [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/4/libcore/ojluni/src/main/java/java/lang/ |
D | StackWalker.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * accompanied this code). 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 42 * the given function to walk the {@code StackFrame} stream. 43 * The stream reports stack frame elements in order, from the top most frame 45 * the bottom most frame. 46 * The {@code StackFrame} stream is closed when the {@code walk} method returns. 48 * {@code IllegalStateException} will be thrown. [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/lang/ |
D | StackWalker.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * accompanied this code). 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 42 * the given function to walk the {@code StackFrame} stream. 43 * The stream reports stack frame elements in order, from the top most frame 45 * the bottom most frame. 46 * The {@code StackFrame} stream is closed when the {@code walk} method returns. 48 * {@code IllegalStateException} will be thrown. [all …]
|
/aosp_15_r20/external/oj-libjdwp/src/share/classes/com/sun/jdi/ |
H A D | StackFrame.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * accompanied this code). 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 35 * mirrors one such frame from a target VM at some point in its 46 * Any method on <code>StackFrame</code> which 47 * takes <code>StackFrame</code> as an parameter may throw 52 * Any method on <code>StackFrame</code> which 53 * takes <code>StackFrame</code> as an parameter may throw [all …]
|
/aosp_15_r20/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 3 From gdb 7 onwards, gdb's build can be configured --with-python, allowing gdb 4 to be extended with Python code e.g. for library-specific data visualizations, 6 http://sourceware.org/gdb/current/onlinedocs/gdb/Python-API.html 16 that we can emit useful visualizations e.g. a string, a list, a dict, a frame 29 of the data to a file-like object. This allows us to stop the traversal by 30 having the file-like object raise an exception if it gets too much data. 41 The module also extends gdb with some python-specific commands. 92 FRAME_INFO_OPTIMIZED_OUT = '(frame information optimized out)' 93 UNABLE_READ_INFO_PYTHON_FRAME = 'Unable to read information on python frame' 126 byte = chr(ord(char) - 0xDC00) [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/ |
H A D | interpreter.cpp | 24 #include <torch/csrc/jit/runtime/interpreter/frame.h> 57 "When true we will attemps to pre-expand node stacks and cache expanded stacks."); 77 // * graph - the post processed copy of g 78 // * move_flags[n] - a list of booleans, one for each input, 84 return TensorType::get()->withUndefined(); in tensorTypeInCurrentExecutionContext() 88 return r->withRequiresGrad(false); in tensorTypeInCurrentExecutionContext() 118 // InterpreterState state that and used to compute a Code 120 InterpreterStateImpl(const Code& code, TaskLauncher taskLauncher) in InterpreterStateImpl() 122 enterFrame(code, 0); in InterpreterStateImpl() 126 using Frame = torch::jit::interpreter::Frame; typedef [all …]
|
/aosp_15_r20/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
H A D | NanoWSD.java | 5 * NanoHttpd-Websocket 7 * Copyright (C) 2012 - 2015 nanohttpd 12 * 1. Redistributions of source code must retain the above copyright notice, this 106 protected abstract void onClose(CloseCode code, String reason, boolean initiatedByRemote); in onClose() argument 117 * @param frame 118 * The received WebSocket Frame. 120 protected void debugFrameReceived(WebSocketFrame frame) { in debugFrameReceived() argument 125 * This method is called before actually sending the frame. 127 * @param frame 128 * The sent WebSocket Frame. [all …]
|
/aosp_15_r20/external/ow2-asm/asm/src/main/java/org/objectweb/asm/ |
H A D | MethodWriter.java | 2 // Copyright (c) 2000-2011 INRIA, France Telecom 8 // 1. Redistributions of source code must retain the above copyright 34 * @see <a href="https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.6">JVMS 62 * frame - and without any knowledge of the type hierarchy (by definition of F_INSERT). 79 * @see <a href="https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-6.html">JVMS 6</a> 128 -1, // iaload = 46 (0x2e) 130 -1, // faload = 48 (0x30) 132 -1, // aaload = 50 (0x32) 133 -1, // baload = 51 (0x33) 134 -1, // caload = 52 (0x34) [all …]
|
/aosp_15_r20/external/google-cloud-java/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ |
H A D | FaceFrame.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 25 * Video frame level annotation results for face detection. 28 * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceFrame} 79 * Normalized Bounding boxes in a frame. 81 * locations within the current frame. 84 * <code> 86 * </code> 97 * Normalized Bounding boxes in a frame. 99 * locations within the current frame. 102 * <code> [all …]
|
/aosp_15_r20/external/google-cloud-java/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ |
H A D | FaceFrame.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 28 * Protobuf type {@code google.cloud.videointelligence.v1.FaceFrame} 80 * Normalized Bounding boxes in a frame. 82 * locations within the current frame. 85 * <code> 87 * </code> 98 * Normalized Bounding boxes in a frame. 100 * locations within the current frame. 103 * <code> 105 * </code> [all …]
|
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/core/ |
H A D | quic_error_codes.h | 2 // Use of this source code is governed by a BSD-style license that can be 16 // QuicRstStreamErrorCode is encoded as a single octet on-the-wire in IETF QUIC 17 // and a 32-bit integer in gQUIC. 29 // Stream closed due to connection error. No reset frame is sent when this 32 // GoAway frame sent. No more stream can be created. 62 // specific error code, or endpoint declines to use the more specific error 63 // code. 71 // A frame was received which was not permitted in the current state or on the 74 // A frame that fails to satisfy layout requirements or with an invalid size 82 // Error in the payload of a SETTINGS frame. [all …]
|
/aosp_15_r20/external/python/cpython3/Python/ |
D | frame.c | 10 _PyFrame_Traverse(_PyInterpreterFrame *frame, visitproc visit, void *arg) in _PyFrame_Traverse() argument 12 Py_VISIT(frame->frame_obj); in _PyFrame_Traverse() 13 Py_VISIT(frame->f_locals); in _PyFrame_Traverse() 14 Py_VISIT(frame->f_func); in _PyFrame_Traverse() 15 Py_VISIT(frame->f_code); in _PyFrame_Traverse() 17 PyObject **locals = _PyFrame_GetLocalsArray(frame); in _PyFrame_Traverse() 20 for (; i <frame->stacktop; i++) { in _PyFrame_Traverse() 27 _PyFrame_MakeAndSetFrameObject(_PyInterpreterFrame *frame) in _PyFrame_MakeAndSetFrameObject() argument 29 assert(frame->frame_obj == NULL); in _PyFrame_MakeAndSetFrameObject() 33 PyFrameObject *f = _PyFrame_New_NoTrack(frame->f_code); in _PyFrame_MakeAndSetFrameObject() [all …]
|
/aosp_15_r20/external/cronet/net/websockets/ |
H A D | websocket_channel.cc | 2 // Use of this source code is governed by a BSD-style license that can be 57 // https://tools.ietf.org/html/rfc6455#section-7.1.1 67 // Maximum close reason length = max control frame payload - 68 // status code length 69 // = 125 - 2 70 constexpr size_t kMaximumCloseReasonLength = 125 - kWebSocketCloseCodeLength; 72 // Check a close status code for strict compliance with RFC6455. This is only 75 // codes. The |code| parameter is type int for convenience of implementation; 76 // the real type is uint16_t. Code 1005 is treated specially; it cannot be set 78 // a Close frame with no payload. [all …]
|
/aosp_15_r20/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
H A D | GifDecoder.java | 40 * Reads frame data from a GIF image source and decodes it into individual frames 45 * are no methods to get individual frame images, only to decode the next frame in the 47 * data necessary to decode the next frame in the animation sequence. 50 * frame. This method must also be called before you request the first frame or an error will 53 …* Implementation adapted from sample code published in Lyons. (2004). <em>Java for Programmers</em… 72 * Unable to fully decode the current frame. 85 * GIF Disposal Method meaning leave canvas from previous frame. 93 * GIF Disposal Method meaning clear canvas to frame before last. 97 private static final int NULL_CODE = -1; 99 private static final int INITIAL_FRAME_POINTER = -1; [all …]
|
/aosp_15_r20/external/libva/va/ |
H A D | va_enc_vp9.h | 2 * Copyright (c) 2007-2015 Intel Corporation. All Rights Reserved. 18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 66 /** Final loopfilter levels for the frame, if segmentation is disabled only 73 * Long term reference frame indication from BRC. BRC recommends the 74 * current frame that is being queried is a good candidate for a long 79 /* suggested next frame width */ 82 /* suggested next frame height */ 96 /** \brief Frame size note: 97 * Picture resolution may change frame by frame. 98 * Application needs to allocate surfaces and frame buffers based on [all …]
|