Home
last modified time | relevance | path

Searched full:immutable (Results 1 – 25 of 3488) sorted by relevance

12345678910>>...140

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java16 package org.yaml.snakeyaml.immutable;
27 Color loaded = (Color) yaml.load("!!org.yaml.snakeyaml.immutable.Color BLACK"); in testColor()
33 Code loaded = (Code) yaml.load("!!org.yaml.snakeyaml.immutable.Code 123"); in testCode()
40 … .load("!!org.yaml.snakeyaml.immutable.SuperColor [!!org.yaml.snakeyaml.immutable.Color BLACK]"); in testSuperColor()
47 yaml.load("!!org.yaml.snakeyaml.immutable.SuperColor BLACK"); in testSuperColorFail()
53 …:yaml.org,2002:org.yaml.snakeyaml.immutable.SuperColor; exception=Unsupported class: class org.yam… in testSuperColorFail()
59 Code2 code2 = (Code2) yaml.load("!!org.yaml.snakeyaml.immutable.Code2 555"); in testCode2()
66 yaml.load("!!org.yaml.snakeyaml.immutable.Code3 777"); in testCode3()
72 …,2002:org.yaml.snakeyaml.immutable.Code3; exception=No single argument constructor found for class… in testCode3()
79 yaml.load("!!org.yaml.snakeyaml.immutable.Code4 777"); in testCode4()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_name_resolver.cc68 bool immutable) { in ClassNameWithoutPackage() argument
74 bool immutable) { in ClassNameWithoutPackage() argument
80 return ClassNameWithoutPackage(message_descriptor, immutable) + "." + in ClassNameWithoutPackage()
87 bool immutable) { in ClassNameWithoutPackage() argument
164 bool immutable) { in GetFileClassName() argument
165 if (immutable) { in GetFileClassName()
204 bool immutable) { in GetClassName() argument
205 std::string result = FileJavaPackage(descriptor, immutable); in GetClassName()
207 result += GetFileClassName(descriptor, immutable); in GetClassName()
215 bool immutable, bool multiple_files) { in GetClassFullName() argument
[all …]
Djava_name_resolver.h62 std::string GetFileClassName(const FileDescriptor* file, bool immutable);
63 // Gets the unqualified immutable outer class name of a file.
65 // Gets the unqualified default immutable outer class name of a file
76 // Descriptors are shared between immutable messages and mutable messages.
82 std::string GetClassName(const Descriptor* descriptor, bool immutable);
83 std::string GetClassName(const EnumDescriptor* descriptor, bool immutable);
84 std::string GetClassName(const ServiceDescriptor* descriptor, bool immutable);
85 std::string GetClassName(const FileDescriptor* descriptor, bool immutable);
98 bool immutable);
110 const FileDescriptor* file, bool immutable,
[all …]
/external/python/google-api-python-client/docs/dyn/
Dadmin_directory_v1.members.html107 groupKey: string, Email or immutable ID of the group (required)
108 memberKey: string, Email or immutable ID of the member (required)
117 groupKey: string, Email or immutable ID of the group (required)
118 memberKey: string, Email or immutable ID of the member (required)
124 "status": "A String", # Status of member (Immutable)
130 "type": "A String", # Type of member (Immutable)
156 groupKey: string, Email or immutable ID of the group (required)
161 "status": "A String", # Status of member (Immutable)
167 "type": "A String", # Type of member (Immutable)
176 "status": "A String", # Status of member (Immutable)
[all …]
/external/skia/tests/sksl/errors/
DInvalidAssignment.glsl4 error: 8: cannot modify immutable variable 'u'
5 error: 9: cannot modify immutable variable 'x'
8 error: 14: cannot modify immutable variable 'l'
9 error: 15: cannot modify immutable variable 'r'
10 error: 16: cannot modify immutable variable 'l'
13 error: 21: cannot modify immutable variable 'x'
14 error: 22: cannot modify immutable variable 'x'
15 error: 23: cannot modify immutable variable 's'
/external/jsr305/ri/src/main/java/javax/annotation/concurrent/
DImmutable.java17 * Immutable
19 * The class to which this annotation is applied is immutable. This means that
22 * to other immutable objects, and that methods do not publish references to any
24 * Immutable objects may still have internal mutable state for purposes of
26 * long as they are computed from immutable state and that callers cannot tell
29 * Immutable objects are inherently thread-safe; they may be passed between
35 public @interface Immutable { annotation
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/
DSpanData.java38 import javax.annotation.concurrent.Immutable;
45 * Immutable representation of all data collected by the {@link Span} class.
49 @Immutable
54 * Returns a new immutable {@code SpanData}.
90 * Returns a new immutable {@code SpanData}.
110 * @return a new immutable {@code SpanData}.
311 @Immutable
315 * Returns a new immutable {@code TimedEvent<T>}.
320 * @return a new immutable {@code TimedEvent<T>}
353 @Immutable
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DFreezable.java13 * a class be immutable. Once frozen, an object can never be unfrozen, so it is
18 * objects, that those internal objects must either be immutable, or must also
60 * immutable. You know where this is leading, of course; this class is unsafe in
83 * <li>Immutable wrappers. For example, you can put a collection in an
84 * immutable wrapper.</li>
85 * <li>Always-Immutable objects. Java uses this approach, with a few
89 * immutable.</li>
92 * full String API available). Once you want an immutable form, you create one
108 * <li>Immutable wrappers are safer than const in that the constness can't be
112 * <li>Always-Immutable Objects are safe, but usage can require excessive
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DFreezable.java14 * a class be immutable. Once frozen, an object can never be unfrozen, so it is
19 * objects, that those internal objects must either be immutable, or must also
61 * immutable. You know where this is leading, of course; this class is unsafe in
84 * <li>Immutable wrappers. For example, you can put a collection in an
85 * immutable wrapper.</li>
86 * <li>Always-Immutable objects. Java uses this approach, with a few
90 * immutable.</li>
93 * full String API available). Once you want an immutable form, you create one
109 * <li>Immutable wrappers are safer than const in that the constness can't be
113 * <li>Always-Immutable Objects are safe, but usage can require excessive
[all …]
/external/jsr305/javadoc/javax/annotation/concurrent/
DImmutable.html7 Immutable
10 <META NAME="keywords" CONTENT="javax.annotation.concurrent.Immutable class">
17 parent.document.title="Immutable";
57 …<A HREF="../../../index.html?javax/annotation/concurrent/Immutable.html" target="_top"><B>FRAMES</…
58 &nbsp;<A HREF="Immutable.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
89 Annotation Type Immutable</H2>
95 </FONT>public @interface <B>Immutable</B></DL>
99 Immutable
101 The class to which this annotation is applied is immutable. This means that
104 to other immutable objects, and that methods do not publish references to any
[all …]
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr03.c7 * setxattr(2) to immutable and append-only files should get EPERM
10 * 1. Set attribute to a immutable file, setxattr(2) should return -1
59 { /* case 00, set attr to immutable file */
60 .desc = "Set attr to immutable file",
101 static int fsetflag(int fd, int on, int immutable) in fsetflag() argument
109 if (immutable) in fsetflag()
138 /* Create test files and set file immutable or append-only */ in setup()
141 tst_brk(TBROK | TERRNO, "Set %s immutable failed", in setup()
153 tst_res(TWARN | TERRNO, "Unset %s immutable failed", in cleanup()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DOptions.java37 * Utility methods for normalizing user-provided options arrays and sets to canonical immutable sets
46 /** Immutable set containing LinkOption.NOFOLLOW_LINKS. */
50 /** Immutable empty LinkOption set. */
61 /** Returns an immutable set of link options. */
66 /** Returns an immutable set of open options for opening a new file channel. */
94 /** Returns an immutable set of open options for opening a new input stream. */
113 /** Returns an immutable set of open options for opening a new output stream. */
136 /** Returns an immutable set of the given options for a move. */
141 /** Returns an immutable set of the given options for a copy. */
/external/guava/android/guava/src/com/google/common/collect/
DImmutableList.java48 * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained"> immutable collections</a>.
60 * Returns the empty immutable list. This list behaves and performs comparably to {@link
71 * Returns an immutable list containing a single element. This list behaves and performs
82 * Returns an immutable list containing the given elements, in order.
91 * Returns an immutable list containing the given elements, in order.
100 * Returns an immutable list containing the given elements, in order.
109 * Returns an immutable list containing the given elements, in order.
118 * Returns an immutable list containing the given elements, in order.
127 * Returns an immutable list containing the given elements, in order.
136 * Returns an immutable list containing the given elements, in order.
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableList.java52 * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained"> immutable collections</a>.
75 * Returns the empty immutable list. This list behaves and performs comparably to {@link
86 * Returns an immutable list containing a single element. This list behaves and performs
97 * Returns an immutable list containing the given elements, in order.
106 * Returns an immutable list containing the given elements, in order.
115 * Returns an immutable list containing the given elements, in order.
124 * Returns an immutable list containing the given elements, in order.
133 * Returns an immutable list containing the given elements, in order.
142 * Returns an immutable list containing the given elements, in order.
151 * Returns an immutable list containing the given elements, in order.
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestCustomDeserializers.java93 public static class Immutable { class in TestCustomDeserializers
96 public Immutable(int x0, int y0) { in Immutable() method in TestCustomDeserializers.Immutable
368 module.addDeserializer(Immutable.class, in testDelegating()
369 new StdDelegatingDeserializer<Immutable>( in testDelegating()
370 new StdConverter<JsonNode, Immutable>() { in testDelegating()
372 public Immutable convert(JsonNode value) in testDelegating()
376 return new Immutable(x, y); in testDelegating()
382 Immutable imm = mapper.readValue("{\"x\":3,\"y\":7}", Immutable.class); in testDelegating()
392 module.addDeserializer(Immutable.class, in testJsonNodeDelegating()
393 new StdNodeBasedDeserializer<Immutable>(Immutable.class) { in testJsonNodeDelegating()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMicroProps.java49 private final boolean immutable; field in MicroProps
63 * @param immutable
64 … * Whether this MicroProps should behave as an immutable after construction with respect
67 public MicroProps(boolean immutable) { in MicroProps() argument
68 this.immutable = immutable; in MicroProps()
86 if (immutable) { in processQuantity()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMicroProps.java51 private final boolean immutable; field in MicroProps
65 * @param immutable
66 … * Whether this MicroProps should behave as an immutable after construction with respect
69 public MicroProps(boolean immutable) { in MicroProps() argument
70 this.immutable = immutable; in MicroProps()
88 if (immutable) { in processQuantity()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DCallSiteTest.java47 import org.jf.dexlib2.immutable.ImmutableClassDef;
48 import org.jf.dexlib2.immutable.ImmutableDexFile;
49 import org.jf.dexlib2.immutable.ImmutableMethod;
50 import org.jf.dexlib2.immutable.ImmutableMethodImplementation;
51 import org.jf.dexlib2.immutable.instruction.ImmutableInstruction35c;
52 import org.jf.dexlib2.immutable.reference.ImmutableCallSiteReference;
53 import org.jf.dexlib2.immutable.reference.ImmutableMethodHandleReference;
54 import org.jf.dexlib2.immutable.reference.ImmutableMethodProtoReference;
55 import org.jf.dexlib2.immutable.reference.ImmutableMethodReference;
/external/guava/guava/src/com/google/common/primitives/
DImmutableIntArray.java25 import com.google.errorprone.annotations.Immutable;
39 * An immutable array of {@code int} values, with an API resembling {@link List}.
90 @Immutable
99 /** Returns an immutable array containing a single value. */
104 /** Returns an immutable array containing the given values, in order. */
109 /** Returns an immutable array containing the given values, in order. */
114 /** Returns an immutable array containing the given values, in order. */
119 /** Returns an immutable array containing the given values, in order. */
124 /** Returns an immutable array containing the given values, in order. */
132 * Returns an immutable array containing the given values, in order.
[all …]
DImmutableDoubleArray.java25 import com.google.errorprone.annotations.Immutable;
39 * An immutable array of {@code double} values, with an API resembling {@link List}.
90 @Immutable
99 /** Returns an immutable array containing a single value. */
104 /** Returns an immutable array containing the given values, in order. */
109 /** Returns an immutable array containing the given values, in order. */
114 /** Returns an immutable array containing the given values, in order. */
119 /** Returns an immutable array containing the given values, in order. */
124 /** Returns an immutable array containing the given values, in order. */
133 * Returns an immutable array containing the given values, in order.
[all …]
DImmutableLongArray.java25 import com.google.errorprone.annotations.Immutable;
39 * An immutable array of {@code long} values, with an API resembling {@link List}.
90 @Immutable
99 /** Returns an immutable array containing a single value. */
104 /** Returns an immutable array containing the given values, in order. */
109 /** Returns an immutable array containing the given values, in order. */
114 /** Returns an immutable array containing the given values, in order. */
119 /** Returns an immutable array containing the given values, in order. */
124 /** Returns an immutable array containing the given values, in order. */
132 * Returns an immutable array containing the given values, in order.
[all …]
/external/guava/android/guava/src/com/google/common/primitives/
DImmutableDoubleArray.java24 import com.google.errorprone.annotations.Immutable;
34 * An immutable array of {@code double} values, with an API resembling {@link List}.
82 @Immutable
91 /** Returns an immutable array containing a single value. */
96 /** Returns an immutable array containing the given values, in order. */
101 /** Returns an immutable array containing the given values, in order. */
106 /** Returns an immutable array containing the given values, in order. */
111 /** Returns an immutable array containing the given values, in order. */
116 /** Returns an immutable array containing the given values, in order. */
125 * Returns an immutable array containing the given values, in order.
[all …]
DImmutableIntArray.java24 import com.google.errorprone.annotations.Immutable;
34 * An immutable array of {@code int} values, with an API resembling {@link List}.
82 @Immutable
91 /** Returns an immutable array containing a single value. */
96 /** Returns an immutable array containing the given values, in order. */
101 /** Returns an immutable array containing the given values, in order. */
106 /** Returns an immutable array containing the given values, in order. */
111 /** Returns an immutable array containing the given values, in order. */
116 /** Returns an immutable array containing the given values, in order. */
124 * Returns an immutable array containing the given values, in order.
[all …]
DImmutableLongArray.java24 import com.google.errorprone.annotations.Immutable;
34 * An immutable array of {@code long} values, with an API resembling {@link List}.
82 @Immutable
91 /** Returns an immutable array containing a single value. */
96 /** Returns an immutable array containing the given values, in order. */
101 /** Returns an immutable array containing the given values, in order. */
106 /** Returns an immutable array containing the given values, in order. */
111 /** Returns an immutable array containing the given values, in order. */
116 /** Returns an immutable array containing the given values, in order. */
124 * Returns an immutable array containing the given values, in order.
[all …]
/external/guava/guava-tests/test/com/google/common/graph/
DImmutableValueGraphTest.java78 .<String, Integer>immutable() in immutableValueGraphBuilder_appliesGraphBuilderConfig()
98 graphBuilder.<String, Integer>immutable(); in immutableValueGraphBuilder_copiesGraphBuilder()
113 ValueGraphBuilder.directed().<String, Integer>immutable().addNode("A").build(); in immutableValueGraphBuilder_addNode()
123 .<String, Integer>immutable() in immutableValueGraphBuilder_putEdgeFromNodes()
136 .<String, Integer>immutable() in immutableValueGraphBuilder_putEdgeFromEndpointPair()
149 .<Integer, String>immutable() in immutableValueGraphBuilder_incidentEdges_preservesIncidentEdgesOrder()
164 ValueGraphBuilder.directed().<Integer, String>immutable().build(); in immutableValueGraphBuilder_incidentEdgeOrder_stable()
174 .<Integer, String>immutable() in immutableValueGraphBuilder_fromUnorderedBuilder_incidentEdgeOrder_stable()

12345678910>>...140