Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 102) sorted by relevance

12345

/dalvik/libdex/
DDexUtf.cpp115 bool dexIsValidMemberName(const char* s) { in dexIsValidMemberName() argument
118 switch (*s) { in dexIsValidMemberName()
129 s++; in dexIsValidMemberName()
135 switch (*s) { in dexIsValidMemberName()
140 return angleName && s[1] == '\0'; in dexIsValidMemberName()
143 if (!dexIsValidMemberNameUtf8(&s)) { in dexIsValidMemberName()
151 static bool isValidTypeDescriptorOrClassName(const char* s, bool isClassName, in isValidTypeDescriptorOrClassName() argument
155 while (*s == '[') { in isValidTypeDescriptorOrClassName()
157 s++; in isValidTypeDescriptorOrClassName()
181 switch (*(s++)) { in isValidTypeDescriptorOrClassName()
[all …]
DDexUtf.h102 bool dexIsValidMemberName(const char* s);
105 bool dexIsValidTypeDescriptor(const char* s);
114 bool dexIsValidClassName(const char* s, bool dotSeparator);
119 bool dexIsReferenceDescriptor(const char* s);
124 bool dexIsClassDescriptor(const char* s);
129 bool dexIsFieldDescriptor(const char* s);
Dsha1.cpp337 char *s; in verifyfile() local
348 s = fgets(checkline, LINESIZE, checkfile); in verifyfile()
349 if (s) in verifyfile()
367 s = checkline+46; in verifyfile()
368 sha1file(s, digest); in verifyfile()
378 " EXPECTED: ", s); in verifyfile()
389 printf("OK: %s\n", s); in verifyfile()
393 } while (s); in verifyfile()
427 char *s; in main() local
470 s = path; in main()
[all …]
/dalvik/tests/003-omnibus-opcodes/src/
DInternedString.java29 String s = "blah"; in testDeadInternedString() local
30 s = s + s; in testDeadInternedString()
31 WeakReference strRef = new WeakReference<String>(s.intern()); in testDeadInternedString()
33 s = CONST; in testDeadInternedString()
48 String s = CONST; in testImmortalInternedString() local
50 strRef = new WeakReference<String>(s.intern()); in testImmortalInternedString()
52 s = ""; in testImmortalInternedString()
/dalvik/vm/mterp/mips/
DOP_FLOAT_TO_INT.S36 l.s fa1, .LFLOAT_TO_INT_max
37 c.ole.s fcc0, fa1, fa0
38 l.s fv0, .LFLOAT_TO_INT_ret_max
41 l.s fa1, .LFLOAT_TO_INT_min
42 c.ole.s fcc0, fa0, fa1
43 l.s fv0, .LFLOAT_TO_INT_ret_min
46 mov.s fa1, fa0
47 c.un.s fcc0, fa0, fa1
48 li.s fv0, 0
51 trunc.w.s fv0, fa0
DOP_FLOAT_TO_LONG.S38 l.s fa1, .LLONG_TO_max
39 c.ole.s fcc0, fa1, fa0
44 l.s fa1, .LLONG_TO_min
45 c.ole.s fcc0, fa0, fa1
50 mov.s fa1, fa0
51 c.un.s fcc0, fa0, fa1
Dheader.S123 .set noat; l.s rd, (AT); .set at
137 .set noat; s.s rd, (AT); .set at
204 #define STORE64_off_F(rlo, rhi, rbase, off) s.s rlo, off(rbase); \
205 s.s rhi, (off+4)(rbase)
206 #define LOAD64_off_F(rlo, rhi, rbase, off) l.s rlo, off(rbase); \
207 l.s rhi, (off+4)(rbase)
218 #define STORE64_off_F(rlo, rhi, rbase, off) s.s rlo, (off+4)(rbase); \
219 s.s rhi, (off)(rbase)
220 #define LOAD64_off_F(rlo, rhi, rbase, off) l.s rlo, (off+4)(rbase); \
221 l.s rhi, (off)(rbase)
Dbinflop2addr.S28 li.s ft0, 0
29 c.eq.s fcc0, ft0, fa1
/dalvik/vm/compiler/template/mips/
DTEMPLATE_FLOAT_TO_INT_VFP.S35 l.s fa1, .LFLOAT_TO_INT_max
36 c.ole.s fcc0, fa1, fa0
37 l.s fv0, .LFLOAT_TO_INT_ret_max
40 l.s fa1, .LFLOAT_TO_INT_min
41 c.ole.s fcc0, fa0, fa1
42 l.s fv0, .LFLOAT_TO_INT_ret_min
45 mov.s fa1, fa0
46 c.un.s fcc0, fa0, fa1
47 li.s fv0, 0
50 trunc.w.s fv0, fa0
Dheader.S186 #define LOAD_F(rd, rbase) l.s rd, (rbase)
188 #define STORE_F(rd, rbase) s.s rd, (rbase)
193 .set noat; l.s rd, (AT); .set at
207 .set noat; s.s rd, (AT); .set at
270 #define STORE64_off_F(rlo,rhi,rbase,off) s.s rlo, off(rbase); \
271 s.s rhi, (off+4)(rbase)
272 #define LOAD64_off_F(rlo,rhi,rbase,off) l.s rlo, off(rbase); \
273 l.s rhi, (off+4)(rbase)
280 #define STORE64_off_F(rlo,rhi,rbase,off) s.s rlo, (off+4)(rbase); \
281 s.s rhi, (off)(rbase)
[all …]
Dfbinop.S30 li.s ft0, 0
31 c.eq.s fcc0, ft0, fa1 # condition bit and comparision with 0
/dalvik/vm/native/
Djava_lang_System.cpp69 const char* s = (const char*) src; in memmove_words() local
77 if (n == 0 || d == s) in memmove_words()
88 if (__builtin_expect((d < s) || ((size_t)(d - s) >= n), 1)) { in memmove_words()
93 if ((((uintptr_t) d | (uintptr_t) s) & 0x03) != 0) { in memmove_words()
105 if ((((uintptr_t) d ^ (uintptr_t) s) & 0x03) != 0) { in memmove_words()
114 *(uint16_t*)d = *(uint16_t*)s; in memmove_words()
116 s += sizeof(uint16_t); in memmove_words()
125 *(uint32_t*)d = *(uint32_t*)s; in memmove_words()
127 s += sizeof(uint32_t); in memmove_words()
135 *(uint16_t*)d = *(uint16_t*)s; in memmove_words()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDalvInsnList.java134 String s; in writeTo() local
137 s = insn.listingString(" ", out.getAnnotationWidth(), in writeTo()
140 s = null; in writeTo()
143 if (s != null) { in writeTo()
144 out.annotate(codeBytes, s); in writeTo()
231 String s; in debugPrint() local
234 s = insn.listingString("", 0, verbose); in debugPrint()
236 s = null; in debugPrint()
239 if (s != null) { in debugPrint()
240 iw.write(s); in debugPrint()
/dalvik/dx/src/com/android/dx/dex/code/
DDalvInsnList.java134 String s; in writeTo() local
137 s = insn.listingString(" ", out.getAnnotationWidth(), in writeTo()
140 s = null; in writeTo()
143 if (s != null) { in writeTo()
144 out.annotate(codeBytes, s); in writeTo()
231 String s; in debugPrint() local
234 s = insn.listingString("", 0, verbose); in debugPrint()
236 s = null; in debugPrint()
239 if (s != null) { in debugPrint()
240 iw.write(s); in debugPrint()
/dalvik/dx/tests/066-dex-try-catch-rethrow/
DBlort.java19 public static Object zorch1(String s) { in zorch1() argument
31 public static void zorch2(String s) { in zorch2() argument
43 public static int zorch3(String s) { in zorch3() argument
/dalvik/dx/src/com/android/dx/dex/file/
DStringIdsSection.java162 StringIdItem s = strings.get(string); in indexOf() local
164 if (s == null) { in indexOf()
168 return s.getIndex(); in indexOf()
176 for (StringIdItem s : strings.values()) { in orderItems()
177 s.setIndex(idx); in orderItems()
/dalvik/dx/src/com/android/dx/cf/code/
DByteOps.java559 String s = OPCODE_DETAILS;
560 int len = s.length();
563 int idx = (Character.digit(s.charAt(i), 16) << 4) |
564 Character.digit(s.charAt(i + 1), 16);
566 switch (s.charAt(i + 3)) {
590 if (s.charAt(i - 1) == ':') {
593 switch (s.charAt(i)) {
610 int endAt = s.indexOf(';', i);
612 OPCODE_NAMES[idx] = s.substring(i, endAt);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DStringIdsSection.java180 StringIdItem s = strings.get(string); in indexOf() local
182 if (s == null) { in indexOf()
186 return s.getIndex(); in indexOf()
205 for (StringIdItem s : strings.values()) { in orderItems()
206 s.setIndex(idx); in orderItems()
/dalvik/dx/src/com/android/dx/command/annotool/
DAnnotationLister.java249 private boolean isMatchingInnerClass(String s) { in isMatchingInnerClass() argument
252 while (0 < (i = s.lastIndexOf('$'))) { in isMatchingInnerClass()
253 s = s.substring(0, i); in isMatchingInnerClass()
254 if (matchInnerClassesOf.contains(s)) { in isMatchingInnerClass()
269 private boolean isMatchingPackage(String s) { in isMatchingPackage() argument
270 int slashIndex = s.lastIndexOf('/'); in isMatchingPackage()
277 = s.substring(0, slashIndex); in isMatchingPackage()
/dalvik/tests/027-arithmetic/
Dexpected.txt17 b=-1, s=-1, c=4095, i=268435455
18 b=0xffffffff, s=0xffffffff, c=0xfff, i=0xfffffff
/dalvik/tests/027-arithmetic/src/
DMain.java119 short s = -4; in unsignedShiftTest() local
124 s >>>= 4; in unsignedShiftTest()
128 System.out.println("b=" + b + ", s=" + s + ", c=" + (int)c + ", i=" +i); in unsignedShiftTest()
130 + ", s=0x" + Integer.toHexString((int)s) in unsignedShiftTest()
/dalvik/tests/036-finalizer/src/
DMain.java54 final String[] s = new String[1]; in wimpString() local
59 s[0] = ref.toString(); in wimpString()
72 return s[0]; in wimpString()
/dalvik/dexgen/src/com/android/dexgen/util/
DByteArray.java221 private void checkOffsets(int s, int e) { in checkOffsets() argument
222 if ((s < 0) || (e < s) || (e > size)) { in checkOffsets()
223 throw new IllegalArgumentException("bad range: " + s + ".." + e + in checkOffsets()
/dalvik/dx/src/com/android/dx/util/
DByteArray.java221 private void checkOffsets(int s, int e) { in checkOffsets() argument
222 if ((s < 0) || (e < s) || (e > size)) { in checkOffsets()
223 throw new IllegalArgumentException("bad range: " + s + ".." + e + in checkOffsets()
/dalvik/dx/tests/095-dex-const-string-jumbo/
DBlort.java18 static public void consume(String s) { in consume() argument

12345