Searched refs:sub (Results 1 - 25 of 475) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-1278.js37 function sub(x, y) { function
55 assertEquals(0, sub(0, 0));
56 assertEquals(0, sub(0, -0));
57 assertEquals(-0, sub(-0, 0));
58 assertEquals(0, sub(-0, -0));
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DConcurrentModTest.java44 List sub = al.subList(1, 3);
45 assertEquals(2, sub.size());
46 // the sub.get(1) is 3.0
47 assertTrue(((Double) sub.get(1)).doubleValue() <= 3.0);
48 assertTrue(((Double) sub.get(1)).doubleValue() > 2.0);
54 sub.get(1);
74 List sub = al.subList(1, 3);
75 assertEquals(2, sub.size());
76 // the sub.get(1) is 3.0
77 assertTrue(((Double) sub
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DIdentity2Test.java174 IdentitySubclass sub = new IdentitySubclass("test", scope);
175 IdentityScope returnedScope = sub.getScope();
183 IdentitySubclass sub = new IdentitySubclass("test",
185 sub.setPublicKey(pubKey);
186 PublicKey returnedPubKey = sub.getPublicKey();
195 IdentitySubclass sub = new IdentitySubclass(name,
197 assertEquals("Wrong Name returned", name, sub.getName());
205 IdentitySubclass sub = new IdentitySubclass("test",
207 sub.setInfo(info);
208 assertEquals("Wrong Info returned", info, sub
[all...]
H A DIdentityScope2Test.java141 IdentityScopeSubclass sub = new IdentityScopeSubclass("test",
145 sub.addIdentity(id);
149 sub.addIdentity(id2);
160 IdentityScopeSubclass sub = new IdentityScopeSubclass("test",
164 sub.addIdentity(id);
165 sub.removeIdentity(id);
167 sub.removeIdentity(id);
178 IdentityScopeSubclass sub = new IdentityScopeSubclass("test",
182 sub.addIdentity(id);
183 Enumeration en = sub
[all...]
/external/clang/test/CodeGenCXX/
H A Dconditional-expr-lvalue.cpp14 A sub() const;
18 (cond ? a : a.sub()).foo();
/external/clang/test/SemaCXX/
H A Dqual-id-test.cpp23 struct sub : B::base struct in namespace:A
39 A::sub a;
43 a.sub::x();
48 a.A::sub::x();
51 a.bad::x(); // expected-error{{'bad::x' is not a member of class 'A::sub'}}
60 A::sub *a;
64 a->sub::x();
69 a->A::sub::x();
72 a->bad::x(); // expected-error{{'bad::x' is not a member of class 'A::sub'}}
86 A::sub *
[all...]
/external/dbus/dbus/
H A Ddbus-marshal-recursive.c118 void (* recurse) (DBusTypeReader *sub,
119 DBusTypeReader *parent); /**< recurse with this reader as sub */
149 base_reader_recurse (DBusTypeReader *sub, argument
153 reader_init (sub,
162 struct_or_dict_entry_types_only_reader_recurse (DBusTypeReader *sub, argument
165 base_reader_recurse (sub, parent);
167 _dbus_assert (_dbus_string_get_byte (sub->type_str,
168 sub->type_pos) == DBUS_STRUCT_BEGIN_CHAR ||
169 _dbus_string_get_byte (sub->type_str,
170 sub
176 struct_or_dict_entry_reader_recurse(DBusTypeReader *sub, DBusTypeReader *parent) argument
186 array_types_only_reader_recurse(DBusTypeReader *sub, DBusTypeReader *parent) argument
227 array_reader_recurse(DBusTypeReader *sub, DBusTypeReader *parent) argument
262 variant_reader_recurse(DBusTypeReader *sub, DBusTypeReader *parent) argument
435 DBusTypeReader sub; local
570 DBusTypeReader sub; local
976 _dbus_type_reader_recurse(DBusTypeReader *reader, DBusTypeReader *sub) argument
1621 writer_recurse_init_and_check(DBusTypeWriter *writer, int container_type, DBusTypeWriter *sub) argument
1759 writer_recurse_struct_or_dict_entry(DBusTypeWriter *writer, int begin_char, const DBusString *contained_type, int contained_type_start, int contained_type_len, DBusTypeWriter *sub) argument
1796 writer_recurse_array(DBusTypeWriter *writer, const DBusString *contained_type, int contained_type_start, int contained_type_len, DBusTypeWriter *sub, dbus_bool_t is_array_append) argument
1969 writer_recurse_variant(DBusTypeWriter *writer, const DBusString *contained_type, int contained_type_start, int contained_type_len, DBusTypeWriter *sub) argument
2040 _dbus_type_writer_recurse_contained_len(DBusTypeWriter *writer, int container_type, const DBusString *contained_type, int contained_type_start, int contained_type_len, DBusTypeWriter *sub, dbus_bool_t is_array_append) argument
2094 _dbus_type_writer_recurse(DBusTypeWriter *writer, int container_type, const DBusString *contained_type, int contained_type_start, DBusTypeWriter *sub) argument
2128 _dbus_type_writer_append_array(DBusTypeWriter *writer, const DBusString *contained_type, int contained_type_start, DBusTypeWriter *sub) argument
2164 _dbus_type_writer_unrecurse(DBusTypeWriter *writer, DBusTypeWriter *sub) argument
[all...]
/external/chromium/testing/gmock/test/
H A Dgmock_output_test.py68 output = re.sub(r'.*gtest_main.*\n', '', output)
69 output = re.sub(r'\[.*\d+ tests.*\n', '', output)
70 output = re.sub(r'\[.* test environment .*\n', '', output)
71 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output)
72 output = re.sub(r'.* FAILED TESTS\n', '', output)
89 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output)
95 return re.sub(r' error: ', ' Failure\n', output)
101 return re.sub(r'@\w+', '@0x#', output)
107 return re.sub(r'\(used in test .+\) ', '', output)
139 """Runs a command in a sub
[all...]
/external/compiler-rt/lib/arm/
H A Dmodsi3.S32 sub r0, r2, r0, asr #31
33 sub r1, r3, r1, asr #31
38 sub r0, r0, r4, asr #31
H A Ddivmodsi4.S36 sub r0, ip, r0, asr #31
37 sub r1, lr, r1, asr #31
44 sub r0, r0, r4, asr #31
45 sub r1, r1, r5, asr #31
H A Ddivsi3.S34 sub r0, r2, r0, asr #31
35 sub r1, r3, r1, asr #31
40 sub r0, r0, r4, asr #31
H A Daeabi_idivmod.S22 sub sp, sp, #4
H A Daeabi_uidivmod.S23 sub sp, sp, #4
/external/blktrace/btreplay/
H A Dbtrecord.h78 static inline __u64 mk_btversion(int mjr, int mnr, int sub) argument
80 return ((mjr & 0xff) << 16) | ((mnr & 0xff) << 8) | (sub & 0xff);
83 static inline void get_btversion(__u64 version, int *mjr, int *mnr, int *sub) argument
87 *sub = (int)((version >> 0) & 0xff);
/external/opencv/cv/src/
H A Dcvcalcimagehomography.cpp67 CvMat sub = cvMat( 3, 3, CV_32F, _sub ); local
105 cvSetIdentity( &sub );
106 cvSub( &sub, &r_trans, &sub );
107 cvMatMul( &sub, &center, &t_trans );
109 cvMatMul( &t_trans, &rz, &sub );
110 cvScaleAdd( &sub, cvRealScalar(1./plane_dist), &r_trans, &sub ); /* ? */
112 cvMatMul( &intrinsic, &sub, &r_trans );
113 cvInvert( &intrinsic, &sub, CV_SV
[all...]
/external/chromium/testing/gtest/test/
H A Dgtest_output_test.py101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
108 return re.sub(r'Stack trace:(.|\n)*?\n\n',
116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
122 return re.sub(r'\(\d+ ms', '(? ms', output)
136 return re.sub(r'unsigned int', 'unsigned', test_output)
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
156 output = re.sub(r'\d+ tests?, listed below',
158 output = re.sub(
[all...]
/external/gtest/test/
H A Dgtest_output_test.py101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
108 return re.sub(r'Stack trace:(.|\n)*?\n\n',
116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
122 return re.sub(r'\(\d+ ms', '(? ms', output)
136 return re.sub(r'unsigned int', 'unsigned', test_output)
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
156 output = re.sub(r'\d+ tests?, listed below',
158 output = re.sub(
[all...]
/external/regex-re2/re2/
H A Dset.cc52 re2::Regexp** sub = new re2::Regexp*[nsub + 1]; local
54 sub[i] = re->sub()[i]->Incref();
55 sub[nsub] = m;
57 re = re2::Regexp::Concat(sub, nsub + 1, pf);
58 delete[] sub;
60 re2::Regexp* sub[2]; local
61 sub[0] = re;
62 sub[1] = m;
63 re = re2::Regexp::Concat(sub,
[all...]
/external/javassist/src/main/javassist/bytecode/analysis/
H A DSubroutineScanner.java62 private void scan(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { argument
75 next = scanOp(pos, iter, sub) && iter.hasNext();
81 private boolean scanOp(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { argument
82 subroutines[pos] = sub;
87 scanTableSwitch(pos, iter, sub);
93 scanLookupSwitch(pos, iter, sub);
114 scan(target, iter, sub);
125 private void scanLookupSwitch(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { argument
128 scan(pos + iter.s32bitAt(index), iter, sub);
135 scan(target, iter, sub);
139 scanTableSwitch(int pos, CodeIterator iter, Subroutine sub) argument
[all...]
/external/llvm/unittests/Support/
H A DRegexTest.cpp68 EXPECT_EQ("aNUMber", Regex("[0-9]+").sub("NUM", "a1234ber"));
71 EXPECT_EQ("a\\ber", Regex("[0-9]+").sub("\\\\", "a1234ber", &Error));
73 EXPECT_EQ("a\nber", Regex("[0-9]+").sub("\\n", "a1234ber", &Error));
75 EXPECT_EQ("a\tber", Regex("[0-9]+").sub("\\t", "a1234ber", &Error));
77 EXPECT_EQ("ajber", Regex("[0-9]+").sub("\\j", "a1234ber", &Error));
80 EXPECT_EQ("aber", Regex("[0-9]+").sub("\\", "a1234ber", &Error));
84 EXPECT_EQ("aa1234bber", Regex("a[0-9]+b").sub("a\\0b", "a1234ber", &Error));
87 EXPECT_EQ("a1234ber", Regex("a([0-9]+)b").sub("a\\1b", "a1234ber", &Error));
90 EXPECT_EQ("aber", Regex("a[0-9]+b").sub("a\\100b", "a1234ber", &Error));
/external/opencv/cvaux/src/
H A Dcvfindhandregion.cpp61 /* IppmVect32f sub, cros; */
62 float *sub, *cros; local
102 sub = icvCreateVector_32f( 3 );
104 if( sub == NULL || cros == NULL )
140 icvSubVector_32f ((IppmVect32f )&points[i], (IppmVect32f )&line[3], sub, 3);
142 icvCrossProduct2L_32f ((IppmVect32f )&line[0], sub, cros);
145 sub[0] = points[i].x - line[3];
146 sub[1] = points[i].y - line[4];
147 sub[2] = points[i].z - line[5];
148 a[0] = sub[
277 float *sub, *cros; local
[all...]
/external/jpeg/
H A Darmv6_idct.S80 sub r4, sp, #236
147 sub r7, r1, r7, lsl #1
148 sub r1, r1, r3
164 sub r2, r2, r6
165 sub r6, r0, r6, lsl #1
177 sub r2, r4, r2, lsl #1
186 sub r3, r0, r3, lsl #1
187 sub r1, r1, r7
190 sub r7, r4, r7, lsl #1
198 sub r
[all...]
/external/qemu/distrib/jpeg-6b/
H A Darmv6_idct.S80 sub r4, sp, #236
147 sub r7, r1, r7, lsl #1
148 sub r1, r1, r3
164 sub r2, r2, r6
165 sub r6, r0, r6, lsl #1
177 sub r2, r4, r2, lsl #1
186 sub r3, r0, r3, lsl #1
187 sub r1, r1, r7
190 sub r7, r4, r7, lsl #1
198 sub r
[all...]
/external/protobuf/gtest/test/
H A Dgtest_output_test.py102 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
109 return re.sub(r'Stack trace:(.|\n)*?\n\n',
117 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
123 return re.sub(r'\(\d+ ms', '(? ms', output)
129 output = re.sub(r'\d+ tests, listed below',
131 output = re.sub(r'\d+ FAILED TESTS',
133 output = re.sub(r'\d+ tests from \d+ test cases',
135 output = re.sub(r'\d+ tests from ([a-zA-Z_])',
137 return re.sub(r'\d+ tests\.', '? tests.', output)
155 test_output = re.sub(
[all...]
/external/clang/test/Index/
H A Dcomplete-member-access.m38 @property Sub *sub;
42 return other.sub.myProp;

Completed in 552 milliseconds

1234567891011>>