Searched +refs:val +refs:result (Results 1 - 25 of 162) sorted by relevance

1234567

/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXObjectFactory.java41 * @param val The java object which this object will wrap.
45 static public XObject create(Object val) argument
48 XObject result;
50 if (val instanceof XObject)
52 result = (XObject) val;
54 else if (val instanceof String)
56 result = new XString((String) val);
58 else if (val instanceo
84 create(Object val, XPathContext xctxt) argument
[all...]
/openjdk7/jdk/src/solaris/native/java/lang/
H A DProcessEnvironment_md.c51 jobjectArray result; local
60 result = (*env)->NewObjectArray(env, 2*count, byteArrCls, 0);
61 if (result == NULL) return NULL;
67 jbyteArray var, val; local
73 val = (*env)->NewByteArray(env, valLength);
74 if (val == NULL) return NULL;
77 (*env)->SetByteArrayRegion(env, val, 0, valLength,
79 (*env)->SetObjectArrayElement(env, result, 2*j , var);
80 (*env)->SetObjectArrayElement(env, result, 2*j+1, val);
[all...]
/openjdk7/jdk/src/share/classes/javax/management/
H A DInQueryExp.java44 private ValueExp val; field in class:InQueryExp
63 val = v1;
72 return val;
98 ValueExp v = val.apply(name);
123 return val + " in (" + generateValueList() + ")";
132 final StringBuilder result =
136 result.append(", ");
137 result.append(valueList[i]);
140 return result.toString();
/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DExitValue.java37 String result = elts[0];
39 result = result + separator + elts[i];
40 return result;
52 int val;
59 if ((val = proc.waitFor()) != expectedExitValue)
61 ("waitFor() returned unexpected value " + val);
62 if ((val = proc.exitValue()) != expectedExitValue)
64 ("exitValue() returned unexpected value " + val);
/openjdk7/hotspot/src/share/vm/utilities/
H A DnumberSeq.cpp36 void AbsSeq::add(double val) { argument
39 _davg = val;
44 _davg = (1.0 - _alpha) * val + _alpha * _davg;
45 double diff = val - _davg;
62 double result = _sum_of_squares / total() - x_bar * x_bar; local
63 if (result < 0.0) {
67 // guarantee(-0.1 < result && result < 0.0,
69 result = 0.0;
71 return result;
88 double result = _dvariance; local
118 add(double val) argument
145 add(double val) argument
175 double val = _sequence[i]; local
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvframe_hp.cpp58 StackValueCollection* result = new StackValueCollection(length); local
74 result->add( create_stack_value(scv_list->at(i)) );
80 jvmtiDeferredLocalVariable* val = deferred->at(l); local
81 switch (val->type()) {
83 result->set_int_at(val->index(), val->value().z);
86 result->set_int_at(val->index(), val
174 StackValueCollection* result = new StackValueCollection(length); local
219 GrowableArray<MonitorInfo*>* result = new GrowableArray<MonitorInfo*>(monitors->length()); local
343 set_local_at(int idx, BasicType type, jvalue val) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DJavaValueArray.java349 StringBuffer result;
354 result = new StringBuffer();
356 char val = charAt(i, value);
357 result.append(val);
365 result = new StringBuffer("{");
369 result.append(", ");
372 result.append("... ");
378 boolean val = booleanAt(i, value);
379 if (val) {
[all...]
/openjdk7/jdk/src/share/classes/java/math/
H A DBigInteger.java69 * return a non-negative result, between {@code 0} and {@code (modulus - 1)},
184 * @param val big-endian two's-complement binary representation of
186 * @throws NumberFormatException {@code val} is zero bytes long.
188 public BigInteger(byte[] val) { argument
189 if (val.length == 0)
192 if (val[0] < 0) {
193 mag = makePositive(val);
196 mag = stripLeadingZeroBytes(val);
207 private BigInteger(int[] val) { argument
208 if (val
289 BigInteger(String val, int radix) argument
357 BigInteger(char[] val) argument
475 BigInteger(String val) argument
948 valueOf(long val) argument
963 BigInteger(long val) argument
987 valueOf(int val[]) argument
1042 add(BigInteger val) argument
1110 subtract(BigInteger val) argument
1165 multiply(BigInteger val) argument
1337 divide(BigInteger val) argument
1357 divideAndRemainder(BigInteger val) argument
1376 remainder(BigInteger val) argument
1426 gcd(BigInteger val) argument
1506 bitLength(int[] val, int len) argument
2169 javaIncrement(int[] val) argument
2190 and(BigInteger val) argument
2207 or(BigInteger val) argument
2224 xor(BigInteger val) argument
2258 andNot(BigInteger val) argument
2492 compareTo(BigInteger val) argument
2514 compareMagnitude(BigInteger val) argument
2571 min(BigInteger val) argument
2582 max(BigInteger val) argument
2805 stripLeadingZeroInts(int val[]) argument
2819 trustedStripLeadingZeroInts(int val[]) argument
[all...]
H A DBigDecimal.java52 * exact result cannot be represented, an exception is thrown;
67 * corollary of computing the exact result, the rounding mode setting
73 * result, an {@code ArithmeticException} is thrown. Otherwise, the
74 * exact result of the division is returned, as done for other
89 * and rounding must specify both the numerical result and the scale
90 * used in the result's representation.
95 * the exact result has more digits (perhaps infinitely many in the
101 * the result's <i>precision</i>. The digit count starts from the
102 * leftmost nonzero digit of the exact result. The rounding mode
104 * result
354 BigDecimal(BigInteger intVal, long val, int scale, int prec) argument
738 BigDecimal(String val) argument
756 BigDecimal(String val, MathContext mc) argument
806 BigDecimal(double val) argument
870 BigDecimal(double val, MathContext mc) argument
883 BigDecimal(BigInteger val) argument
900 BigDecimal(BigInteger val, MathContext mc) argument
951 BigDecimal(int val) argument
966 BigDecimal(int val, MathContext mc) argument
979 BigDecimal(long val) argument
995 BigDecimal(long val, MathContext mc) argument
1039 valueOf(long val) argument
1064 valueOf(double val) argument
2552 compareTo(BigDecimal val) argument
2573 compareMagnitude(BigDecimal val) argument
2664 min(BigDecimal val) argument
2678 max(BigDecimal val) argument
3484 longMultiplyPowerTen(long val, int n) argument
3536 matchScale(BigDecimal[] val) argument
3684 checkScale(long val) argument
[all...]
H A DMutableBigInteger.java91 * the int val.
93 MutableBigInteger(int val) { argument
96 value[0] = val;
103 MutableBigInteger(int[] val) { argument
104 value = val;
105 intLen = val.length;
121 MutableBigInteger(MutableBigInteger val) { argument
122 intLen = val.intLen;
123 value = Arrays.copyOfRange(val.value, val
346 setInt(int index, int val) argument
354 setValue(int[] val, int length) argument
377 copyValue(int[] val) argument
513 divadd(int[] a, int[] result, int offset) argument
1079 divWord(int[] result, long n, int d) argument
1295 inverseMod32(int val) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DClassWriter.java892 int val = ((Integer) cst).intValue();
893 return newInteger(val);
895 int val = ((Byte) cst).intValue();
896 return newInteger(val);
898 int val = ((Character) cst).charValue();
899 return newInteger(val);
901 int val = ((Short) cst).intValue();
902 return newInteger(val);
904 int val = ((Boolean) cst).booleanValue() ? 1 : 0;
905 return newInteger(val);
[all...]
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DGenerateCharacter.java88 The result is concatenated to the next k2 bits of the character code to index
283 * character code; as a result, the array passed as an argument to this method
311 long[] result;
313 result = new long[256];
315 result = new long[1<<16];
320 for (int j = 0; j < data.length && k < result.length; j++) {
322 result[k] = buildOne(codePoint, data[j], specialMaps);
329 while (codePoint < data[j].codePoint && k < result.length) {
330 result[k] = buildOne(codePoint, data[j], specialMaps);
337 while (codePoint < data[j].codePoint && k < result
988 appendEscapedStringFragment(StringBuffer result, char[] line, int length, boolean lastFragment) argument
1131 genTable(StringBuffer result, String name, long[] table, int extract, int bits, int size, boolean preshifted, int shift, boolean hexFormat, boolean properties, boolean hexComment) argument
1331 genCaseMapTableDeclaration(StringBuffer result) argument
1336 genCaseMapTable(StringBuffer result, SpecialCaseMap[] specialCaseMaps) argument
1367 propertiesComments(StringBuffer result, long val) argument
[all...]
/openjdk7/jdk/test/java/lang/instrument/ilib/
H A DClassReaderWriter.java68 byte[] result() { method in class:ClassReaderWriter
111 void writeU1(int val) { argument
112 gen[genPos++] = (byte)val;
115 void writeU2(int val) { argument
116 writeU1(val >> 8);
117 writeU1(val & 0xFF);
120 void writeU4(int val) { argument
121 writeU2(val >> 16);
122 writeU2(val & 0xFFFF);
195 void randomAccessWriteU2(int pos, int val) { argument
202 randomAccessWriteU4(int pos, int val) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orb/
H A DOperationFactory.java45 * <li>maskErrorAction( Operation op ) executes op and returns the result. If op throws an
46 * exception, the result is null.
58 * applies the Operation to each token, and returns an array of the result</li>
61 * <li>compose( Operation op1, Operation op2 ) is the operation that applies op2 to the result of applying
251 Class<?> result =
253 return result ;
282 String val = (String)value ;
284 return new URL( val ) ;
288 throw wrapper.badUrl( exc, val ) ;
355 int result
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DFindInCodeCachePanel.java56 StringBuffer result; field in class:FindInCodeCachePanel.Visitor
64 result = new StringBuffer();
75 Address val = begin.getAddressAt(0);
76 if (AddressOps.equal(val, value)) {
77 reportResult(result, blob);
91 updateProgressBar(result);
93 result = null;
98 Address val = null;
100 val = VM.getVM().getDebugger().parseAddress(addressField.getText());
108 if (searching && value.equals(val)) {
191 reportResult(StringBuffer result, CodeBlob blob) argument
209 updateProgressBar(final StringBuffer result) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/idn/
H A DStringPrep.java81 * <li> Normalize: Possibly normalize the result of step 1 using Unicode
290 Values val = new Values();
291 char result = 0;
298 result = getCodePointValue(ch);
299 getValues(result,val);
302 if(val.type == UNASSIGNED && allowUnassigned == false){
305 }else if((val.type == MAP)){
308 if(val.isIndex){
309 index = val
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DPKCS8Key.java222 PKCS8Key result;
227 result = (PKCS8Key) inst;
228 result.algid = algid;
229 result.key = key;
230 result.parseKeyBits();
231 return result;
240 PKCS8Key result = new PKCS8Key();
241 result.algid = algid;
242 result.key = key;
243 return result;
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DScanner.java89 * MatchResult result = s.match();
90 * for (int i=1; i<=result.groupCount(); i++)
91 * System.out.println(result.group(i));
392 // Boolean indicating if a match result is available
808 private void cacheResult(String result) { argument
809 hasNextResult = result;
1130 * been closed will result in an {@link IllegalStateException}.
1318 * Returns the match result of the last scanning operation performed
1324 * make a match result available if they complete without throwing an
1333 * @return a match result fo
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DIssuerAlternativeNameExtension.java130 DerValue val = new DerValue(this.extensionValue);
131 if (val.data == null) {
136 names = new GeneralNames(val);
144 String result = super.toString() + "IssuerAlternativeName [\n";
146 result += " null\n";
149 result += " "+name+"\n";
152 result += "]\n";
153 return result;
H A DSubjectAlternativeNameExtension.java135 DerValue val = new DerValue(this.extensionValue);
136 if (val.data == null) {
141 names = new GeneralNames(val);
149 String result = super.toString() + "SubjectAlternativeName [\n";
151 result += " null\n";
154 result += " "+name+"\n";
157 result += "]\n";
158 return result;
/openjdk7/jdk/test/javax/swing/JSlider/6348946/
H A Dbug6348946.java128 int val = (Integer) value;
129 slider.setValue(val);
140 int val = (Integer) value;
141 slider.setValue(val);
161 final Rectangle[] result = new Rectangle[1];
166 result[0] = new Rectangle(panel.getLocationOnScreen(), panel.getSize());
170 return result[0];
/openjdk7/langtools/test/tools/javac/processing/filer/
H A DTestGetResource2.java74 boolean result = task.call();
75 System.err.println("javac result with single source dir: " + result);
76 expect(result, true);
93 boolean result = task.call();
94 System.err.println("javac result with composite source path: " + result);
95 expect(result, true);
110 boolean result = task.call();
111 System.err.println("javac result whe
157 expect(boolean val, boolean expect) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/
H A DDynamicMethodMarshallerImpl.java55 boolean needsResultCopy ; // true if copyObject call needs for result
141 Boolean val = (Boolean)value ;
142 os.write_boolean( val.booleanValue() ) ;
156 Byte val = (Byte)value ;
157 os.write_octet( val.byteValue() ) ;
171 Character val = (Character)value ;
172 os.write_wchar( val.charValue() ) ;
186 Short val = (Short)value ;
187 os.write_short( val.shortValue() ) ;
201 Integer val
429 copyResult( Object result, ORB orb ) argument
[all...]
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/
H A DTest.java85 Result result = new Result(this);
87 Object ctx = initTest(env, result);
88 result.setModifiers(env.getModifiers());
90 runTestLoop(env, result, ctx);
92 result.setError(t);
97 if (result.getError() != null || result.getNumRuns() != 0) {
99 result.summarize();
101 env.record(result);
104 result
109 initTest(TestEnvironment env, Result result) argument
113 runTestLoop(TestEnvironment env, Result result, Object ctx) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DcardTableModRefBS.hpp159 jbyte* result = &byte_map_base[uintptr_t(p) >> card_shift]; local
160 assert(result >= _byte_map && result < _byte_map + _byte_map_size,
162 return result;
348 jbyte val = _byte_map[card_index]; local
349 return (val & (clean_card_mask_val() | claimed_card_val())) == claimed_card_val();
353 jbyte val = _byte_map[card_index]; local
354 if (val == clean_card_val()) {
355 val = (jbyte)claimed_card_val();
357 val |
369 jbyte val = _byte_map[card_index]; local
454 HeapWord* result = (HeapWord*) (delta << card_shift); local
[all...]

Completed in 177 milliseconds

1234567