Searched defs:stride (Results 1 - 25 of 28) sorted by relevance

12

/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageCopy.c81 mlib_s32 stride; /* stride in bytes in src*/ local
82 mlib_s32 dstride; /* stride in bytes in dst */
122 stride = mlib_ImageGetStride(src); /* in byte */
130 sa += stride;
136 sa += stride;
180 stride = mlib_ImageGetStride(src); /* in byte */
186 sa += stride;
H A Dmlib_v_ImageCopy_f.c43 * stride source image line stride in 8-bytes
44 * dstride destination image line stride in 8-bytes
85 * they are 8-byte aligned. And stride and width are in 8-bytes.
92 mlib_s32 stride,
110 sp = spl += stride;
88 mlib_v_ImageCopy_a2(mlib_d64 *sp, mlib_d64 *dp, mlib_s32 width, mlib_s32 height, mlib_s32 stride, mlib_s32 dstride) argument
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Djava_awt_SplashScreen.c48 jint stride)
68 stride * sizeof(rgbquad_t), splash->overlayData,
45 Java_java_awt_SplashScreen__1update(JNIEnv * env, jclass thisClass, jlong jsplash, jintArray data, jint x, jint y, jint width, jint height, jint stride) argument
H A Dsplashscreen_png.c48 int stride; local
134 stride = splash->width * splash->imageFormat.depthBytes;
136 if (!SAFE_TO_ALLOC(splash->height, stride)) {
148 splash->frames[0].bitmapBits = malloc(stride * splash->height);
161 initRect(&dstRect, 0, 0, width, height, 1, stride,
H A Dsplashscreen_jpeg.c131 int rowStride, stride; local
150 stride = splash->width * splash->imageFormat.depthBytes;
152 if (!SAFE_TO_ALLOC(stride, splash->height)) {
170 splash->frames[0].bitmapBits = malloc(stride * splash->height);
196 cinfo->output_scanline * stride);
H A Dsplashscreen_gfx.h83 int stride; // distance between first samples of n'th and n+1'th scanlines, in bytes member in struct:ImageRect
127 int stride, void *pBits, ImageFormat * format);
H A Dsplashscreen_gif.c79 int stride; local
97 stride = gif->SWidth * splash->imageFormat.depthBytes;
99 stride =
100 (stride + splash->byteAlignment - 1) & ~(splash->byteAlignment - 1);
102 if (!SAFE_TO_ALLOC(gif->SHeight, stride)) {
109 bufferSize = stride * gif->SHeight;
247 numLines , jump, stride, pBitmapBits, &splash->imageFormat);
252 pSrc += (numPassLines - numLines) * srcRect.stride;
288 1, stride,
298 int lineIndex = cy * stride
[all...]
H A Dsplashscreen_gfx_impl.c204 int stride, void *pBits, ImageFormat * format)
209 INCPN(byte_t, pRect->pBits, y * stride + x * depthBytes);
212 pRect->stride = stride * jump;
259 INCPN(byte_t, pSrc, pSrcRect->stride);
260 INCPN(byte_t, pDst, pDstRect->stride);
262 INCPN(byte_t, pSrc2, pSrcRect2->stride);
266 return numLines * pSrcRect->stride;
281 INCPN(byte_t, pDst, pDstRect->stride);
284 return numLines * pDstRect->stride;
203 initRect(ImageRect * pRect, int x, int y, int width, int height, int jump, int stride, void *pBits, ImageFormat * format) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCreate.c47 * mlib_s32 stride,
82 * stride linebytes( bytes to next row) of the image
131 mlib_s32 stride,
135 mlib_s32 mask; /* mask for check of stride */
144 image -> stride = stride;
160 /* Check if stride == width
209 if (stride & mask) {
214 image -> flags |= ((stride & 0xf) << 16); /* set stride fiel
126 mlib_ImageSet(mlib_image *image, mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument
230 mlib_ImageCreateStruct(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument
378 mlib_s32 stride; local
466 mlib_s32 stride = src -> stride; local
[all...]
H A Dmlib_image_types.h119 mlib_s32 stride; /* linestride = bytes to next row */ member in struct:__anon781
149 * V = 0 - stride == width => 1-D vector
150 * 1 - stride != width
152 * shint - last 4 bits of stride
/openjdk7/jdk/src/solaris/classes/sun/awt/windows/
H A DThemeReader.java45 int part, int state, int x, int y, int w, int h, int stride) {
44 paintBackground(int[] buffer, String widget, int part, int state, int x, int y, int w, int h, int stride) argument
/openjdk7/hotspot/src/share/vm/gc_implementation/parNew/
H A DparCardTableModRefBS.cpp66 uint stride = 0; local
67 while (!pst->is_task_claimed(/* reference */ stride)) {
68 process_stride(sp, mr, stride, n_strides, cl, ct,
90 jint stride, int n_strides,
99 // Find the first card address of the first chunk in the stride that is
107 if ((uintptr_t)stride >= start_chunk_stride_num) {
109 (stride - start_chunk_stride_num) *
112 // Go ahead to the next chunk group boundary, then to the requested stride.
114 (n_strides - start_chunk_stride_num + stride) *
122 // stride, w
88 process_stride(Space* sp, MemRegion used, jint stride, int n_strides, OopsInGenClosure* cl, CardTableRS* ct, jbyte** lowest_non_clean, uintptr_t lowest_non_clean_base_chunk_index, size_t lowest_non_clean_chunk_size) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DThemeReader.java113 int x, int y, int w, int h, int stride);
116 int part, int state, int x, int y, int w, int h, int stride) {
119 paintBackground(buffer, getTheme(widget), part, state, x, y, w, h, stride);
112 paintBackground(int[] buffer, long theme, int part, int state, int x, int y, int w, int h, int stride) argument
115 paintBackground(int[] buffer, String widget, int part, int state, int x, int y, int w, int h, int stride) argument
/openjdk7/hotspot/src/share/vm/utilities/
H A DgrowableArray.hpp346 // sort by fixed-stride sub arrays:
347 void sort(int f(E*,E*), int stride) { argument
348 qsort(_data, length() / stride, sizeof(E) * stride, (_sort_Fn)f);
/openjdk7/hotspot/src/share/vm/opto/
H A DloopPredicate.cpp633 // for (i = init; i < limit; i += stride) {
641 // (1) stride*scale > 0
642 // max(scale*i + offset) = scale*(limit-stride) + offset
643 // (2) stride*scale < 0
647 Node* init, Node* limit, Node* stride,
656 int stride_con = stride->get_int();
663 max_idx_expr = new (C) SubINode(limit, stride);
665 if (TraceLoopPredicate) predString->print("(limit - stride) ");
667 max_idx_expr = new (C) SubINode(limit, stride);
669 if (TraceLoopPredicate) predString->print("(limit - stride) ");
645 rc_predicate(IdealLoopTree *loop, Node* ctrl, int scale, Node* offset, Node* init, Node* limit, Node* stride, Node* range, bool upper) argument
841 Node* stride = cl->stride(); local
[all...]
H A DparseHelper.cpp356 Node* Parse::method_data_addressing(ciMethodData* md, ciProfileData* data, ByteSize counter_offset, Node* idx, uint stride) { argument
370 if (stride != 0) {
371 Node* str = _gvn.MakeConX(stride);
380 void Parse::increment_md_counter_at(ciMethodData* md, ciProfileData* data, ByteSize counter_offset, Node* idx, uint stride) { argument
381 Node* adr_node = method_data_addressing(md, data, counter_offset, idx, stride);
H A DphaseX.cpp95 uint stride = key | 0x01; local
118 key = (key + stride/*7*/) & (_max-1); // Stride through table with relative prime
140 uint stride = key | 0x01; // stride must be relatively prime to table siz local
170 key = (key + stride) & (_max-1); // Stride through table w/ relative prime
201 uint stride = key | 0x01; local
209 key = (key + stride) & (_max-1); // Stride through table w/ relative prime
226 uint stride = key | 0x01; local
250 key = (key + stride/*7*/) & (_max-1);
H A Dcfgnode.cpp904 int stride = l->stride_con(); local
905 if( stride < 0 ) { // Down-counter loop
907 stride = -stride;
H A Dloopnode.hpp110 // last in the loop. The trip-counter have to stride by a constant;
119 // the form (Op old-trip-counter stride). The old-trip-counter is produced
120 // by a Phi connected to the CountedLoopNode. The stride is constant.
132 // loop-invariant stride and the loop-invariant limit value. CountedLoopNodes
175 Node *stride() const;
259 Node *stride() const { Node *tmp = incr (); return (tmp && tmp->req()==3) ? tmp->in(2) : NULL; } function in class:CountedLoopEndNode
263 bool stride_is_con() const { Node *tmp = stride (); return (tmp != NULL && tmp->is_Con()); }
294 inline Node *CountedLoopNode::stride() const { return loopexit() ? loopexit()->stride() : NULL; } function in class:CountedLoopNode
303 // trip_count = (limit - init_trip + stride
[all...]
H A Dloopopts.cpp1793 int stride = stride_of_possible_iv(if_cmpu); local
1794 if (stride == 0) return NULL;
1800 if (stride > 0) {
1810 BoolTest::mask rel_i = stride > 0 ? bol->_test._test : BoolTest::ge;
H A DloopTransform.cpp646 // Check for initial stride being a small enough constant
683 int next_stride = stride_con * 2; // stride after this unroll
698 // After unroll limit will be adjusted: new_limit = limit-stride.
897 Node *stride = main_end ->stride(); local
1069 Node *pre_limit = new (C) AddINode( init, stride );
1085 // main loop guard test to use lt or gt depending on stride
1087 // positive stride use <
1088 // negative stride use >
1091 // when init > limit when stride >
1171 Node *stride = loop_head->stride(); local
1988 Node *stride = cl->stride(); local
[all...]
H A Dloopnode.cpp351 Node *stride = incr->in(2); local
352 if (!stride->is_Con()) { // Oops, swap these
354 return false; // Nope, unknown stride, bail out
356 xphi = stride;
357 stride = tmp;
360 int stride_con = stride->get_int();
388 // Ensure iv's limit is not within "stride" of the wrap value.
392 // If the stride is +10, then the last value of the induction
417 // Odd stride
460 // for(;i < limit; i+=stride)
962 Node* stride = phase->longcon(stride_con); local
[all...]
H A Dsuperword.cpp444 assert(pre_end->stride_is_con(), "pre loop stride is constant");
468 assert(span < 0, "nonzero stride * scale");
2012 // For stride > 0 && scale > 0,
2025 // For stride > 0 && scale < 0
2034 // For stride < 0 && scale > 0
2043 // For stride < 0 && scale < 0
2053 int stride = iv_stride(); local
2105 if (stride * scale > 0) {
2121 if (stride < 0) {
2129 (stride >
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A DThemeReader.cpp314 BOOL transparent, int w, int h, int stride) {
316 int offsetToNextLine = stride - w;
409 jint x, jint y, jint w, jint h, jint stride) {
419 DTRACE_PRINTLN3("Java_sun_awt_windows_ThemeReader_paintButtonBackground w=%d h=%d\n stride=%d\n",w,h,stride);
469 copyDIBToBufferedImage(pDstBits, pSrcBits, transparent, w, h, stride);
313 copyDIBToBufferedImage(int *pDstBits, int *pSrcBits, BOOL transparent, int w, int h, int stride) argument
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/hotspot/src/share/vm/code/
H A Ddependencies.cpp163 const int stride = 2; local
164 for (int i = deps->length(); (i -= stride) >= 0; ) {
177 const int stride = 2; local
178 for (int i = deps->length(); (i -= stride) >= 0; ) {
215 const int stride = 3; local
216 for (int i = deps->length(); (i -= stride) >= 0; ) {
317 int stride = dep_args(dept); local
319 assert(stride > 0, "sanity");
320 for (int i = 0; i < deps->length(); i += stride) {
323 if (ctxkj >= 0 && ctxkj+1 < stride) {
405 int stride = dep_args(dept); local
411 write_dependency_to(log(), dept, stride, args); local
603 int stride = _dep_args[dept]; local
[all...]

Completed in 173 milliseconds

12