Searched defs:array (Results 176 - 200 of 218) sorted by relevance

123456789

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DRealTimeSequencer.java979 private static boolean[] ensureBoolArraySize(boolean[] array, int desiredSize) { argument
980 if (array == null) {
983 if (array.length < desiredSize) {
985 System.arraycopy(array, 0, newArray, 0, array.length);
988 return array;
1099 // $$jb: using an array for controllers b/c its
1189 // return a copy of our array of controllers,
1610 * in noteOnCache array.
1713 // init temp array wit
[all...]
/openjdk7/jdk/src/share/classes/java/awt/color/
H A DICC_Profile.java763 * a byte array. Throws an IllegalArgumentException if the data
767 * the data in the specified <code>data</code> array.
1311 * Returns a byte array corresponding to the data of this ICC_Profile.
1312 * @return A byte array that contains the profile data.
1339 * a byte array. Elements are identified by signatures
1348 * @return A byte array that contains the tagged data element. Returns
1372 tagData = new byte[tagSize]; /* get an array for the tag */
1385 * a byte array. The array should contain data in a format, corresponded
1396 * array ca
1769 intFromBigEndian(byte[] array, int index) argument
1777 intToBigEndian(int value, byte[] array, int index) argument
1785 shortFromBigEndian(byte[] array, int index) argument
1791 shortToBigEndian(short value, byte[] array, int index) argument
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIR.cpp384 LIR_OpTypeCheck::LIR_OpTypeCheck(LIR_Code code, LIR_Opr object, LIR_Opr array, LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3, CodeEmitInfo* info_for_exception) argument
387 , _array(array)
1453 void LIR_List::store_check(LIR_Opr object, LIR_Opr array, LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3, argument
1455 LIR_OpTypeCheck* c = new LIR_OpTypeCheck(lir_store_check, object, array, tmp1, tmp2, tmp3, info_for_exception);
1972 array()->print(out); out->print(" ");
H A Dc1_Optimizer.cpp905 Value array = x->array(); local
906 if (set_contains(array)) {
908 if (last_explicit_null_check_obj() == array) {
913 x->explicit_null_check()->id(), x->id(), array->id());
919 tty->print_cr("Eliminated ArrayLength %d's null check for value %d", x->id(), array->id());
923 set_put(array);
925 tty->print_cr("ArrayLength %d of value %d proves value to be non-null", x->id(), array->id());
936 Value array = x->array(); local
967 Value array = x->array(); local
[all...]
H A Dc1_GraphBuilder.cpp479 // A simple growable array of Values indexed by ciFields
518 // along with a parallel array for each object which represents the
952 Value array = apop(); local
955 (array->as_AccessField() && array->as_AccessField()->field()->is_constant()) ||
956 (array->as_NewArray() && array->as_NewArray()->length() && array->as_NewArray()->length()->type()->is_constant())) {
957 length = append(new ArrayLength(array, state_before));
959 push(as_ValueType(type), append(new LoadIndexed(array, inde
967 Value array = apop(); local
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DmethodHandles.cpp477 int array = 0; local
489 array++;
510 if (array && char2type(ch) != T_ILLEGAL && !keep_arrays) {
512 array = 0;
528 // Switch break goes here to take care of array suffix:
530 while (array > 0) {
532 --array;
535 array = 0;
H A Djvm.cpp981 // Figure size of result array
990 // Allocate result array
1051 // is an array, return NULL.
1054 // copy of the signers array
1071 // be called with an array. Only the bootstrap loader creates arrays.
1107 // cls won't be an array, as this called only from ClassLoader.defineClass
1264 RegisterArrayForGC(JavaThread *thread, GrowableArray<oop>* array) { argument
1266 _thread->register_array_for_gc(array);
1405 // Allocate temp. result array
1435 // Return array o
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Ddeoptimization.cpp198 // Create a growable array of VFrames where each VFrame represents an inlined
296 vframeArray* array = create_vframeArray(thread, deoptee, &map, chunk); local
299 thread->set_vframe_array_head(array);
311 if (list->at(i)->id() == array->original().id()) {
356 guarantee(array->unextended_sp() == unpack_sp, "vframe_array_head must contain the vframeArray to unpack");
358 int number_of_frames = array->frames();
361 // virtual activation, which is the reverse of the elements in the vframes array.
378 // than simply use array->sender.pc(). This requires us to walk the current set of frames
408 // The vframe array can address vframes with indices running from
416 for (int index = 0; index < array
509 cleanup_deopt_info(JavaThread *thread, vframeArray *array) argument
575 vframeArray* array = thread->vframe_array_head(); variable
1031 vframeArray* array = vframeArray::allocate(thread, frame_size, chunk, reg_map, sender, caller, fr); local
[all...]
H A Dfprofiler.cpp1287 GrowableArray <ProfilerNode*>* array = new GrowableArray<ProfilerNode*>(200); local
1326 GrowableArray <ProfilerNode*>* array = new GrowableArray<ProfilerNode*>(200); local
1329 array->append(node);
1332 array->sort(&ProfilerNode::compare);
1340 for (index = 0; index < array->length(); index++) {
1341 active += array->at(index)->ticks.total();
1356 for (index = 0; index < array->length(); index++) {
1357 ProfilerNode* n = array->at(index);
1383 for (index = 0; index < array->length(); index++) {
1384 ProfilerNode* n = array
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DheapDumper.cpp126 * 2: object array
127 * 4: boolean array
128 * 5: char array
129 * 6: float array
130 * 7: double array
131 * 8: byte array
132 * 9: short array
133 * 10: int array
134 * 11: long array
261 * HPROF_GC_OBJ_ARRAY_DUMP dump of an object array
1005 dump_object_array(DumpWriter* writer, objArrayOop array) argument
1030 dump_prim_array(DumpWriter* writer, typeArrayOop array) argument
[all...]
H A Dmanagement.cpp526 // Returns an array of java.lang.String object containing the input arguments to the VM.
555 // Returns an array of java/lang/management/MemoryPoolMXBean object
557 // an array of memory pools for a given memory manager if
600 // Returns an array of java/lang/management/MemoryManagerMXBean object
602 // an array of memory managers for a given memory pool if
795 // Gets an array containing the amount of memory allocated on the Java
796 // heap for a set of threads (in bytes). Each element of the array is
798 // corresponding entry in the given array of thread IDs; or -1 if the
814 // validate the thread id array
817 // sizeArray must be of the same length as the given array o
1341 objArrayOop array = oopFactory::new_objArray(SystemDictionary::Object_klass(), num_locked_monitors, CHECK_NULL); variable
1383 objArrayOop array = oopFactory::new_objArray(SystemDictionary::Object_klass(), num_locked_synchronizers, CHECK_NULL); variable
2001 get_memory_usage_objArray(jobjectArray array, int length, TRAPS) argument
2218 GrowableArray<DCmdArgumentInfo*>* array = dcmd->argument_info_array(); variable
[all...]
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkTopLevelBlock.cpp405 void SharkTopLevelBlock::check_bounds(SharkValue* array, SharkValue* index) { argument
409 Value *length = builder()->CreateArrayLength(array->jarray_value());
809 SharkValue *array = pop(); local
810 check_null(array);
811 Value *length = builder()->CreateArrayLength(array->jarray_value());
817 SharkValue *array = pop(); local
819 check_null(array);
820 check_bounds(array, index);
824 array->jarray_value(), basic_type, index->jint_value()));
851 // You might expect that array
877 SharkValue *array = pop(); local
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DnDDT.cpp1361 jint WDTCPIStreamWrapper::DoReadBytes(WDTCPIStreamWrapper* istream, jbyteArray array, jint off, jint len) { argument
1362 WDTCPIStreamWrapperReadBytesRec iswrbr = { istream, 0, array, off, len };
1381 iswrbrp->ret = (iswrbrp->istream)->ReadBytes(iswrbrp->array,
H A Dawt_Font.cpp597 jobjectArray array; local
603 array = GetComponentFonts(env, font);
604 num = env->GetArrayLength(array);
606 array = NULL;
613 refFontDescriptor = env->GetObjectArrayElement(array, i);
616 env->DeleteLocalRef(array);
621 env->DeleteLocalRef(array);
643 jobjectArray array = 0;
659 array = (jobjectArray)(env->CallObjectMethod(
663 if (array !
857 jintArray array = (jintArray)env->GetObjectField(self, local
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java536 /** If name is an array type or class signature, return the
583 /** Convert signature to type, where signature is a byte array segment.
803 * array segment.
989 // parameterNameIndicies array.
1001 // ensure array large enough
1600 public void visitArray(Attribute.Array array) { argument
1773 * Init the parameter names array.
1778 * This method initializes an array in which to store the name indexes
1797 * parameterNameIndicies array. The type of the symbol may have changed
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java748 public void visitArray(Attribute.Array array) { argument
750 for (int i = 0; i < array.values.length; i++)
751 elems.append(translate(array.values[i]));
752 result = NewArray(null, List.<JCExpression>nil(), elems.toList()).setType(array.type);
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DValueConversions.java59 @SuppressWarnings("unchecked") // generic array creation
871 public static Object convertArrayElements(Class<?> arrayType, Object array) { argument
872 Class<?> src = array.getClass().getComponentType();
874 if (src == null || dst == null) throw new IllegalArgumentException("not array type");
879 Object[] a = (Object[]) array;
887 length = java.lang.reflect.Array.getLength(array);
894 sw.copyArrayBoxing(array, 0, res, 0, length);
914 private static Object[] array() { return NO_ARGS_ARRAY; } method in class:ValueConversions
915 private static Object[] array(Object a0) method in class:ValueConversions
917 private static Object[] array(Objec method in class:ValueConversions
919 private static Object[] array(Object a0, Object a1, Object a2) method in class:ValueConversions
921 private static Object[] array(Object a0, Object a1, Object a2, Object a3) method in class:ValueConversions
923 private static Object[] array(Object a0, Object a1, Object a2, Object a3, method in class:ValueConversions
926 private static Object[] array(Object a0, Object a1, Object a2, Object a3, method in class:ValueConversions
929 private static Object[] array(Object a0, Object a1, Object a2, Object a3, method in class:ValueConversions
932 private static Object[] array(Object a0, Object a1, Object a2, Object a3, method in class:ValueConversions
935 private static Object[] array(Object a0, Object a1, Object a2, Object a3, method in class:ValueConversions
939 private static Object[] array(Object a0, Object a1, Object a2, Object a3, method in class:ValueConversions
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DciTypeFlow.hpp341 type_at_tos()->is_array_klass(), "must be array type");
348 ciType* array = pop_value(); local
349 if (array == null_type()) return NULL;
350 assert(array->is_obj_array_klass(), "must be object array type");
351 return array->as_obj_array_klass();
354 ciType* array = pop_value(); local
355 if (array == null_type()) return NULL;
356 assert(array->is_type_array_klass(), "must be prim array typ
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A Dnmethod.cpp1009 void nmethod::copy_oops(GrowableArray<jobject>* array) { argument
1011 int length = array->length();
1015 initialize_immediate_oop(&dest[index], array->at(index));
/openjdk7/hotspot/src/share/vm/opto/
H A Doutput.cpp573 // The CodeBuffer will expand the locs array if this estimate is too low.
578 // Create a bit of debug info and append it to the array. The mapping is from
612 GrowableArray<ScopeValue*> *array,
615 if (array->length() != idx) {
616 assert(array->length() == idx + 1, "Unexpected array count");
626 array->pop();
649 array->append(sv);
674 array->append(new ConstantIntValue(0));
675 array
611 FillLocArray( int idx, MachSafePointNode* sfpt, Node *local, GrowableArray<ScopeValue*> *array, GrowableArray<ScopeValue*> *objs ) argument
[all...]
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dc1_LIRAssembler_sparc.cpp188 // so first slot in the local array is the last local from the interpreter
253 int value_offset = java_lang_String:: value_offset_in_bytes(); // char array
2088 // also check that the type is an array type.
2125 // make sure src and dst are non-null and load array length
2175 // We don't know the array types are compatible
2219 assert(flags & mask, "one of the two should be known to be an object array");
2306 // object array case, if no type check is needed then either the
2308 // subtype which we can't check or src is the same array as dst
2708 Register array = op->array() local
[all...]
H A Dinterp_masm_sparc.cpp897 // Check that index is in range for array, then shift index by index_shift, and put arrayOop + shifted_index into res
898 // Note: res is still shy of address by array offset into object.
900 void InterpreterMacroAssembler::index_check_without_pop(Register array, Register index, int index_shift, Register tmp, Register res) { argument
903 verify_oop(array);
909 // check array
911 tst(array);
913 delayed()->ld( array, arrayOopDesc::length_offset_in_bytes(), tmp ); // check index
920 else delayed()->add(array, index, res); // addr - const offset in index
926 if (index_shift > 0) add(array, index, res); // addr - const offset in index
930 void InterpreterMacroAssembler::index_check(Register array, Registe argument
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_LIRAssembler_x86.cpp297 // so first slot in the local array is the last local from the interpreter
1258 // array access so this code will never have to deal with
1811 Register array = op->array()->as_register(); local
1853 __ load_klass(k_RInfo, array);
3258 // We don't know the array types are compatible
3303 assert(flags & mask, "one of the two should be known to be an object array");
3416 // object array case, if no type check is needed then either the
3418 // subtype which we can't check or src is the same array as dst
H A DtemplateTable_x86_32.cpp464 // Load the exception from the system-array which wraps it:
633 void TemplateTable::index_check(Register array, Register index) { argument
634 // Pop ptr into array
635 __ pop_ptr(array);
636 index_check_without_pop(array, index);
639 void TemplateTable::index_check_without_pop(Register array, Register index) { argument
641 // check array
642 __ null_check(array, arrayOopDesc::length_offset_in_bytes());
645 __ cmpl(index, Address(array, arrayOopDesc::length_offset_in_bytes()));
648 assert(rbx != array, "differen
1949 const Register array = rbx; local
[all...]
H A DtemplateTable_x86_64.cpp483 // Load the exception from the system-array which wraps it:
639 void TemplateTable::index_check(Register array, Register index) { argument
641 // check array
642 __ null_check(array, arrayOopDesc::length_offset_in_bytes());
646 __ cmpl(index, Address(array, arrayOopDesc::length_offset_in_bytes()));
649 assert(rbx != array, "different registers");
660 // rdx: array
671 // rdx: array
682 // rdx: array
693 // rdx: array
1985 const Register array = rbx; local
[all...]

Completed in 176 milliseconds

123456789