Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/
DMimeBoundaryInputStream.java166 int curr = s.read(); in matchBoundary() local
167 moreParts = !(prev == '-' && curr == '-'); in matchBoundary()
169 if (curr == '\n' && prev == '\r') { in matchBoundary()
172 prev = curr; in matchBoundary()
173 } while ((curr = s.read()) != -1); in matchBoundary()
175 if (curr == -1) { in matchBoundary()
DMimeStreamParser.java236 int curr = 0; in parseHeader() local
238 while ((curr = is.read()) != -1) { in parseHeader()
239 if (curr == '\n' && (prev == '\n' || prev == 0)) { in parseHeader()
246 sb.append((char) curr); in parseHeader()
247 prev = curr == '\r' ? prev : curr; in parseHeader()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DPyramid.cpp38 PyramidShort *curr, *last; in allocatePyramidPacked() local
41 for (last = (curr = img) + levels; curr < last; curr++) { in allocatePyramidPacked()
42 curr->width = width; in allocatePyramidPacked()
43 curr->height = height; in allocatePyramidPacked()
44 curr->border = border; in allocatePyramidPacked()
45 curr->pitch = (real) (width + border2); in allocatePyramidPacked()
46 curr->ptr = y + border; in allocatePyramidPacked()
49 for (int j = height + border2; j--; y++, position += curr->pitch) { in allocatePyramidPacked()
DDelaunay.cpp593 EdgePointer curr, src, nex; local
596 c = (int) ((curr = (EdgePointer) ((last & ~3))) >> 1);
601 orig(--curr) = src;
602 orig(--curr) = nex;
603 orig(--curr) = nex;
604 orig(--curr) = src;
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DPyramid.cpp38 PyramidShort *curr, *last; in allocatePyramidPacked() local
41 for (last = (curr = img) + levels; curr < last; curr++) { in allocatePyramidPacked()
42 curr->width = width; in allocatePyramidPacked()
43 curr->height = height; in allocatePyramidPacked()
44 curr->border = border; in allocatePyramidPacked()
45 curr->pitch = (real) (width + border2); in allocatePyramidPacked()
46 curr->ptr = y + border; in allocatePyramidPacked()
49 for (int j = height + border2; j--; y++, position += curr->pitch) { in allocatePyramidPacked()
DDelaunay.cpp593 EdgePointer curr, src, nex; local
596 c = (int) ((curr = (EdgePointer) ((last & ~3))) >> 1);
601 orig(--curr) = src;
602 orig(--curr) = nex;
603 orig(--curr) = nex;
604 orig(--curr) = src;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1420 Rect curr = mPositionController.getPosition(0);
1423 if (curr.left > center && mPrevBound < 0) {
1425 int currDist = curr.left - center;
1430 } else if (curr.right < center && mNextBound > 0) {
1432 int currDist = center - curr.right;