Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 10791) sorted by relevance

12345678910>>...432

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DGenericVisitorAdapter.java46 R result; in visit() local
48 result = n.getMembers().accept(this, arg); in visit()
49 if (result != null) in visit()
50 return result; in visit()
53 result = n.getName().accept(this, arg); in visit()
54 if (result != null) in visit()
55 return result; in visit()
58 result = n.getAnnotations().accept(this, arg); in visit()
59 if (result != null) in visit()
60 return result; in visit()
[all …]
/external/antlr/runtime/Ruby/test/functional/ast-output/
Drewrites.rb23 result = ''
26 result += r.result if r.respond_to?( :result )
27 result += r.tree.inspect if r.tree
29 return( expect_errors ? [ result, parser.reported_errors ] : result )
60 result = parse( <<-'END', :a, 'abc 34' )
68 result.should == ''
73 result = parse( <<-'END', :a, 'abc' )
82 result.should == 'abc'
87 result = parse( <<-'END', :a, 'abc' )
96 result.should == 'x'
[all …]
Dauto-ast.rb23 result = ''
26 result += r.result if r.respond_to?( :result )
27 result += r.tree.inspect if r.tree
29 return( expect_errors ? [ result, parser.reported_errors ] : result )
61 result = parse( <<-'END', :a, 'abc 34' )
69 result.should == 'abc 34'
73 result = parse( <<-'END', :a, 'abc 34' )
81 result.should == 'abc 34'
85 result = parse( <<-'END', :a, 'abc 34' )
93 result.should == '(abc 34)'
[all …]
Dtree-rewrite.rb1009 result = parser.a
1010 nodes = ANTLR3::AST::CommonTreeNodeStream.new( result.tree )
1013 result = walker.a
1014 stree = result.tree.nil? ? '' : result.tree.inspect
1023 result = parser.a
1024 nodes = ANTLR3::AST::CommonTreeNodeStream.new( result.tree )
1027 result = walker.a
1028 stree = result.tree.nil? ? '' : result.tree.inspect
1037 result = parser.a
1038 nodes = ANTLR3::AST::CommonTreeNodeStream.new( result.tree )
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers_test.cc121 int32 result; in TEST() local
123 EXPECT_EQ(true, safe_strto32("1", &result)); in TEST()
124 EXPECT_EQ(1, result); in TEST()
125 EXPECT_EQ(true, safe_strto32("123", &result)); in TEST()
126 EXPECT_EQ(123, result); in TEST()
127 EXPECT_EQ(true, safe_strto32(" -123 ", &result)); in TEST()
128 EXPECT_EQ(-123, result); in TEST()
129 EXPECT_EQ(true, safe_strto32("2147483647", &result)); in TEST()
130 EXPECT_EQ(2147483647, result); in TEST()
131 EXPECT_EQ(true, safe_strto32("-2147483648", &result)); in TEST()
[all …]
Dstrcat_test.cc65 string result; in TEST() local
76 result = tensorflow::strings::StrCat(false, true, 2, 3); in TEST()
77 EXPECT_EQ(result, "0123"); in TEST()
79 result = tensorflow::strings::StrCat(-1); in TEST()
80 EXPECT_EQ(result, "-1"); in TEST()
82 result = tensorflow::strings::StrCat(0.5); in TEST()
83 EXPECT_EQ(result, "0.5"); in TEST()
85 result = tensorflow::strings::StrCat(strs[1], pieces[2]); in TEST()
86 EXPECT_EQ(result, "CruelWorld"); in TEST()
88 result = tensorflow::strings::StrCat(strs[0], ", ", pieces[2]); in TEST()
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/
Drsaz_exp.c45 BN_ULONG *a_inv, *m, *result, *table_s = storage + 40 * 3, *R2 = table_s; in RSAZ_1024_mod_exp_avx2() local
48 result = storage; in RSAZ_1024_mod_exp_avx2()
53 result = storage + 40; in RSAZ_1024_mod_exp_avx2()
69 rsaz_1024_mul_avx2(result, R2, one, m, k0); in RSAZ_1024_mod_exp_avx2()
73 rsaz_1024_scatter5_avx2(table_s, result, 0); in RSAZ_1024_mod_exp_avx2()
77 rsaz_1024_sqr_avx2(result, a_inv, m, k0, 1); in RSAZ_1024_mod_exp_avx2()
78 rsaz_1024_scatter5_avx2(table_s, result, 2); in RSAZ_1024_mod_exp_avx2()
82 rsaz_1024_mul_avx2(result, result, a_inv, m, k0); in RSAZ_1024_mod_exp_avx2()
83 rsaz_1024_scatter5_avx2(table_s, result, index); in RSAZ_1024_mod_exp_avx2()
87 rsaz_1024_sqr_avx2(result, result, m, k0, 1); in RSAZ_1024_mod_exp_avx2()
[all …]
/external/epid-sdk/epid/common/math/src/
Dtatepairing.c84 EpidStatus result = kEpidErr; in NewEpid11PairingState() local
107 result = kEpidBadArgErr; in NewEpid11PairingState()
111 result = kEpidBadArgErr; in NewEpid11PairingState()
119 result = kEpidBadArgErr; in NewEpid11PairingState()
125 result = kEpidMemAllocErr; in NewEpid11PairingState()
137 result = kEpidBadArgErr; in NewEpid11PairingState()
144 result = kEpidBadArgErr; in NewEpid11PairingState()
150 result = NewFfElement(pairing_state_ctx->Fq3, in NewEpid11PairingState()
152 BREAK_ON_EPID_ERROR(result); in NewEpid11PairingState()
153 result = NewFfElement(pairing_state_ctx->Fq, &neg_qnr); in NewEpid11PairingState()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DGenericVisitorAdapter.java47 R result = a.accept(this, arg); in visit() local
48 if (result != null) { in visit()
49 return result; in visit()
57 R result = member.accept(this, arg); in visit() local
58 if (result != null) { in visit()
59 return result; in visit()
73 R result = a.accept(this, arg); in visit() local
74 if (result != null) { in visit()
75 return result; in visit()
81 R result = n.getType().accept(this, arg); in visit() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DGenericVisitorAdapter.java82 R result = n.getJavaDoc().accept(this, arg); in visit() local
83 if (result != null) { in visit()
84 return result; in visit()
91 R result = a.accept(this, arg); in visit() local
92 if (result != null) { in visit()
93 return result; in visit()
101 R result = member.accept(this, arg); in visit() local
102 if (result != null) { in visit()
103 return result; in visit()
115 R result = n.getJavaDoc().accept(this, arg); in visit() local
[all …]
/external/v8/tools/unittests/
Drun_tests_test.py168 result = run_tests(
177 self.assertIn('Running 2 base tests', result.stdout, result)
178 self.assertIn('Done running sweet/bananas: pass', result.stdout, result)
182 self.assertEqual(0, result.returncode, result)
187 result = run_tests(
199 self.assertIn('Running 1 base tests', result.stdout, result)
200 self.assertIn('2 tests ran', result.stdout, result)
202 self.assertIn('Done running sweet/bananas', result.stdout, result)
204 self.assertIn('Done running sweet/raspberries', result.stdout, result)
205 self.assertEqual(0, result.returncode, result)
[all …]
/external/skqp/src/sksl/
DSkSLUtil.h222 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Default() local
223 result->fVersionDeclString = "#version 400"; in Default()
224 result->fShaderDerivativeSupport = true; in Default()
225 return result; in Default()
229 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version450Core() local
230 result->fVersionDeclString = "#version 450 core"; in Version450Core()
231 return result; in Version450Core()
235 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version110() local
236 result->fVersionDeclString = "#version 110"; in Version110()
237 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in Version110()
[all …]
/external/skia/src/sksl/
DSkSLUtil.h227 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Default() local
228 result->fVersionDeclString = "#version 400"; in Default()
229 result->fShaderDerivativeSupport = true; in Default()
230 return result; in Default()
234 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version450Core() local
235 result->fVersionDeclString = "#version 450 core"; in Version450Core()
236 return result; in Version450Core()
240 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version110() local
241 result->fVersionDeclString = "#version 110"; in Version110()
242 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in Version110()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
D1-1.c27 int result; in main() local
35 result = strftime(text, sizeof(text), "%a", local_t); in main()
36 printf("a Bytes %i %s ", result, text); in main()
37 if (result != 3) { in main()
44 result = strftime(text, sizeof(text), "%A", local_t); in main()
45 printf("A Bytes %i %s ", result, text); in main()
46 if (result <= 5) { in main()
53 result = strftime(text, sizeof(text), "%b", local_t); in main()
54 printf("b Bytes %i %s ", result, text); in main()
55 if (result != 3) { in main()
[all …]
/external/epid-sdk/epid/common/1.1/src/
Depid11params.c55 EpidStatus result = kEpidErr; in CreateEpid11Params() local
66 result = kEpidMemAllocErr; in CreateEpid11Params()
71 result = NewBigNum(sizeof(params_str.p), &_params->p); in CreateEpid11Params()
72 BREAK_ON_EPID_ERROR(result); in CreateEpid11Params()
73 result = ReadBigNum(&params_str.p, sizeof(params_str.p), _params->p); in CreateEpid11Params()
74 BREAK_ON_EPID_ERROR(result); in CreateEpid11Params()
76 result = NewBigNum(sizeof(params_str.p_tick), &_params->p_tick); in CreateEpid11Params()
77 BREAK_ON_EPID_ERROR(result); in CreateEpid11Params()
78 result = ReadBigNum(&params_str.p_tick, sizeof(params_str.p_tick), in CreateEpid11Params()
80 BREAK_ON_EPID_ERROR(result); in CreateEpid11Params()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_execute.c184 const struct gl_program_machine *machine, GLfloat result[4]) in fetch_vector4()
190 COPY_4V(result, src); in fetch_vector4()
197 result[0] = src[GET_SWZ(source->Swizzle, 0)]; in fetch_vector4()
198 result[1] = src[GET_SWZ(source->Swizzle, 1)]; in fetch_vector4()
199 result[2] = src[GET_SWZ(source->Swizzle, 2)]; in fetch_vector4()
200 result[3] = src[GET_SWZ(source->Swizzle, 3)]; in fetch_vector4()
205 result[0] = -result[0]; in fetch_vector4()
206 result[1] = -result[1]; in fetch_vector4()
207 result[2] = -result[2]; in fetch_vector4()
208 result[3] = -result[3]; in fetch_vector4()
[all …]
/external/elfutils/libdw/
Ddwarf_begin_elf.c74 check_section (Dwarf *result, size_t shstrndx, Elf_Scn *scn, bool inscngrp) in check_section() argument
90 return result; in check_section()
99 return result; in check_section()
104 const char *scnname = elf_strptr (result->elf, shstrndx, in check_section()
111 Dwarf_Sig8_Hash_free (&result->sig8_hash); in check_section()
113 free (result); in check_section()
144 return result; in check_section()
146 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section()
148 return result; in check_section()
162 return result; in check_section()
[all …]
/external/epid-sdk/epid/member/src/
Ddecompress_privkey.c57 EpidStatus result = kEpidErr; in EpidDecompressPrivKey() local
76 result = CreateEpid2Params(&epid2_params); in EpidDecompressPrivKey()
77 if (kEpidNoErr != result) { in EpidDecompressPrivKey()
78 return result; in EpidDecompressPrivKey()
102 result = NewEcPoint(G1, &priv_key_.A); in EpidDecompressPrivKey()
103 BREAK_ON_EPID_ERROR(result); in EpidDecompressPrivKey()
104 result = NewFfElement(Fp, &priv_key_.x); in EpidDecompressPrivKey()
105 BREAK_ON_EPID_ERROR(result); in EpidDecompressPrivKey()
106 result = NewFfElement(Fp, &priv_key_.f); in EpidDecompressPrivKey()
107 BREAK_ON_EPID_ERROR(result); in EpidDecompressPrivKey()
[all …]
/external/epid-sdk/epid/common/src/
Depid2params.c61 EpidStatus result = kEpidErr; in CreateEpid2Params() local
73 result = kEpidMemAllocErr; in CreateEpid2Params()
76 result = NewBigNum(sizeof(params_str.p), &internal_param->p); in CreateEpid2Params()
77 if (kEpidNoErr != result) { in CreateEpid2Params()
80 result = ReadBigNum(&params_str.p, sizeof(params_str.p), internal_param->p); in CreateEpid2Params()
81 if (kEpidNoErr != result) { in CreateEpid2Params()
84 result = NewBigNum(sizeof(params_str.q), &internal_param->q); in CreateEpid2Params()
85 if (kEpidNoErr != result) { in CreateEpid2Params()
88 result = ReadBigNum(&params_str.q, sizeof(params_str.q), internal_param->q); in CreateEpid2Params()
89 if (kEpidNoErr != result) { in CreateEpid2Params()
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_result.py16 result = ['A traceback']
18 result.append('locals')
19 return result
22 unittest.result.traceback = traceback
36 result = unittest.TestResult()
38 self.assertTrue(result.wasSuccessful())
39 self.assertEqual(len(result.errors), 0)
40 self.assertEqual(len(result.failures), 0)
41 self.assertEqual(result.testsRun, 0)
42 self.assertEqual(result.shouldStop, False)
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_result.py21 result = unittest.TestResult()
23 self.assertTrue(result.wasSuccessful())
24 self.assertEqual(len(result.errors), 0)
25 self.assertEqual(len(result.failures), 0)
26 self.assertEqual(result.testsRun, 0)
27 self.assertEqual(result.shouldStop, False)
28 self.assertIsNone(result._stdout_buffer)
29 self.assertIsNone(result._stderr_buffer)
36 result = unittest.TestResult()
38 result.stop()
[all …]
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DMessageFormatterTest.java44 String result; field in MessageFormatterTest
48 result = MessageFormatter.format(null, i1).getMessage(); in testNull()
49 assertEquals(null, result); in testNull()
54 result = MessageFormatter.format("Value is {}.", null).getMessage(); in nullParametersShouldBeHandledWithoutBarfing()
55 assertEquals("Value is null.", result); in nullParametersShouldBeHandledWithoutBarfing()
57 result = MessageFormatter.format("Val1 is {}, val2 is {}.", null, null).getMessage(); in nullParametersShouldBeHandledWithoutBarfing()
58 assertEquals("Val1 is null, val2 is null.", result); in nullParametersShouldBeHandledWithoutBarfing()
60 result = MessageFormatter.format("Val1 is {}, val2 is {}.", i1, null).getMessage(); in nullParametersShouldBeHandledWithoutBarfing()
61 assertEquals("Val1 is 1, val2 is null.", result); in nullParametersShouldBeHandledWithoutBarfing()
63 result = MessageFormatter.format("Val1 is {}, val2 is {}.", null, i2).getMessage(); in nullParametersShouldBeHandledWithoutBarfing()
[all …]
/external/sonivox/jet_tools/JetCreator/
Deas.py227 result = eas_dll.EAS_SetVolume(self.eas.handle, self.handle, volume)
228 if result:
229 …raise EAS_Exception(result, 'EAS_SetVolume error %d on file %s' % (result, self.path), 'EAS_SetVol…
245 result = eas_dll.EAS_SetPriority(self.eas.handle, self.handle, priority)
246 if result:
247 …raise EAS_Exception(result, 'EAS_SetPriority error %d on file %s' % (result, self.path), 'EAS_SetP…
254 result = eas_dll.EAS_GetPriority(self.eas.handle, self.handle, byref(priority))
255 if result:
256 …raise EAS_Exception(result, 'EAS_GetPriority error %d on file %s' % (result, self.path), 'EAS_GetP…
264 result = eas_dll.EAS_SetTransposition(self.eas.handle, self.handle, transposition)
[all …]
/external/arm-optimized-routines/test/testcases/directed/
Dpow.tst6 func=pow op1=00000000.00000000 op2=00000000.00000000 result=3ff00000.00000000 errno=0
7 func=pow op1=00000000.00000000 op2=00000000.00000001 result=00000000.00000000 errno=0
8 func=pow op1=00000000.00000000 op2=00100000.00000000 result=00000000.00000000 errno=0
9 func=pow op1=00000000.00000000 op2=1fffffff.ffffffff result=00000000.00000000 errno=0
10 func=pow op1=00000000.00000000 op2=3bdfffff.ffffffff result=00000000.00000000 errno=0
11 func=pow op1=00000000.00000000 op2=3be00000.00000000 result=00000000.00000000 errno=0
12 func=pow op1=00000000.00000000 op2=3fe00000.00000000 result=00000000.00000000 errno=0
13 func=pow op1=00000000.00000000 op2=3ff00000.00000000 result=00000000.00000000 errno=0
14 func=pow op1=00000000.00000000 op2=40000000.00000000 result=00000000.00000000 errno=0
15 func=pow op1=00000000.00000000 op2=40080000.00000000 result=00000000.00000000 errno=0
[all …]
/external/swiftshader/third_party/subzero/crosstest/
Dtest_arith_ll.ll5 %result = add i32 %a, %b
7 ret i32 %result
13 %result.trunc = add i8 %a.trunc, %b.trunc
14 %result = zext i8 %result.trunc to i32
15 ret i32 %result
21 %result.trunc = add i16 %a.trunc, %b.trunc
22 %result = zext i16 %result.trunc to i32
23 ret i32 %result
29 %result = add i32 %a, %b
31 ret i32 %result
[all …]

12345678910>>...432