/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | DataOutput.java | 79 * @param val 85 public abstract void writeBoolean(boolean val) throws IOException; argument 90 * @param val 97 public abstract void writeByte(int val) throws IOException; argument 116 * @param val 122 public abstract void writeChar(int val) throws IOException; argument 139 * @param val 145 public abstract void writeDouble(double val) throws IOException; argument 151 * @param val 157 public abstract void writeFloat(float val) throw argument 169 writeInt(int val) argument 181 writeLong(long val) argument 194 writeShort(int val) argument [all...] |
H A D | DataOutputStream.java | 124 * @param val 130 public final void writeBoolean(boolean val) throws IOException { argument 131 out.write(val ? 1 : 0); 137 * byte of the integer {@code val} is written. 139 * @param val 146 public final void writeByte(int val) throws IOException { argument 147 out.write(val); 175 * of the integer {@code val} are written, with the higher one written 176 * first. This corresponds to the Unicode value of {@code val}. 178 * @param val 184 writeChar(int val) argument 223 writeDouble(double val) argument 237 writeFloat(float val) argument 251 writeInt(int val) argument 270 writeLong(long val) argument 283 writeLongToBuffer(long val, byte[] buffer, int offset) argument 308 writeShort(int val) argument 315 writeShortToBuffer(int val, byte[] buffer, int offset) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/ |
H A D | XObjectFactory.java | 39 * @param val The java object which this object will wrap. 43 static public XObject create(Object val) argument 48 if (val instanceof XObject) 50 result = (XObject) val; 52 else if (val instanceof String) 54 result = new XString((String) val); 56 else if (val instanceof Boolean) 58 result = new XBoolean((Boolean)val); 60 else if (val instanceof Double) 62 result = new XNumber(((Double) val)); 82 create(Object val, XPathContext xctxt) argument [all...] |
/dalvik/libcore/luni/src/main/native/ |
H A D | java_lang_Character.cpp | 22 static jint getData(JNIEnv* env, jclass clazz, jint val) argument 24 return Unicode::getPackedData(val); 30 static jint toLower(JNIEnv* env, jclass clazz, jint val) argument 32 return Unicode::toLower(val); 38 static jint toUpper(JNIEnv* env, jclass clazz, jint val) argument 40 return Unicode::toUpper(val); 46 static jint numericValue(JNIEnv* env, jclass clazz, jint val) argument 48 return Unicode::getNumericValue(val); 54 static jint toTitle(JNIEnv* env, jclass clazz, jint val) argument 56 return Unicode::toTitle(val); [all...] |
H A D | java_lang_Double.c | 24 static jlong doubleToLongBits(JNIEnv* env, jclass clazz, jdouble val) argument 28 d.d = val; 42 static jlong doubleToRawLongBits(JNIEnv* env, jclass clazz, jdouble val) argument 46 d.d = val; 54 static jdouble longBitsToDouble(JNIEnv* env, jclass clazz, jlong val) argument 58 d.bits = val;
|
H A D | java_lang_Float.c | 32 static jint floatToIntBits(JNIEnv* env, jclass clazz, jfloat val) argument 36 f.f = val; 50 static jint floatToRawBits(JNIEnv* env, jclass clazz, jfloat val) argument 54 f.f = val; 62 static jfloat intBitsToFloat(JNIEnv* env, jclass clazz, jint val) argument 66 f.bits = val;
|
/dalvik/vm/alloc/ |
H A D | Float12.h | 34 inline unsigned short intToFloat12(unsigned int val) argument 36 int oval = val; 44 unsigned int pval = val; 45 while (val > 0x1ff) { 46 pval = val; 47 val >>= 1; 53 val++; 54 if (val > 0x1ff) { 55 val = (val [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncRound.java | 46 final double val= obj.num(); 47 if (val >= -0.5 && val < 0) return new XNumber(-0.0); 48 if (val == 0.0) return new XNumber(val); 49 return new XNumber(java.lang.Math.floor(val
|
H A D | FuncQname.java | 48 XObject val; 54 val = (null == qname) ? XString.EMPTYSTRING : new XString(qname); 58 val = XString.EMPTYSTRING; 61 return val;
|
/dalvik/libcore/math/src/main/java/java/math/ |
H A D | BitLevel.java | 41 static int bitLength(BigInteger val) { argument 43 val.establishOldRepresentation("BitLevel.bitLength"); 45 if (val.sign == 0) { 48 int bLength = (val.numberLength << 5); 49 int highDigit = val.digits[val.numberLength - 1]; 51 if (val.sign < 0) { 52 int i = val.getFirstNonzeroDigit(); 54 if (i == val.numberLength - 1) { 64 static int bitCount(BigInteger val) { argument 95 testBit(BigInteger val, int n) argument 245 inplaceShiftRight(BigInteger val, int count) argument 318 flipBit(BigInteger val, int n) argument [all...] |
H A D | Logical.java | 39 static BigInteger not(BigInteger val) { argument 40 if (val.sign == 0) { 43 if (val.equals(BigInteger.MINUS_ONE)) { 46 int resDigits[] = new int[val.numberLength + 1]; 49 if (val.sign > 0) { 50 // ~val = -val + 1 51 if (val.digits[val.numberLength - 1] != -1) { 52 for (i = 0; val 82 and(BigInteger val, BigInteger that) argument 111 andPositive(BigInteger val, BigInteger that) argument 224 andNot(BigInteger val, BigInteger that) argument 256 andNotPositive(BigInteger val, BigInteger that) argument 383 andNotNegative(BigInteger val, BigInteger that) argument 439 or(BigInteger val, BigInteger that) argument 491 orNegative(BigInteger val, BigInteger that) argument 588 xor(BigInteger val, BigInteger that) argument 643 xorNegative(BigInteger val, BigInteger that) argument [all...] |
H A D | BigInteger.java | 281 * @param val 284 * if {@code val == null}. 286 * if {@code val} is not a valid representation of a {@code 289 public BigInteger(String val) { argument 291 bigInt.putDecString(val); 303 * @param val 308 * if {@code val == null}. 310 * if {@code val} is not a valid representation of a {@code 314 public BigInteger(String val, int radix) { argument 315 if (val 394 BigInteger(byte[] val) argument 413 valueOf(long val) argument 477 add(BigInteger val) argument 493 subtract(BigInteger val) argument 776 and(BigInteger val) argument 794 or(BigInteger val) argument 812 xor(BigInteger val) argument 832 andNot(BigInteger val) argument 919 compareTo(BigInteger val) argument 933 min(BigInteger val) argument 946 max(BigInteger val) argument 1035 gcd(BigInteger val) argument 1049 multiply(BigInteger val) argument 1370 setFromString(BigInteger bi, String val, int radix) argument [all...] |
H A D | Multiplication.java | 90 * @param val an arbitrary {@code BigInteger} 92 * @return {@code val * factor} 94 static BigInteger multiplyByPositiveInt(BigInteger val, int factor) { argument 96 BigInt bi = val.bigInt.copy(); 105 * @param val the number to be multiplied 107 * @return {@code val * 10<sup>exp</sup>} 109 static BigInteger multiplyByTenPow(BigInteger val, long exp) { argument 112 ? multiplyByPositiveInt(val, tenPows[(int)exp]) 113 : val.multiply(powerOf10(exp))); 183 * @param val th 187 multiplyByFivePow(BigInteger val, int exp) argument [all...] |
/dalvik/libcore/support/src/test/java/tests/util/ |
H A D | CallVerificationStack.java | 127 * @param val 130 public void push(boolean val) { argument 131 this.push(new BaseTypeWrapper(val)); 137 * @param val 140 public void push(char val) { argument 141 this.push(new BaseTypeWrapper(val)); 147 * @param val 150 public void push(double val) { argument 151 this.push(new BaseTypeWrapper(val)); 157 * @param val 160 push(float val) argument 170 push(int val) argument 180 push(long val) argument 190 push(short val) argument 293 BaseTypeWrapper(boolean val) argument 300 BaseTypeWrapper(byte val) argument 307 BaseTypeWrapper(char val) argument 314 BaseTypeWrapper(double val) argument 321 BaseTypeWrapper(float val) argument 328 BaseTypeWrapper(int val) argument 335 BaseTypeWrapper(long val) argument 342 BaseTypeWrapper(short val) argument [all...] |
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | DateFormatSymbolsTest.java | 112 String[] val = { "AM", "PM" }; 113 if (retVal.length != val.length) 115 for (int i = 0; i < val.length; i++) 116 assertTrue("Array values do not match", retVal[i].equals(val[i])); 132 String[] val = { "BC", "AD" }; 133 if (retVal.length != val.length) 135 for (int i = 0; i < val.length; i++) 136 assertTrue("Array values do not match", retVal[i].equals(val[i])); 153 String val = "GyMdkHmsSEDFwWahKzZ"; 155 // String val [all...] |
/dalvik/libdex/ |
H A D | ZipArchive.h | 135 off_t val = 0; local 136 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, &val, NULL, NULL); 137 return (long) val; 142 long val = 0; local 143 dexZipGetEntryInfo(pArchive, entry, NULL, &val, NULL, NULL, NULL, NULL); 144 return val; 149 long val = 0; local 150 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, NULL, &val, NULL); 151 return val; 156 long val local [all...] |
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
H A D | Checksum.java | 54 * @param val 57 public void update(int val); argument
|
H A D | CheckedOutputStream.java | 59 * updated with {@code val}. 61 * @param val 67 public void write(int val) throws IOException { argument 68 out.write(val); 69 check.update(val);
|
/dalvik/vm/ |
H A D | Bits.h | 272 INLINE void set1(u1* buf, u1 val) argument 274 *buf = (u1)(val); 280 INLINE void set2BE(u1* buf, u2 val) argument 282 *buf++ = (u1)(val >> 8); 283 *buf = (u1)(val); 289 INLINE void set4BE(u1* buf, u4 val) argument 291 *buf++ = (u1)(val >> 24); 292 *buf++ = (u1)(val >> 16); 293 *buf++ = (u1)(val >> 8); 294 *buf = (u1)(val); 300 set8BE(u1* buf, u8 val) argument 315 set2LE(u1* buf, u2 val) argument 324 set4LE(u1* buf, u4 val) argument 335 set8LE(u1* buf, u8 val) argument [all...] |
/dalvik/vm/jdwp/ |
H A D | ExpandBuf.h | 51 void expandBufAdd1(ExpandBuf* pBuf, u1 val); 52 void expandBufAdd2BE(ExpandBuf* pBuf, u2 val); 53 void expandBufAdd4BE(ExpandBuf* pBuf, u4 val); 54 void expandBufAdd8BE(ExpandBuf* pBuf, u8 val);
|
H A D | ExpandBuf.c | 123 void expandBufAdd1(ExpandBuf* pBuf, u1 val) argument 125 ensureSpace(pBuf, sizeof(val)); 126 *(pBuf->storage + pBuf->curLen) = val; 133 void expandBufAdd2BE(ExpandBuf* pBuf, u2 val) argument 135 ensureSpace(pBuf, sizeof(val)); 136 set2BE(pBuf->storage + pBuf->curLen, val); 137 pBuf->curLen += sizeof(val); 143 void expandBufAdd4BE(ExpandBuf* pBuf, u4 val) argument 145 ensureSpace(pBuf, sizeof(val)); 146 set4BE(pBuf->storage + pBuf->curLen, val); 153 expandBufAdd8BE(ExpandBuf* pBuf, u8 val) argument [all...] |
/dalvik/tests/025-access-controller/src/ |
H A D | Privvy.java | 11 public Privvy(int val) { argument 12 mValue = new Integer(val + 1);
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/ |
H A D | VariableStack.java | 268 * @param val The value of the variable that is being set. 270 public void setLocalVariable(int index, XObject val) argument 272 _stackFrames[index + _currentFrameBottom] = val; 283 * @param val The value of the variable that is being set. 285 public void setLocalVariable(int index, XObject val, int stackFrame) argument 287 _stackFrames[index + stackFrame] = val; 310 XObject val = _stackFrames[index]; 312 if(null == val) 318 if (val.getType() == XObject.CLASS_UNRESOLVEDVARIABLE) 319 return (_stackFrames[index] = val 425 setGlobalVariable(final int index, final XObject val) argument [all...] |
H A D | Arg.java | 82 * @param val an XObject representing the arguments's value. 85 public final void setVal(XObject val) argument 87 m_val = val; 212 * @param val Value of the argument, expressed as an XObject 214 public Arg(QName qname, XObject val) argument 218 m_val = val; 246 * @param val Value of the argument, expressed as an XObject 249 public Arg(QName qname, XObject val, boolean isFromWithParam) argument 253 m_val = val;
|
/dalvik/vm/hprof/ |
H A D | HprofString.c | 58 void *val; local 64 val = dvmHashTableLookup(gStringHashTable, hashValue, (void *)str, 66 if (val == NULL) { 70 val = dvmHashTableLookup(gStringHashTable, hashValue, (void *)newStr, 72 assert(val != NULL); 77 return (hprof_string_id)val;
|