Searched defs:array (Results 151 - 175 of 218) sorted by relevance

123456789

/openjdk7/jdk/src/windows/classes/java/util/prefs/
H A DWindowsPreferences.java438 * Returns Windows absolute path of the current node as a byte array.
864 * Converts value's or node's name from its byte array representation to
868 * @param windowsNameArray Null-terminated byte array.
928 * The constructed string is converted to byte array by truncating the
1028 * to convert java string to a byte array of ASCII characters.
1069 * Returns this java string as a null-terminated byte array
1081 * Converts a null-terminated byte array to java string
1083 private static String byteArrayToString(byte[] array) { argument
1085 for (int i = 0; i < array.length - 1; i++) {
1086 result.append((char)array[
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DShaderGen.c143 char array[5000]; local
147 sprintf(array, "const DWORD *%sShaders[] =\n{\n", name);
155 strcat(array, elem);
157 strcat(array, "};\n");
160 fprintf(fpHeader, "%s\n", array);
536 // array of gradient stops/fractions and corresponding scale factors
/openjdk7/jdk/src/windows/native/sun/tools/attach/
H A DWindowsVirtualMachine.c153 jbyteArray array; local
156 array= (*env)->NewByteArray(env, (jsize)len);
157 if (array != NULL) {
158 (*env)->SetByteArrayRegion(env, array, 0, (jint)len, (jbyte*)&thread_func);
160 return array;
/openjdk7/jdk/test/java/lang/invoke/
H A DRicochetTest.java309 private static MethodHandle collectArguments(MethodHandle lister, int pos, Class<?> array, MethodHandle collector) { argument
314 collector.asSpreader(array, collects))
315 .asCollector(array, collects);
/openjdk7/hotspot/agent/src/os/bsd/
H A Dps_core.c149 // array of pointers in ph->map_array, so we can binary search.
398 // callback for sorting the array of map_info pointers.
418 map_info** array; local
419 if ( (array = (map_info**) malloc(sizeof(map_info*) * num_maps)) == NULL) {
420 print_debug("can't allocate memory for map array\n");
424 // add maps to array
426 array[i] = map;
431 // sort is called twice. If this is second time, clear map array
433 ph->core->map_array = array;
434 // sort the map_info array b
[all...]
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_core.c148 // array of pointers in ph->map_array, so we can binary search.
398 // callback for sorting the array of map_info pointers.
418 map_info** array; local
419 if ( (array = (map_info**) malloc(sizeof(map_info*) * num_maps)) == NULL) {
420 print_debug("can't allocate memory for map array\n");
424 // add maps to array
426 array[i] = map;
431 // sort is called twice. If this is second time, clear map array
433 ph->core->map_array = array;
434 // sort the map_info array b
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DHeapHprofBinWriter.java123 * 2: object array
124 * 4: boolean array
125 * 5: char array
126 * 6: float array
127 * 7: double array
128 * 8: byte array
129 * 9: short array
130 * 10: int array
131 * 11: long array
258 * HPROF_GC_OBJ_ARRAY_DUMP dump of an object array
600 writeObjectArray(ObjArray array) argument
613 writePrimitiveArray(TypeArray array) argument
651 writeBooleanArray(TypeArray array) argument
659 writeByteArray(TypeArray array) argument
667 writeShortArray(TypeArray array) argument
675 writeIntArray(TypeArray array) argument
683 writeLongArray(TypeArray array) argument
691 writeCharArray(TypeArray array) argument
699 writeFloatArray(TypeArray array) argument
707 writeDoubleArray(TypeArray array) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/sql/rowset/
H A DBaseRowSet.java163 * <code>Hashtable</code> object as an array of <code>Object</code> instances.
164 * An element in this array may be a simple <code>Object</code> instance or an
165 * array (which is a type of <code>Object</code>). The particular setter method used
166 * determines whether an element in this array is an <code>Object</code> or an array.
174 * <code>getParams</code> will return an array with the values that have been set. Each
175 * element in the array is an <code>Object</code> instance representing the
176 * values that have been set. The order of these values in the array is determined by the
178 * array are the values (the second parameter) passed to the setter method.
179 * In other words, the first element in the array i
2908 setArray(int parameterIndex, Array array) argument
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DObjectOutputStream.java566 * type of the field or array element abort the serialization by raising an
680 * Writes an array of bytes. This method will block until the bytes are
691 * Writes a sub array of bytes.
1311 * Writes given array object to stream.
1313 private void writeArray(Object array, argument
1320 handles.assign(unshared ? null : array);
1325 int[] ia = (int[]) array;
1329 byte[] ba = (byte[]) array;
1333 long[] ja = (long[]) array;
1337 float[] fa = (float[]) array;
[all...]
H A DObjectInputStream.java433 * and the invocation of that method returns an array, then readUnshared
434 * returns a shallow clone of that array; this guarantees that the returned
435 * array object is unique and cannot be obtained a second time from an
586 * <code>Class</code> object. Once returned, if the class is not an array
734 * field or array element abort the serialization by raising an exception
843 * Reads into an array of bytes. This method will block until some input
1653 * Reads in and returns array object, or null if array class is
1654 * unresolvable. Sets passHandle to array's assigned handle.
1664 Object array
3510 cloneArray(Object array) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/management/remote/rmi/
H A DRMIConnectionImpl.java1662 * array, but the RI behaves that way. In the interests of
1667 private static Object[] nullIsEmpty(Object[] array) { argument
1668 return (array == null) ? NO_OBJECTS : array;
1671 private static String[] nullIsEmpty(String[] array) { argument
1672 return (array == null) ? NO_STRINGS : array;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DNumericShaper.java1073 * @param text an array of characters to convert
1099 * @param text an array of characters
1133 * @param text a {@code char} array
1461 * fast binary search over subrange of array.
1463 private static int search(int value, int[] array, int start, int length) argument
1470 if (value >= array[index + extra]) {
1477 if (value >= array[index + probe]) {
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_Canonicalizer.cpp202 // If a value is going to be stored into a field or array some of
225 NewArray* array = x->array()->as_NewArray(); local
226 if (array != NULL && array->length() != NULL) {
227 Constant* length = array->length()->as_Constant();
231 // blocks without being registered in a state array.
232 assert(length->type()->as_IntConstant() != NULL, "array length must be integer");
236 LoadField* lf = x->array()->as_LoadField();
243 ciArray* array local
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DbcEscapeAnalyzer.cpp464 ArgumentMap array = state.apop(); local
465 set_method_escape(array);
467 set_dirty(array);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/
H A DDecoder.java536 private void decodeTableItems(StringArray array) throws FastInfosetException, IOException { argument
540 array.add(decodeNonEmptyOctetStringOnSecondBitAsUtf8String());
544 private void decodeTableItems(PrefixArray array) throws FastInfosetException, IOException { argument
548 array.add(decodeNonEmptyOctetStringOnSecondBitAsUtf8String());
552 private void decodeTableItems(ContiguousCharArrayArray array) throws FastInfosetException, IOException { argument
558 array.add(_charBuffer, _charBufferLength);
566 private void decodeTableItems(CharArrayArray array) throws FastInfosetException, IOException { argument
572 array.add(new CharArray(_charBuffer, 0, _charBufferLength, true));
580 private void decodeTableItems(QualifiedNameArray array, boolean isAttribute) throws FastInfosetException, IOException { argument
613 array
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DX11Color.c355 awt_fill_imgcv(ImgConvertFcn **array, int mask, int value, ImgConvertFcn fcn) argument
361 array[i] = fcn;
589 * Initialize colors array
608 * them in the colors array
1354 * we just get the array of System Colors and allocate
H A Dawt_xembed_server.c525 jbyteArray array; local
532 array = (jbyteArray)(*env)->GetObjectField(env, event, awtEventIDs.bdata);
533 if (array == NULL) {
534 MTRACE("array is null\n");
539 xevent = (XEvent *)(*env)->GetByteArrayElements(env, array, NULL);
541 (*env)->DeleteLocalRef(env, array);
548 (*env)->DeleteLocalRef(env, array);
820 jbyteArray array; local
825 array = (jbyteArray)(*env)->GetObjectField(env, keyevent, awtEventIDs.bdata);
826 if (array
849 void *array[10]; local
[all...]
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXToolkit.c791 void *array[10]; local
796 size = backtrace (array, 10);
797 strings = backtrace_symbols (array, size);
921 /* array of C strings */
929 /* fill C array with platform chars of java strings */
/openjdk7/jdk/src/windows/native/sun/windows/
H A DThemeReader.cpp408 (JNIEnv *env, jclass klass, jintArray array, jlong theme, jint part, jint state,
466 pDstBits = (int *)env->GetPrimitiveArrayCritical(array, 0);
470 env->ReleasePrimitiveArrayCritical(array, pDstBits, 0);
407 Java_sun_awt_windows_ThemeReader_paintBackground(JNIEnv *env, jclass klass, jintArray array, jlong theme, jint part, jint state, jint x, jint y, jint w, jint h, jint stride) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassWriter.java829 public void visitArray(Attribute.Array array) { argument
831 databuf.appendChar(array.values.length);
832 for (Attribute a : array.values) {
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DConstants.java758 * An array enumeration.
770 private Object[] array; field in class:Constants.ArrayEnumeration
779 /** Constructs an array enumeration. */
780 public ArrayEnumeration(Object[] array) { argument
781 this.array = array;
796 return index < array.length;
807 if (index < array.length) {
808 return array[index++];
830 private static void print(String header, String prefix, Object[] array) { argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DDTDGrammar.java590 * array holds the allowed attribute values;
591 * otherwise, this array is null.
629 //Get Grammar index to grammar array
2580 private static byte[][] resize(byte array[][], int newsize) { argument
2582 System.arraycopy(array, 0, newarray, 0, array.length);
2586 private static short[][] resize(short array[][], int newsize) { argument
2588 System.arraycopy(array, 0, newarray, 0, array.length);
2592 private static int[][] resize(int array[][], in argument
2598 resize(DatatypeValidator array[][], int newsize) argument
2604 resize(ContentModelValidator array[][], int newsize) argument
2610 resize(Object array[][], int newsize) argument
2616 resize(QName array[][], int newsize) argument
2622 resize(String array[][], int newsize) argument
2628 resize(String array[][][], int newsize) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDROutputStream_1_0.java695 private void writeArray(Serializable array, Class clazz) { argument
708 updateIndirectionTable(indirection, array, array);
720 vh.writeValue(parent, array, streamFormatVersion);
722 valueHandler.writeValue(parent, array);
1219 tmpBuf = bbwi.byteBuffer.array();
1240 buf = bbwi.byteBuffer.array();
/openjdk7/hotspot/agent/src/os/solaris/proc/
H A Dsaproc.cpp1078 jbyteArray array = env->NewByteArray(numBytes); local
1081 jbyte* bufPtr = env->GetByteArrayElements(array, &isCopy);
1111 // till the end-of-page boundary. But, java array new does that for us. we just
1121 env->ReleaseByteArrayElements(array, bufPtr, JNI_ABORT);
1126 env->ReleaseByteArrayElements(array, bufPtr, 0);
1127 return array;
1133 env->ReleaseByteArrayElements(array, bufPtr, JNI_ABORT);
1136 env->ReleaseByteArrayElements(array, bufPtr, 0);
1137 return array;
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/
H A DDataTransferer.java129 * array, given a source DataFlavor and a target format, and for translating
130 * a byte array or InputStream into an Object, given a source format and
758 * Reduces the Map output for the root function to an array of the
904 * Returns an array of all DataFlavors for which
908 * The array will be sorted according to a
923 * Returns an array of all DataFlavors for which
928 * The array will be sorted according to a
1003 * a byte array. Search-and-replace EOLN. Encode into the
1061 * Translating either a byte array or an InputStream into an String.
1162 * a byte array, give
2019 matchCharArray(char[] array, int c) argument
[all...]

Completed in 121 milliseconds

123456789