Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 25 of 1548) sorted by relevance

12345678910>>...62

/external/tensorflow/tensorflow/python/autograph/pyct/
Dorigin_info_test.py74 origin = anno.getanno(node, anno.Basic.ORIGIN)
75 self.assertEqual(origin.loc.lineno, 1)
76 self.assertEqual(origin.loc.col_offset, 0)
77 self.assertEqual(origin.source_code_line, 'def test_fn(x):')
78 self.assertIsNone(origin.comment)
80 origin = anno.getanno(node.body[0], anno.Basic.ORIGIN)
81 self.assertEqual(origin.loc.lineno, 2)
82 self.assertEqual(origin.loc.col_offset, 2)
83 self.assertEqual(origin.source_code_line, ' """Docstring."""')
84 self.assertIsNone(origin.comment)
[all …]
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2965Spec.java84 final String name, final String value, final CookieOrigin origin) { in createCookie() argument
86 cookie.setPath(getDefaultPath(origin)); in createCookie()
87 cookie.setDomain(getDefaultDomain(origin)); in createCookie()
92 final String name, final String value, final CookieOrigin origin) { in createCookie2() argument
94 cookie.setPath(getDefaultPath(origin)); in createCookie2()
95 cookie.setDomain(getDefaultDomain(origin)); in createCookie2()
96 cookie.setPorts(new int [] { origin.getPort() }); in createCookie2()
103 CookieOrigin origin) throws MalformedCookieException { in parse() argument
107 if (origin == null) { in parse()
111 origin = adjustEffectiveHost(origin); in parse()
[all …]
DCookieSpecBase.java59 protected static String getDefaultPath(final CookieOrigin origin) { in getDefaultPath() argument
60 String defaultPath = origin.getPath(); in getDefaultPath()
72 protected static String getDefaultDomain(final CookieOrigin origin) { in getDefaultDomain() argument
73 return origin.getHost(); in getDefaultDomain()
76 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin) in parse() argument
87 cookie.setPath(getDefaultPath(origin)); in parse()
88 cookie.setDomain(getDefaultDomain(origin)); in parse()
108 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument
113 if (origin == null) { in validate()
117 handler.validate(cookie, origin); in validate()
[all …]
DBestMatchSpec.java102 final CookieOrigin origin) throws MalformedCookieException { in parse() argument
106 if (origin == null) { in parse()
125 return getStrict().parse(helems, origin); in parse()
130 return getNetscape().parse(header, origin); in parse()
132 return getCompat().parse(helems, origin); in parse()
138 final CookieOrigin origin) throws MalformedCookieException { in validate() argument
142 if (origin == null) { in validate()
146 getStrict().validate(cookie, origin); in validate()
148 getCompat().validate(cookie, origin); in validate()
152 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match() argument
[all …]
/external/turbine/java/com/google/turbine/binder/
DResolve.java45 ClassSymbol origin, in resolve() argument
48 return resolve(env, origin, sym, simpleName, new HashSet<>()); in resolve()
53 ClassSymbol origin, in resolve() argument
71 result = resolve(env, origin, bound.superclass(), simpleName, seen); in resolve()
72 if (result != null && visible(origin, result, env.get(result))) { in resolve()
77 result = resolve(env, origin, i, simpleName, seen); in resolve()
78 if (result != null && visible(origin, result, env.get(result))) { in resolve()
90 Env<ClassSymbol, ? extends HeaderBoundClass> env, ClassSymbol origin) { in resolveFunction() argument
95 return Resolve.resolve(env, origin, base, name); in resolveFunction()
154 Env<ClassSymbol, TypeBoundClass> env, ClassSymbol origin, ClassSymbol sym, Tree.Ident name) {
[all …]
/external/desugar/java/com/google/devtools/common/options/
DParsedOptionDescription.java33 private final OptionInstanceOrigin origin; field in ParsedOptionDescription
39 OptionInstanceOrigin origin) { in ParsedOptionDescription() argument
43 this.origin = Preconditions.checkNotNull(origin); in ParsedOptionDescription()
50 OptionInstanceOrigin origin) { in newParsedOptionDescription() argument
57 origin); in newParsedOptionDescription()
65 OptionDefinition optionDefinition, OptionInstanceOrigin origin) { in newDummyInstance() argument
66 return new ParsedOptionDescription(optionDefinition, null, null, origin); in newDummyInstance()
144 return origin; in getOrigin()
148 return origin.getPriority(); in getPriority()
152 return origin.getSource(); in getSource()
[all …]
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMethodAdvice.java46 private static Object tryInvoke(Method origin, Object instance, Object[] arguments) in tryInvoke() argument
49 return origin.invoke(instance, arguments); in tryInvoke()
174 Method origin = Class.forName(methodComponents.group(1)).getDeclaredMethod( in getOrigin() local
177 if (isOverridden(instance, origin)) { in getOrigin()
180 return origin; in getOrigin()
195 public Callable<?> handle(Object instance, Method origin, Object[] arguments) throws Throwable { in handle() argument
201 return new ReturnValueWrapper(interceptor.interceptEntryHook(instance, origin, arguments, in handle()
202 new SuperMethodCall(selfCallInfo, origin, instance, arguments))); in handle()
239 public boolean isOverridden(Object instance, Method origin) { in isOverridden() argument
244 return !origin.equals(currentType.getDeclaredMethod(origin.getName(), in isOverridden()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DArrayType.java73 private Origin origin; field in ArrayType
76 public ArrayType(Type componentType, Origin origin, NodeList<AnnotationExpr> annotations) { in ArrayType() argument
77 this(null, componentType, origin, annotations); in ArrayType()
88 …public ArrayType(TokenRange tokenRange, Type componentType, Origin origin, NodeList<AnnotationExpr… in ArrayType() argument
91 setOrigin(origin); in ArrayType()
177 private Origin origin; field in ArrayType.ArrayBracketPair
179 …public ArrayBracketPair(TokenRange tokenRange, Origin origin, NodeList<AnnotationExpr> annotations… in ArrayBracketPair() argument
182 setOrigin(origin); in ArrayBracketPair()
204 return origin; in getOrigin()
207 public ArrayBracketPair setOrigin(Origin origin) { in setOrigin() argument
[all …]
/external/e2fsprogs/lib/ext2fs/
Dllseek.c47 extern long long llseek (int fd, long long offset, int origin);
72 unsigned int, origin) in _syscall5() argument
75 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) in _syscall5()
86 &result, origin); in _syscall5()
95 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek() argument
98 return my_llseek (fd, offset, origin); in ext2fs_llseek()
106 result = my_llseek (fd, offset, origin); in ext2fs_llseek()
115 return lseek(fd, (off_t) offset, origin); in ext2fs_llseek()
129 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek() argument
132 return lseek64 (fd, offset, origin); in ext2fs_llseek()
[all …]
/external/clang/test/Analysis/
Duninit-vals.m49 Point origin; field
66 testObj->origin = makePoint(0.0, 0.0);
69 // FIXME: Assigning to 'testObj->origin' kills the default binding for the
82 testObj->origin = makePoint(0.0, 0.0);
93 IntPoint origin; field
109 clang_analyzer_eval(testObj->origin.x == 0); // expected-warning{{TRUE}}
110 clang_analyzer_eval(testObj->origin.y == 0); // expected-warning{{TRUE}}
111 clang_analyzer_eval(testObj->origin.z == 0); // expected-warning{{TRUE}}
113 testObj->origin = makeIntPoint(1, 2);
116 // FIXME: Assigning to 'testObj->origin' kills the default binding for the
[all …]
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DMockMethodAdvice.java56 @Advice.Origin Method origin, in enter() argument
59 … if (dispatcher == null || !dispatcher.isMocked(mock) || dispatcher.isOverridden(mock, origin)) { in enter()
62 return dispatcher.handle(mock, origin, arguments); in enter()
96 public Callable<?> handle(Object instance, Method origin, Object[] arguments) throws Throwable { in handle() argument
103 realMethod = new SerializableRealMethodCall(identifier, origin, instance, arguments); in handle()
105 realMethod = new RealMethodCall(selfCallInfo, origin, instance, arguments); in handle()
110 origin, in handle()
129 public boolean isOverridden(Object instance, Method origin) { in isOverridden() argument
136 …MethodGraph.Node node = methodGraph.locate(new MethodDescription.ForLoadedMethod(origin).asSignatu… in isOverridden()
137 …) || !node.getRepresentative().asDefined().getDeclaringType().represents(origin.getDeclaringClass(… in isOverridden()
[all …]
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dllseek.c54 unsigned long ol, llse_loff_t * result, unsigned int origin) in _llseek() argument
61 unsigned long ol, llse_loff_t * result, unsigned int origin) in _llseek() argument
63 return syscall(__NR_llseek, fd, oh, ol, result, origin); in _llseek()
68 unsigned int origin) in my_llseek() argument
75 &result, origin); in my_llseek()
82 unsigned int origin) in llse_llseek() argument
88 result = my_llseek(fd, offset, origin); in llse_llseek()
104 return lseek(fd, (off_t) offset, origin); in llse_llseek()
113 unsigned int origin) in llse_llseek() argument
120 return lseek(fd, (off_t) offset, origin); in llse_llseek()
/external/v8/tools/turbolizer/src/
Dnode.ts17 function formatOrigin(origin) {
18 if (origin.nodeId) {
19 return `#${origin.nodeId} in phase ${origin.phase}/${origin.reducer}`;
21 if (origin.bytecodePosition) {
22 return `Bytecode line ${origin.bytecodePosition} in phase ${origin.phase}/${origin.reducer}`;
36 origin: NodeOrigin; property in GNode
93 if (this.origin) {
94 title += `\nOrigin: ${formatOrigin(this.origin)}`;
/external/skia/src/gpu/
DGrTextureRenderTargetProxy.cpp24 GrSurfaceOrigin origin, in GrTextureRenderTargetProxy() argument
29 : GrSurfaceProxy(format, desc, origin, fit, budgeted, surfaceFlags) in GrTextureRenderTargetProxy()
31 , GrRenderTargetProxy(caps, format, desc, origin, fit, budgeted, surfaceFlags) in GrTextureRenderTargetProxy()
32 , GrTextureProxy(format, desc, origin, mipMapped, fit, budgeted, surfaceFlags) {} in GrTextureRenderTargetProxy()
39 GrSurfaceOrigin origin, in GrTextureRenderTargetProxy() argument
44 : GrSurfaceProxy(std::move(callback), lazyType, format, desc, origin, fit, budgeted, in GrTextureRenderTargetProxy()
48 , GrRenderTargetProxy(LazyInstantiateCallback(), lazyType, format, desc, origin, fit, in GrTextureRenderTargetProxy()
50 , GrTextureProxy(LazyInstantiateCallback(), lazyType, format, desc, origin, mipMapped, in GrTextureRenderTargetProxy()
57 GrSurfaceOrigin origin) in GrTextureRenderTargetProxy() argument
58 : GrSurfaceProxy(surf, origin, SkBackingFit::kExact) in GrTextureRenderTargetProxy()
[all …]
DGrProxyProvider.cpp98 GrSurfaceOrigin origin) { in findProxyByUniqueKey() argument
107 SkASSERT(result->origin() == origin); in findProxyByUniqueKey()
116 const GrSurfaceDesc& desc, GrSurfaceOrigin origin, SkBackingFit fit, SkBudgeted budgeted) { in testingOnly_createInstantiatedProxy() argument
134 return this->createWrapped(std::move(tex), origin); in testingOnly_createInstantiatedProxy()
138 GrSurfaceOrigin origin) { in testingOnly_createWrapped() argument
139 return this->createWrapped(std::move(tex), origin); in testingOnly_createWrapped()
143 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, GrSurfaceOrigin origin) { in createWrapped() argument
146 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey(), origin)); in createWrapped()
151 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in createWrapped()
153 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in createWrapped()
[all …]
/external/skqp/src/gpu/
DGrTextureRenderTargetProxy.cpp24 GrSurfaceOrigin origin, in GrTextureRenderTargetProxy() argument
29 : GrSurfaceProxy(format, desc, origin, fit, budgeted, surfaceFlags) in GrTextureRenderTargetProxy()
31 , GrRenderTargetProxy(caps, format, desc, origin, fit, budgeted, surfaceFlags) in GrTextureRenderTargetProxy()
32 , GrTextureProxy(format, desc, origin, mipMapped, fit, budgeted, surfaceFlags) {} in GrTextureRenderTargetProxy()
39 GrSurfaceOrigin origin, in GrTextureRenderTargetProxy() argument
44 : GrSurfaceProxy(std::move(callback), lazyType, format, desc, origin, fit, budgeted, in GrTextureRenderTargetProxy()
48 , GrRenderTargetProxy(LazyInstantiateCallback(), lazyType, format, desc, origin, fit, in GrTextureRenderTargetProxy()
50 , GrTextureProxy(LazyInstantiateCallback(), lazyType, format, desc, origin, mipMapped, in GrTextureRenderTargetProxy()
57 GrSurfaceOrigin origin) in GrTextureRenderTargetProxy() argument
58 : GrSurfaceProxy(surf, origin, SkBackingFit::kExact) in GrTextureRenderTargetProxy()
[all …]
DGrProxyProvider.cpp120 GrSurfaceOrigin origin) { in findProxyByUniqueKey() argument
129 SkASSERT(result->origin() == origin); in findProxyByUniqueKey()
134 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, GrSurfaceOrigin origin) { in createWrapped() argument
137 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey(), origin)); in createWrapped()
142 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in createWrapped()
144 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in createWrapped()
149 GrSurfaceOrigin origin) { in findOrCreateProxyByUniqueKey() argument
156 sk_sp<GrTextureProxy> result = this->findProxyByUniqueKey(key, origin); in findOrCreateProxyByUniqueKey()
173 result = this->createWrapped(std::move(texture), origin); in findOrCreateProxyByUniqueKey()
275 GrSurfaceOrigin origin, in createMipMapProxy() argument
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DSignedCertificateTimestamp.java53 private final Origin origin; field in SignedCertificateTimestamp
57 DigitallySigned signature, Origin origin) { in SignedCertificateTimestamp() argument
63 this.origin = origin; in SignedCertificateTimestamp()
82 return origin; in getOrigin()
88 public static SignedCertificateTimestamp decode(InputStream input, Origin origin) in decode() argument
101 origin in decode()
108 public static SignedCertificateTimestamp decode(byte[] input, Origin origin) in decode() argument
110 return decode(new ByteArrayInputStream(input), origin); in decode()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DSignedCertificateTimestamp.java64 private final Origin origin; field in SignedCertificateTimestamp
68 DigitallySigned signature, Origin origin) { in SignedCertificateTimestamp() argument
74 this.origin = origin; in SignedCertificateTimestamp()
93 return origin; in getOrigin()
99 public static SignedCertificateTimestamp decode(InputStream input, Origin origin) in decode() argument
112 origin in decode()
119 public static SignedCertificateTimestamp decode(byte[] input, Origin origin) in decode() argument
121 return decode(new ByteArrayInputStream(input), origin); in decode()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
DStaticMockMethodAdvice.java52 private static Object tryInvoke(Method origin, Object[] arguments) in tryInvoke() argument
55 return origin.invoke(null, arguments); in tryInvoke()
225 public Callable<?> handle(Object methodDescStr, Method origin, Object[] arguments) throws in handle() argument
239 onStub.accept(clazz, origin); in handle()
245 onVerify.accept(clazz, origin); in handle()
248 return new ReturnValueWrapper(interceptor.interceptEntryHook(marker, origin, arguments, in handle()
249 new SuperMethodCall(selfCallInfo, origin, marker, arguments))); in handle()
306 private final Method origin; field in StaticMockMethodAdvice.SuperMethodCall
310 private SuperMethodCall(SelfCallInfo selfCallInfo, Method origin, Object marker, in SuperMethodCall() argument
313 this.origin = origin; in SuperMethodCall()
[all …]
/external/e2fsprogs/lib/blkid/
Dllseek.c46 extern long long llseek(int fd, long long offset, int origin);
71 unsigned int, origin) in _syscall5() argument
74 static blkid_loff_t my_llseek(int fd, blkid_loff_t offset, int origin) in _syscall5()
82 &result, origin); in _syscall5()
86 &result, origin); in _syscall5()
131 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int origin) in blkid_llseek() argument
134 return lseek64 (fd, offset, origin); in blkid_llseek()
141 return lseek(fd, (off_t) offset, origin); in blkid_llseek()
/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py74 origin=self.path)
82 self.assertIs(spec.origin, None)
93 self.assertIs(spec.origin, None)
105 self.assertIs(spec.origin, None)
117 self.assertIs(spec.origin, None)
125 origin='somewhere')
133 origin=None,
144 origin=self.path,
155 origin=None,
198 origin=self.path)
[all …]
/external/eigen/Eigen/src/Geometry/
DParametrizedLine.h48 : m_origin(other.origin()), m_direction(other.direction()) in ParametrizedLine()
58 EIGEN_DEVICE_FUNC ParametrizedLine(const VectorType& origin, const VectorType& direction) in ParametrizedLine() argument
59 : m_origin(origin), m_direction(direction) {} in ParametrizedLine()
73 EIGEN_DEVICE_FUNC const VectorType& origin() const { return m_origin; } in origin() function
74 EIGEN_DEVICE_FUNC VectorType& origin() { return m_origin; } in origin() function
84 VectorType diff = p - origin(); in squaredDistance()
94 { return origin() + direction().dot(p-origin()) * direction(); } in projection()
124 m_origin = other.origin().template cast<Scalar>(); in ParametrizedLine()
150 origin() = -hyperplane.normal()*hyperplane.offset(); in ParametrizedLine()
159 return origin() + (direction()*t); in pointAt()
[all …]
/external/skia/src/utils/
DSkCanvasStack.cpp16 void SkCanvasStack::pushCanvas(std::unique_ptr<SkCanvas> canvas, const SkIPoint& origin) { in pushCanvas() argument
26 data->origin = origin; in pushCanvas()
35 localBounds.offset(origin - fCanvasData[i-1].origin); in pushCanvas()
73 tempMatrix.postTranslate(SkIntToScalar(-fCanvasData[i].origin.x()), in didSetMatrix()
74 SkIntToScalar(-fCanvasData[i].origin.y())); in didSetMatrix()
99 deviceRgn.translate(-fCanvasData[i].origin.x(), in onClipRegion()
100 -fCanvasData[i].origin.y(), &tempRegion); in onClipRegion()
/external/skqp/src/utils/
DSkCanvasStack.cpp16 void SkCanvasStack::pushCanvas(std::unique_ptr<SkCanvas> canvas, const SkIPoint& origin) { in pushCanvas() argument
26 data->origin = origin; in pushCanvas()
35 localBounds.offset(origin - fCanvasData[i-1].origin); in pushCanvas()
73 tempMatrix.postTranslate(SkIntToScalar(-fCanvasData[i].origin.x()), in didSetMatrix()
74 SkIntToScalar(-fCanvasData[i].origin.y())); in didSetMatrix()
99 deviceRgn.translate(-fCanvasData[i].origin.x(), in onClipRegion()
100 -fCanvasData[i].origin.y(), &tempRegion); in onClipRegion()

12345678910>>...62