Home
last modified time | relevance | path

Searched full:origin (Results 1 – 25 of 4010) sorted by relevance

12345678910>>...161

/external/rust/crates/url/src/
Dorigin.rs15 pub fn url_origin(url: &Url) -> Origin { in url_origin() argument
22 Err(_) => Origin::new_opaque(), in url_origin()
25 "ftp" | "http" | "https" | "ws" | "wss" => Origin::Tuple( in url_origin()
31 "file" => Origin::new_opaque(), in url_origin()
32 _ => Origin::new_opaque(), in url_origin()
36 /// The origin of an URL
38 /// Two URLs with the same origin are considered
42 /// The origin is determined based on the scheme as follows:
44 /// - If the scheme is "blob" the origin is the origin of the
46 /// it is an opaque origin.
[all …]
/external/kotlinc/license/
DREADME.md12 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
16 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
20 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
24 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
28 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
32 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
36 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
40 …- Origin: Derived from PCollections, A Persistent Java Collections Library (https://pcollections.o…
44 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
48 …- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright …
[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()
108 throw new IllegalArgumentException("Cookie origin may not be null"); 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()
114 throw new IllegalArgumentException("Cookie origin may not be null"); in validate()
[all …]
/external/compiler-rt/lib/msan/
Dmsan_origin.h10 // Origin id utils.
20 // Origin handling.
22 // Origin is a 32-bit identifier that is attached to any uninitialized value in
26 // There are 3 kinds of origin ids:
27 // 1xxx xxxx xxxx xxxx heap origin id
28 // 0000 xxxx xxxx xxxx stack origin id
29 // 0zzz xxxx xxxx xxxx chained origin id
31 // Heap origin id describes a heap memory allocation and contains (in the xxx
34 // Stack origin id describes a stack memory allocation and contains (in the xxx
38 // Chained origin id describes an event of storing an uninitialized value to
[all …]
Dmsan.h37 INVALID, APP, SHADOW, ORIGIN enumerator
49 {0x00c000000000ULL, 0x00e000000000ULL, MappingDesc::ORIGIN, "origin"},
69 {0x02000000000ULL, 0x03000000000ULL, MappingDesc::ORIGIN, "origin-2"},
71 {0x04000000000ULL, 0x05000000000ULL, MappingDesc::ORIGIN, "origin-1"},
78 {0x0A000000000ULL, 0x0B000000000ULL, MappingDesc::ORIGIN, "origin-3"},
85 {0x18000000000ULL, 0x19000000000ULL, MappingDesc::ORIGIN, "origin-4"},
90 {0x27000000000ULL, 0x28000000000ULL, MappingDesc::ORIGIN, "origin-5"},
92 {0x29000000000ULL, 0x2A000000000ULL, MappingDesc::ORIGIN, "origin-7"},
96 {0x2D000000000ULL, 0x2E000000000ULL, MappingDesc::ORIGIN, "origin-6"},
100 {0x3A000000000ULL, 0x3B000000000ULL, MappingDesc::ORIGIN, "origin-9"},
[all …]
Dmsan_poisoning.h21 // Return origin for the first poisoned byte in the memory range, or 0.
24 // Walk [addr, addr+size) app memory region, copying origin tags from the
29 // Copy origin from src (app address) to dst (app address), creating chained
30 // origin ids as necessary, without overriding origin for fully initialized
34 // memmove() shadow and origin. Dst and src are application addresses.
35 // See CopyOrigin() for the origin copying logic.
39 // memcpy() shadow and origin. Dst and src are application addresses.
40 // See CopyOrigin() for the origin copying logic.
45 // origin regions.
51 // Set origin for the memory region.
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DArrayType.java57 * The origin of a pair of array brackets [].
59 public enum Origin { enum in ArrayType
73 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()
81 this(type, Origin.TYPE, nodeList(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
[all …]
/external/llvm/test/Instrumentation/MemorySanitizer/
Dorigin-alignment.ll8 ; Check origin instrumentation of stores.
9 ; Check that debug info for origin propagation code is set correctly.
16 ; 8-aligned store => 8-aligned origin store, origin address is not realigned
24 ; CHECK-ORIGINS1: [[ORIGIN:%[01-9a-z]+]] = load {{.*}} @__msan_param_origin_tls
26 ; CHECK-ORIGINS2: [[ORIGIN:%[01-9a-z]+]] = call i32 @__msan_chain_origin(i32 [[ORIGIN0]])
27 ; CHECK: store i32 [[ORIGIN]], {{.*}}, align 8
31 ; 4-aligned store => 4-aligned origin store, origin address is not realigned
39 ; CHECK-ORIGINS1: [[ORIGIN:%[01-9a-z]+]] = load {{.*}} @__msan_param_origin_tls
41 ; CHECK-ORIGINS2: [[ORIGIN:%[01-9a-z]+]] = call i32 @__msan_chain_origin(i32 [[ORIGIN0]])
42 ; CHECK: store i32 [[ORIGIN]], {{.*}}, align 4
[all …]
/external/turbine/java/com/google/turbine/binder/
DResolve.java46 @Nullable ClassSymbol origin, in resolve() argument
49 return resolve(env, origin, sym, simpleName, new HashSet<>()); in resolve()
54 @Nullable ClassSymbol origin, in resolve() argument
72 result = resolve(env, origin, bound.superclass(), simpleName, seen); in resolve()
73 if (result != null && visible(origin, result, env.getNonNull(result))) { in resolve()
78 result = resolve(env, origin, i, simpleName, seen); in resolve()
79 if (result != null && visible(origin, result, env.getNonNull(result))) { in resolve()
88 * env} and {@code origin} symbol.
91 Env<ClassSymbol, ? extends HeaderBoundClass> env, @Nullable ClassSymbol origin) { in resolveFunction() argument
96 return Resolve.resolve(env, origin, base, name); in resolveFunction()
[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/scudo/standalone/
Dwrappers_cpp.cpp25 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new()
28 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]()
32 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new()
36 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]()
39 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new()
43 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator new[]()
48 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new()
53 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator new[]()
58 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete()
61 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray); in operator delete[]()
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dextend.inl9 genType const & Origin, argument
14 return Origin + (Source - Origin) * Distance;
20 tvec2<T, P> const & Origin, argument
25 return Origin + (Source - Origin) * Distance;
31 tvec3<T, P> const & Origin, argument
36 return Origin + (Source - Origin) * Distance;
42 tvec4<T, P> const & Origin, argument
47 return Origin + (Source - Origin) * Distance;
/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DSignedCertificateTimestamp.java39 public enum Origin { enum in SignedCertificateTimestamp
51 // origin is implied from the SCT's source and is not encoded in it,
53 private final Origin origin; field in SignedCertificateTimestamp
57 DigitallySigned signature, Origin origin) { in SignedCertificateTimestamp() argument
63 this.origin = origin; in SignedCertificateTimestamp()
81 public Origin getOrigin() { in getOrigin()
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
[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/TestParameterInjector/src/main/java/com/google/testing/junit/testparameterinjector/
DTestParameterAnnotationMethodProcessor.java74 * Class to hold an annotation type and origin and one of the values as returned by the {@code
83 * Annotation type and origin of the annotation annotated with {@link TestParameterAnnotation}.
141 AnnotationWithMetadata annotationWithMetadata, Origin origin) { in create() argument
152 annotationWithMetadata.annotation().annotationType(), origin), in create()
216 /** The origin of an annotation type. */
217 enum Origin { enum in TestParameterAnnotationMethodProcessor
236 abstract Origin origin(); in origin() method in TestParameterAnnotationMethodProcessor.AnnotationTypeOrigin
239 Class<? extends Annotation> annotationType, Origin origin) { in create() argument
241 annotationType, origin); in create()
246 return annotationType().getSimpleName() + ":" + origin(); in toString()
[all …]
/external/rust/crates/url/tests/
Durltestdata.json8 "origin": "http://example.org", string
23 "origin": "http://foo:21", string
38 "origin": "https://test", string
53 "origin": "https://test", string
68 "origin": "null", string
83 "origin": "null", string
98 "origin": "http://example.org", string
113 "origin": "http://example.org", string
128 "origin": "http://example.org", string
143 "origin": "null", string
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DSignedCertificateTimestamp.java50 public enum Origin { enum in SignedCertificateTimestamp
62 // origin is implied from the SCT's source and is not encoded in it,
64 private final Origin origin; field in SignedCertificateTimestamp
68 DigitallySigned signature, Origin origin) { in SignedCertificateTimestamp() argument
74 this.origin = origin; in SignedCertificateTimestamp()
92 public Origin getOrigin() { in getOrigin()
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
[all …]
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMethodAdvice.java36 * Try to invoke the method {@code origin} on {@code instance}.
38 * @param origin method to invoke
46 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()
188 * @param origin method that contains the hook
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()
[all …]
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_generic.cpp163 size_t origin[ 3 ] = { 0, 0, 0 }; in create_image() local
166 …void* mapped = (char*)clEnqueueMapImage(queue, img, CL_TRUE, CL_MAP_WRITE, origin, region, &mapped… in create_image()
228 void *value, const size_t origin[], const size_t region[] ) in fill_region_with_value() argument
233 char *destPtr = (char *)imageValues + origin[ 2 ] * imageInfo->slicePitch in fill_region_with_value()
234 + origin[ 1 ] * imageInfo->rowPitch + pixelSize * origin[ 0 ]; in fill_region_with_value()
239 // Use pixel at origin to fill region. in fill_region_with_value()
258 … const size_t origin[], const size_t region[], ExplicitType outputType, MTdata d ) in test_fill_image_generic() argument
318 // Now fill the region defined by origin, region with the pixel value found at origin. in test_fill_image_generic()
320 …g_info( " - Filling at %d,%d,%d size %d,%d,%d\n", (int)origin[ 0 ], (int)origin[ 1 ], (int)origin[… in test_fill_image_generic()
331 … read_image_pixel_float( imgHost, imageInfo, origin[ 0 ], origin[ 1 ], origin[ 2 ], fillColor ); in test_fill_image_generic()
[all …]
/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/scudo/standalone/tests/
Dcombined_test.cpp23 static constexpr scudo::Chunk::Origin Origin = scudo::Chunk::Origin::Malloc; variable
158 void *P = Allocator->allocate(Size, Origin, Align); in BasicTest()
165 Allocator->deallocate(P, Origin, Size); in BasicTest()
204 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, true); in SCUDO_TYPED_TEST()
209 Allocator->deallocate(P, Origin, Size); in SCUDO_TYPED_TEST()
222 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, false); in SCUDO_TYPED_TEST()
227 Allocator->deallocate(P, Origin, Size); in SCUDO_TYPED_TEST()
242 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, false); in SCUDO_TYPED_TEST()
254 Allocator->deallocate(P, Origin, Size); in SCUDO_TYPED_TEST()
264 void *NeedleP = Allocator->allocate(NeedleSize, Origin); in SCUDO_TYPED_TEST()
[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/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DPositionMetric.java21 protected enum Origin { enum in PositionMetric
57 protected float getAbsolutePosition(float size, Origin origin) { in getAbsolutePosition() argument
58 switch(origin) { in getAbsolutePosition()
66 throw new IllegalArgumentException("Unsupported Origin: " + origin); in getAbsolutePosition()
70 protected float getRelativePosition(float size, Origin origin) { in getRelativePosition() argument
73 switch(origin) { in getRelativePosition()
81 throw new IllegalArgumentException("Unsupported Origin: " + origin); in getRelativePosition()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYPlot.java88 // the origin or boundary is set to the current value of the plot.
383 case ORIGIN: in calculateMinMaxVals()
399 case ORIGIN: in calculateMinMaxVals()
526 * Centers the domain axis on origin.
528 * @param origin
530 public void centerOnDomainOrigin(Number origin) { in centerOnDomainOrigin() argument
531 centerOnDomainOrigin(origin, null, BoundaryMode.AUTO); in centerOnDomainOrigin()
535 * Centers the domain on origin, calculating the upper and lower boundaries of the axis
538 * @param origin
542 public void centerOnDomainOrigin(Number origin, Number extent, BoundaryMode mode) { in centerOnDomainOrigin() argument
[all …]

12345678910>>...161