Home
last modified time | relevance | path

Searched defs:ref (Results 1 – 25 of 1496) sorted by relevance

12345678910>>...60

/external/rust/crates/lazy_static/tests/
Dtest.rs7 pub static ref NUMBER: u32 = times_two(3); constant
9 static ref ARRAY_BOXES: [Box<u32>; 3] = [Box::new(1), Box::new(2), Box::new(3)]; constant
14 pub static ref STRING: String = "hello".to_string(); constant
16 static ref HASHMAP: HashMap<u32, &'static str> = { constant
25 static ref UNSAFE: u32 = unsafe { constant
31 static ref S1: &'static str = "a"; constant
32 static ref S2: &'static str = "b"; constant
35 static ref S3: String = [*S1, *S2].join(""); constant
77 pub static ref FOO: Box<u32> = Box::new(0); constant
78 static ref BAR: Box<u32> = Box::new(98); constant
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DClassOrInterfaceDeclarationContextResolutionTest.java109 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("i"); in solveSymbolReferringToDeclaredInstanceField() local
120 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("j"); in solveSymbolReferringToDeclaredStaticField() local
131 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("k"); in solveSymbolReferringToInheritedInstanceField() local
142 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("o"); in solveSymbolReferringToInterfaceInheritedInstanceField() local
153 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("m"); in solveSymbolReferringToInheritedStaticField() local
164 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("zzz"); in solveSymbolReferringToUnknownElement() local
174 Optional<Value> ref = context.solveSymbolAsValue("i"); in solveSymbolAsValueReferringToDeclaredInstanceField() local
185 Optional<Value> ref = context.solveSymbolAsValue("j"); in solveSymbolAsValueReferringToDeclaredStaticField() local
196 Optional<Value> ref = context.solveSymbolAsValue("k"); in solveSymbolAsValueReferringToInheritedInstanceField() local
207 Optional<Value> ref = context.solveSymbolAsValue("o"); in solveSymbolAsValueReferringToInterfaceInheritedInstanceField() local
[all …]
DCompilationUnitContextResolutionTest.java103 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("out"); in solveSymbolReferringToStaticallyImportedValue() local
118 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("err"); in solveSymbolReferringToStaticallyImportedUsingAsteriskValue() local
128 …SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("java.lang.System.ou… in solveSymbolReferringToStaticField() local
141 Optional<Value> ref = context.solveSymbolAsValue("out"); in solveSymbolAsValueReferringToStaticallyImportedValue() local
154 Optional<Value> ref = context.solveSymbolAsValue("err"); in solveSymbolAsValueReferringToStaticallyImportedUsingAsteriskValue() local
164 Optional<Value> ref = context.solveSymbolAsValue("java.lang.System.out"); in solveSymbolAsValueReferringToStaticField() local
179 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("OtherClassInSamePackage"); in solveTypeInSamePackage() local
190 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("Assert"); in solveTypeImported() local
200 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("org.junit.Assume"); in solveTypeNotImported() local
215 …SymbolReference<ResolvedMethodDeclaration> ref = context.solveMethod("assertFalse", ImmutableList.… in solveMethodStaticallyImportedWithAsterisk() local
[all …]
DEnumDeclarationContextResolutionTest.java55 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("i"); in solveSymbolReferringToDeclaredInstanceField() local
66 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("j"); in solveSymbolReferringToDeclaredStaticField() local
77 SymbolReference<? extends ResolvedValueDeclaration> ref = context.solveSymbol("E1"); in solveSymbolReferringToValue() local
88 Optional<Value> ref = context.solveSymbolAsValue("i"); in solveSymbolAsValueReferringToDeclaredInstanceField() local
99 Optional<Value> ref = context.solveSymbolAsValue("j"); in solveSymbolAsValueReferringToDeclaredStaticField() local
110 Optional<Value> ref = context.solveSymbolAsValue("E1"); in solveSymbolAsValueReferringToValue() local
/external/deqp/framework/delibs/deutil/
DdeCommandLine.c164 const char* ref[] = { "hello" }; in deCommandLine_selfTest() local
169 const char* ref[] = { "hello", "world" }; in deCommandLine_selfTest() local
174 const char* ref[] = { "hello/world" }; in deCommandLine_selfTest() local
179 const char* ref[] = { "hello/world", "--help" }; in deCommandLine_selfTest() local
184 const char* ref[] = { "hello/world", "--help", "foo" }; in deCommandLine_selfTest() local
189 const char* ref[] = { "hello\\world", "--help", "foo" }; in deCommandLine_selfTest() local
194 const char* ref[] = { "hello/worl d", "--help", "--foo=bar", "ba z\"" }; in deCommandLine_selfTest() local
199 const char* ref[] = { "hello/worl d", "--help", "--foo=bar", "ba z'" }; in deCommandLine_selfTest() local
204 const char* ref[] = { "hello", "'world'" }; in deCommandLine_selfTest() local
209 const char* ref[] = { "hello", "\"world\"" }; in deCommandLine_selfTest() local
[all …]
/external/rust/crates/codespan-reporting/tests/
Dterm.rs10 static ref TEST_CONFIG: Config = Config { constant
102 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant
133 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, String>> = { constant
186 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, String>> = { constant
327 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant
354 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant
381 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant
408 static ref TEST_DATA: TestData<'static, SimpleFile<&'static str, &'static str>> = { constant
444 static ref TEST_DATA: TestData<'static, SimpleFile<&'static str, &'static str>> = { constant
473 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, String>> = { constant
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DFakeTsiTest.java48 private final RegisterRef ref = field in FakeTsiTest
171 TsiTest.pingPongTest(newHandshakers(), ref); in pingPong() local
176 TsiTest.pingPongExactFrameSizeTest(newHandshakers(), ref); in pingPongExactFrameSize() local
181 TsiTest.pingPongSmallBufferTest(newHandshakers(), ref); in pingPongSmallBuffer() local
196 TsiTest.corruptedCounterTest(newHandshakers(), ref); in corruptedCounter() local
201 TsiTest.corruptedCiphertextTest(newHandshakers(), ref); in corruptedCiphertext() local
206 TsiTest.corruptedTagTest(newHandshakers(), ref); in corruptedTag() local
211 TsiTest.reflectedCiphertextTest(newHandshakers(), ref); in reflectedCiphertext() local
DAltsTsiTest.java49 private final RegisterRef ref = field in AltsTsiTest
115 TsiTest.pingPongTest(newHandshakers(), ref); in pingPong() local
120 TsiTest.pingPongExactFrameSizeTest(newHandshakers(), ref); in pingPongExactFrameSize() local
125 TsiTest.pingPongSmallBufferTest(newHandshakers(), ref); in pingPongSmallBuffer() local
140 TsiTest.corruptedCounterTest(newHandshakers(), ref); in corruptedCounter() local
145 TsiTest.corruptedCiphertextTest(newHandshakers(), ref); in corruptedCiphertext() local
150 TsiTest.corruptedTagTest(newHandshakers(), ref); in corruptedTag() local
155 TsiTest.reflectedCiphertextTest(newHandshakers(), ref); in reflectedCiphertext() local
/external/rust/crates/hashbrown/tests/
Drayon.rs21 static ref MAP_EMPTY: HashMap<char, u32> = HashMap::new(); constant
22 static ref MAP: HashMap<char, u32> = { constant
218 static ref MAP_VEC_EMPTY: Vec<(char, u32)> = vec![]; constant
219 static ref MAP_VEC: Vec<(char, u32)> = vec![ constant
255 static ref MAP_EXISTING_EMPTY: HashMap<char, u32> = HashMap::new(); constant
256 static ref MAP_EXISTING: HashMap<char, u32> = { constant
262 static ref MAP_EXTENSION_EMPTY: Vec<(char, u32)> = vec![]; constant
263 static ref MAP_EXTENSION: Vec<(char, u32)> = vec![('c', 30), ('e', 50), ('f', 60), ('d', 40),]; constant
315 static ref SET_EMPTY: HashSet<char> = HashSet::new(); constant
316 static ref SET: HashSet<char> = { constant
[all …]
/external/llvm-project/clang/test/CodeGenCUDA/
Dlambda-reference-var.cu26 int &ref = global_device_var; in dev_capture_dev_ref_by_copy() local
46 int &ref = global_device_var; in dev_capture_dev_ref_by_ref() local
57 int &ref = global_device_var; in dev_ref() local
70 int &ref = global_device_var; in dev_lambda_ref() local
80 int &ref = global_host_var; in host_capture_host_ref_by_copy() local
93 int &ref = global_host_var; in host_capture_host_ref_by_ref() local
104 int &ref = global_host_var; in host_ref() local
117 int &ref = global_host_var; in host_lambda_ref() local
132 int &ref = global_host_var; in dev_capture_host_ref_by_copy() local
/external/tensorflow/tensorflow/python/ops/
Dstate_ops.py117 def is_variable_initialized(ref, name=None): argument
137 def assign_sub(ref, value, use_locking=None, name=None): argument
168 def assign_add(ref, value, use_locking=None, name=None): argument
199 def assign(ref, value, validate_shape=None, use_locking=None, name=None): argument
233 def count_up_to(ref, limit, name=None): argument
256 def scatter_update(ref, indices, updates, use_locking=True, name=None): argument
310 def scatter_nd_update(ref, indices, updates, use_locking=True, name=None): argument
372 def scatter_add(ref, indices, updates, use_locking=False, name=None): argument
424 def scatter_nd_add(ref, indices, updates, use_locking=False, name=None): argument
487 def scatter_sub(ref, indices, updates, use_locking=False, name=None): argument
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_alpha.c114 GLubyte ref; in _swrast_alpha_test() local
120 GLushort ref; in _swrast_alpha_test() local
126 const GLfloat ref = ctx->Color.AlphaRef; in _swrast_alpha_test() local
136 GLubyte ref; in _swrast_alpha_test() local
143 GLushort ref; in _swrast_alpha_test() local
150 const GLfloat ref = ctx->Color.AlphaRef; in _swrast_alpha_test() local
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java92 …SymbolReference<? extends ResolvedValueDeclaration> ref = new SymbolSolver(typeSolver).solveSymbol… in solveSymbol() local
140 SymbolReference<ResolvedTypeDeclaration> ref = null; in solveType() local
161 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() local
168 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() local
195 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() local
208 … SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType(qName); in solveType() local
217 …SymbolReference<ResolvedReferenceTypeDeclaration> ref = typeSolver.tryToSolveType("java.lang." + n… in solveType() local
275 ResolvedTypeDeclaration ref = typeSolver.solveType(importString); in solveMethod() local
286 ResolvedTypeDeclaration ref = typeSolver.solveType(typeName); in solveMethod() local
/external/llvm-project/lldb/unittests/Utility/
DOptionsWithRawTest.cpp65 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
80 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
94 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
108 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
122 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
136 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
150 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
164 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
178 auto ref = args.GetArgs().GetArgumentArrayRef(); in TEST() local
/external/tensorflow/tensorflow/python/kernel_tests/
Dscatter_ops_test.py35 def _NumpyAdd(ref, indices, updates): argument
42 def _NumpyAddScalar(ref, indices, update): argument
47 def _NumpySub(ref, indices, updates): argument
52 def _NumpySubScalar(ref, indices, update): argument
57 def _NumpyMul(ref, indices, updates): argument
62 def _NumpyMulScalar(ref, indices, update): argument
67 def _NumpyDiv(ref, indices, updates): argument
72 def _NumpyDivScalar(ref, indices, update): argument
77 def _NumpyMin(ref, indices, updates): argument
82 def _NumpyMinScalar(ref, indices, update): argument
[all …]
/external/rust/crates/nix/test/
Dtest.rs61 pub static ref CWD_LOCK: RwLock<()> = RwLock::new(()); constant
64 pub static ref FORK_MTX: Mutex<()> = Mutex::new(()); constant
67 pub static ref GROUPS_MTX: Mutex<()> = Mutex::new(()); constant
69 pub static ref KMOD_MTX: Mutex<()> = Mutex::new(()); constant
71 pub static ref PTSNAME_MTX: Mutex<()> = Mutex::new(()); constant
73 pub static ref SIGNAL_MTX: Mutex<()> = Mutex::new(()); constant
/external/rust/crates/lazy_static/src/
Dlib.rs35 static ref EXAMPLE: u8 = 42; constant
67 static ref HASHMAP: HashMap<u32, &'static str> = { constant
74 static ref COUNT: usize = HASHMAP.len(); constant
75 static ref NUMBER: u32 = times_two(21); constant
/external/angle/third_party/abseil-cpp/absl/functional/
Dfunction_ref_test.cc39 FunctionRef<int()> ref(&Function); in TEST() local
44 FunctionRef<int()> ref(Function); in TEST() local
52 FunctionRef<int()> ref(NoExceptFunction); in TEST() local
58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() local
64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() local
70 FunctionRef<int(int, int, int)> ref(l); in TEST() local
80 FunctionRef<void()> ref(l); in TEST() local
100 FunctionRef<void()> ref(Function); in TEST() local
111 FunctionRef<int(const S& s)> ref(mem_ptr); in TEST() local
123 FunctionRef<int(const S& s)> ref(mem_fun_ptr); in TEST() local
[all …]
/external/webrtc/third_party/abseil-cpp/absl/functional/
Dfunction_ref_test.cc39 FunctionRef<int()> ref(&Function); in TEST() local
44 FunctionRef<int()> ref(Function); in TEST() local
52 FunctionRef<int()> ref(NoExceptFunction); in TEST() local
58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() local
64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() local
70 FunctionRef<int(int, int, int)> ref(l); in TEST() local
80 FunctionRef<void()> ref(l); in TEST() local
100 FunctionRef<void()> ref(Function); in TEST() local
111 FunctionRef<int(const S& s)> ref(mem_ptr); in TEST() local
123 FunctionRef<int(const S& s)> ref(mem_fun_ptr); in TEST() local
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/functional/
Dfunction_ref_test.cc39 FunctionRef<int()> ref(&Function); in TEST() local
44 FunctionRef<int()> ref(Function); in TEST() local
52 FunctionRef<int()> ref(NoExceptFunction); in TEST() local
58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() local
64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() local
70 FunctionRef<int(int, int, int)> ref(l); in TEST() local
80 FunctionRef<void()> ref(l); in TEST() local
100 FunctionRef<void()> ref(Function); in TEST() local
111 FunctionRef<int(const S& s)> ref(mem_ptr); in TEST() local
123 FunctionRef<int(const S& s)> ref(mem_fun_ptr); in TEST() local
[all …]
/external/libtextclassifier/abseil-cpp/absl/functional/
Dfunction_ref_test.cc39 FunctionRef<int()> ref(&Function); in TEST() local
44 FunctionRef<int()> ref(Function); in TEST() local
52 FunctionRef<int()> ref(NoExceptFunction); in TEST() local
58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() local
64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() local
70 FunctionRef<int(int, int, int)> ref(l); in TEST() local
80 FunctionRef<void()> ref(l); in TEST() local
100 FunctionRef<void()> ref(Function); in TEST() local
111 FunctionRef<int(const S& s)> ref(mem_ptr); in TEST() local
123 FunctionRef<int(const S& s)> ref(mem_fun_ptr); in TEST() local
[all …]
/external/openscreen/third_party/abseil/src/absl/functional/
Dfunction_ref_test.cc39 FunctionRef<int()> ref(&Function); in TEST() local
44 FunctionRef<int()> ref(Function); in TEST() local
52 FunctionRef<int()> ref(NoExceptFunction); in TEST() local
58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() local
64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() local
70 FunctionRef<int(int, int, int)> ref(l); in TEST() local
80 FunctionRef<void()> ref(l); in TEST() local
100 FunctionRef<void()> ref(Function); in TEST() local
111 FunctionRef<int(const S& s)> ref(mem_ptr); in TEST() local
123 FunctionRef<int(const S& s)> ref(mem_fun_ptr); in TEST() local
[all …]
/external/abseil-cpp/absl/functional/
Dfunction_ref_test.cc39 FunctionRef<int()> ref(&Function); in TEST() local
44 FunctionRef<int()> ref(Function); in TEST() local
52 FunctionRef<int()> ref(NoExceptFunction); in TEST() local
58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() local
64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() local
70 FunctionRef<int(int, int, int)> ref(l); in TEST() local
80 FunctionRef<void()> ref(l); in TEST() local
100 FunctionRef<void()> ref(Function); in TEST() local
111 FunctionRef<int(const S& s)> ref(mem_ptr); in TEST() local
123 FunctionRef<int(const S& s)> ref(mem_fun_ptr); in TEST() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java87 …SymbolReference<? extends ValueDeclaration> ref = new SymbolSolver(typeSolver).solveSymbolInType(i… in solveSymbol() local
147 …ithub.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> ref = typeSolver.tryToS… in solveType() local
158 …ithub.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> ref = typeSolver.tryToS… in solveType() local
169 …ithub.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> ref = typeSolver.tryToS… in solveType() local
176 …ithub.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> ref = typeSolver.tryToS… in solveType() local
183 …ithub.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> ref = typeSolver.tryToS… in solveType() local
241 …com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration ref = typeSolver.solveType(i… in solveMethod() local
252 …com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration ref = typeSolver.solveType(t… in solveMethod() local
/external/python/pybind11/tests/
Dobject.h65 ref() : m_ptr(nullptr) { print_default_created(this); track_default_created((ref_tag*) this); } in ref() function
68 ref(T *ptr) : m_ptr(ptr) { in ref() function
76 ref(const ref &r) : m_ptr(r.m_ptr) { in ref() function
84 ref(ref &&r) : m_ptr(r.m_ptr) { in ref() function

12345678910>>...60