Lines Matching refs:count

76 static void copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) {
78 while (count-- > 0) {
83 from += count - 1;
84 to += count - 1;
85 while (count-- > 0) {
92 static void copy_conjoint_jints_atomic(jint* from, jint* to, size_t count) {
94 while (count-- > 0) {
99 from += count - 1;
100 to += count - 1;
101 while (count-- > 0) {
665 static void pd_aligned_disjoint_words(HeapWord* from, HeapWord* to, size_t count) {
685 size_t len_bytes = count*HeapWordSize;
688 switch (count) {
709 switch (count) {
736 while (count-- > 0)
743 static void pd_disjoint_words_atomic(HeapWord* from, HeapWord* to, size_t count) {
746 pd_aligned_disjoint_words(from, to, count); // Rare calls -> just delegate.
749 static void pd_disjoint_words(HeapWord* from, HeapWord* to, size_t count) {
751 pd_aligned_disjoint_words(from, to, count); // Rare calls -> just delegate.
759 static void pd_aligned_conjoint_words(HeapWord* from, HeapWord* to, size_t count) {
763 size_t count_in = count;
791 if (has_destructive_overlap((char*)from, (char*)to, count*BytesPerLong)) {
793 switch (count) {
826 from += count;
827 to += count;
828 while (count-- > 0)
835 pd_aligned_disjoint_words(from, to, count);
839 static void pd_conjoint_words(HeapWord* from, HeapWord* to, size_t count) {
842 pd_aligned_conjoint_words(from, to, count);
845 static void pd_conjoint_bytes(void* from, void* to, size_t count) {
848 size_t count_in = count;
858 if (has_destructive_overlap((char*)from, (char*)to, count))
859 (void)memmove(to, from, count);
861 (void)memcpy(to, from, count);
869 static void pd_conjoint_bytes_atomic(void* from, void* to, size_t count) {
871 pd_conjoint_bytes(from, to, count); // bytes are always accessed atomically.
874 static void pd_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) {
877 size_t count_in = count;
880 copy_conjoint_jshorts_atomic(from, to, count);
889 copy_conjoint_jshorts_atomic(from, to, count);
893 static void pd_conjoint_jints_atomic(jint* from, jint* to, size_t count) {
896 size_t count_in = count;
921 copy_conjoint_jints_atomic(from, to, count);
925 static void pd_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) {
928 size_t count_in = count;
949 size_t count_in = count;
977 static void pd_conjoint_oops_atomic(oop* from, oop* to, size_t count) {
980 size_t count_in = count;
1001 size_t count_in = count;
1014 static void pd_arrayof_conjoint_bytes(HeapWord* from, HeapWord* to, size_t count) {
1015 pd_conjoint_bytes_atomic(from, to, count);
1018 static void pd_arrayof_conjoint_jshorts(HeapWord* from, HeapWord* to, size_t count) {
1019 pd_conjoint_jshorts_atomic((jshort*)from, (jshort*)to, count);
1022 static void pd_arrayof_conjoint_jints(HeapWord* from, HeapWord* to, size_t count) {
1023 pd_conjoint_jints_atomic((jint*)from, (jint*)to, count);
1026 static void pd_arrayof_conjoint_jlongs(HeapWord* from, HeapWord* to, size_t count) {
1027 pd_conjoint_jlongs_atomic((jlong*)from, (jlong*)to, count);
1030 static void pd_arrayof_conjoint_oops(HeapWord* from, HeapWord* to, size_t count) {
1031 pd_conjoint_oops_atomic((oop*)from, (oop*)to, count);
1038 static void pd_fill_to_bytes(void* to, size_t count, jubyte value) {
1053 size_t len_bytes = count;
1061 (void)memset(to, value, count);
1065 static void pd_fill_to_words(HeapWord* tohw, size_t count, juint value) {
1069 pd_zero_to_words(tohw, count);
1073 pd_fill_to_bytes(tohw, count*HeapWordSize, (jubyte)(~(juint)(0)));
1078 while (count-- > 0) {
1083 static void pd_fill_to_aligned_words(HeapWord* tohw, size_t count, juint value) {
1085 pd_fill_to_words(tohw, count, value);
1094 static void pd_zero_to_words(HeapWord* tohw, size_t count) {
1095 pd_zero_to_bytes(tohw, count*HeapWordSize);
1099 static void pd_zero_to_words_large(HeapWord* tohw, size_t count) {
1101 pd_zero_to_bytes(tohw, count*HeapWordSize);
1104 static void pd_zero_to_bytes(void* to, size_t count) {
1118 size_t len_bytes = count;
1130 (void)memset(to, 0, count);