Home
last modified time | relevance | path

Searched refs:srcIndex (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/ui/file_manager/gallery/js/image_editor/
Dfilter.js166 var srcIndex = (offsetX + (offsetY + y) * srcWidth) * 4;
168 dstData[dstIndex++] = rMap[srcData[srcIndex++]];
169 dstData[dstIndex++] = gMap[srcData[srcIndex++]];
170 dstData[dstIndex++] = bMap[srcData[srcIndex++]];
172 srcIndex++;
252 var srcIndex = (y + offsetY) * srcStride + (startX + offsetX) * 4;
256 var sum = w0 * srcData[srcIndex] +
257 w1 * (srcData[srcIndex - 4] +
258 srcData[srcIndex + 4] +
259 srcData[srcIndex - srcStride] +
[all …]
/external/chromium_org/third_party/icu/source/common/
Dunorm_it.c135 int32_t srcIndex, destIndex, limit; in moveContentsTowardStart() local
138 srcIndex=delta; in moveContentsTowardStart()
139 if(srcIndex>api->start) { in moveContentsTowardStart()
141 while(srcIndex<limit && states[srcIndex]==UITER_NO_STATE) { in moveContentsTowardStart()
142 ++srcIndex; in moveContentsTowardStart()
148 while(srcIndex<limit) { in moveContentsTowardStart()
149 chars[destIndex]=chars[srcIndex]; in moveContentsTowardStart()
150 states[destIndex++]=states[srcIndex++]; in moveContentsTowardStart()
154 states[destIndex]=states[srcIndex]; in moveContentsTowardStart()
162 int32_t srcIndex, destIndex, start; in moveContentsTowardEnd() local
[all …]
Ducasemap.cpp221 int32_t srcIndex, destIndex; in _caseMap() local
227 srcIndex=srcStart; in _caseMap()
229 while(srcIndex<srcLimit) { in _caseMap()
230 csc->cpStart=srcIndex; in _caseMap()
231 U8_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
232 csc->cpLimit=srcIndex; in _caseMap()
235 while(destIndex<destCapacity && i<srcIndex) { in _caseMap()
425 int32_t srcIndex, destIndex; in utf8_foldCase() local
432 srcIndex=destIndex=0; in utf8_foldCase()
433 while(srcIndex<srcLength) { in utf8_foldCase()
[all …]
Ducnv_ext.h355 int32_t **offsets, int32_t srcIndex,
366 UConverterToUnicodeArgs *pArgs, int32_t srcIndex,
375 int32_t **offsets, int32_t srcIndex,
386 UConverterFromUnicodeArgs *pArgs, int32_t srcIndex,
Dustrcase.cpp135 int32_t srcIndex, destIndex; in _caseMap() local
141 srcIndex=srcStart; in _caseMap()
143 while(srcIndex<srcLimit) { in _caseMap()
144 csc->cpStart=srcIndex; in _caseMap()
145 U16_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
146 csc->cpLimit=srcIndex; in _caseMap()
335 int32_t srcIndex, destIndex; in ustr_foldCase() local
341 srcIndex=destIndex=0; in ustr_foldCase()
342 while(srcIndex<srcLength) { in ustr_foldCase()
343 U16_NEXT(src, srcIndex, srcLength, c); in ustr_foldCase()
Ducnv_ext.cpp237 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument
245 offsets, srcIndex, in ucnv_extWriteToU()
255 offsets, srcIndex, in ucnv_extWriteToU()
280 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument
300 offsets, srcIndex, in ucnv_extInitialMatchToU()
369 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument
395 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU()
672 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument
736 offsets, srcIndex, in ucnv_extWriteFromU()
748 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument
[all …]
Dusprep.cpp517 int32_t srcIndex; in usprep_map() local
527 for(srcIndex=0;srcIndex<srcLength;){ in usprep_map()
530 U16_NEXT(src,srcIndex,srcLength,ch); in usprep_map()
541 uprv_syntaxError(src,srcIndex-U16_LENGTH(ch), srcLength,parseError); in usprep_map()
/external/icu/icu4c/source/common/
Ducasemap.cpp221 int32_t srcIndex, destIndex; in _caseMap() local
227 srcIndex=srcStart; in _caseMap()
229 while(srcIndex<srcLimit) { in _caseMap()
230 csc->cpStart=srcIndex; in _caseMap()
231 U8_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
232 csc->cpLimit=srcIndex; in _caseMap()
235 while(destIndex<destCapacity && i<srcIndex) { in _caseMap()
425 int32_t srcIndex, destIndex; in utf8_foldCase() local
432 srcIndex=destIndex=0; in utf8_foldCase()
433 while(srcIndex<srcLength) { in utf8_foldCase()
[all …]
Ducnv_ext.h355 int32_t **offsets, int32_t srcIndex,
366 UConverterToUnicodeArgs *pArgs, int32_t srcIndex,
375 int32_t **offsets, int32_t srcIndex,
386 UConverterFromUnicodeArgs *pArgs, int32_t srcIndex,
Dustrcase.cpp135 int32_t srcIndex, destIndex; in _caseMap() local
141 srcIndex=srcStart; in _caseMap()
143 while(srcIndex<srcLimit) { in _caseMap()
144 csc->cpStart=srcIndex; in _caseMap()
145 U16_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
146 csc->cpLimit=srcIndex; in _caseMap()
335 int32_t srcIndex, destIndex; in ustr_foldCase() local
341 srcIndex=destIndex=0; in ustr_foldCase()
342 while(srcIndex<srcLength) { in ustr_foldCase()
343 U16_NEXT(src, srcIndex, srcLength, c); in ustr_foldCase()
Ducnv_ext.cpp237 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument
245 offsets, srcIndex, in ucnv_extWriteToU()
255 offsets, srcIndex, in ucnv_extWriteToU()
280 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument
300 offsets, srcIndex, in ucnv_extInitialMatchToU()
369 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument
395 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU()
672 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument
736 offsets, srcIndex, in ucnv_extWriteFromU()
748 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument
[all …]
Dusprep.cpp517 int32_t srcIndex; in usprep_map() local
527 for(srcIndex=0;srcIndex<srcLength;){ in usprep_map()
530 U16_NEXT(src,srcIndex,srcLength,ch); in usprep_map()
541 uprv_syntaxError(src,srcIndex-U16_LENGTH(ch), srcLength,parseError); in usprep_map()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java513 int srcIndex, in encryptBlock() argument
517 int xl = BytesTo32bits(src, srcIndex); in encryptBlock()
518 int xr = BytesTo32bits(src, srcIndex+4); in encryptBlock()
541 int srcIndex, in decryptBlock() argument
545 int xl = BytesTo32bits(src, srcIndex); in decryptBlock()
546 int xr = BytesTo32bits(src, srcIndex + 4); in decryptBlock()
DTwofishEngine.java447 int srcIndex, in encryptBlock() argument
451 int x0 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[INPUT_WHITEN]; in encryptBlock()
452 int x1 = BytesTo32Bits(src, srcIndex + 4) ^ gSubKeys[INPUT_WHITEN + 1]; in encryptBlock()
453 int x2 = BytesTo32Bits(src, srcIndex + 8) ^ gSubKeys[INPUT_WHITEN + 2]; in encryptBlock()
454 int x3 = BytesTo32Bits(src, srcIndex + 12) ^ gSubKeys[INPUT_WHITEN + 3]; in encryptBlock()
486 int srcIndex, in decryptBlock() argument
490 int x2 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[OUTPUT_WHITEN]; in decryptBlock()
491 int x3 = BytesTo32Bits(src, srcIndex+4) ^ gSubKeys[OUTPUT_WHITEN + 1]; in decryptBlock()
492 int x0 = BytesTo32Bits(src, srcIndex+8) ^ gSubKeys[OUTPUT_WHITEN + 2]; in decryptBlock()
493 int x1 = BytesTo32Bits(src, srcIndex+12) ^ gSubKeys[OUTPUT_WHITEN + 3]; in decryptBlock()
/external/lzma/CPP/Common/
DMyVector.cpp65 void CBaseRecordVector::MoveItems(int destIndex, int srcIndex) in MoveItems() argument
68 ((unsigned char *)_items) + srcIndex * _itemSize, in MoveItems()
69 _itemSize * (_size - srcIndex)); in MoveItems()
DMyString.h140 void MoveItems(int destIndex, int srcIndex) in MoveItems() argument
142 memmove(_chars + destIndex, _chars + srcIndex, in MoveItems()
143 sizeof(T) * (_length - srcIndex + 1)); in MoveItems()
/external/icu/icu4c/source/layout/
DGlyphIterator.cpp22srcIndex(-1), destIndex(-1), lookupFlags(theLookupFlags), featureMask(theFeatureMask), glyphGroup(… in GlyphIterator()
56 srcIndex = that.srcIndex; in GlyphIterator()
75 srcIndex = that.srcIndex; in GlyphIterator()
94 srcIndex = that.srcIndex; in GlyphIterator()
DGlyphIterator.h89 le_int32 srcIndex; variable
/external/chromium_org/third_party/icu/source/test/intltest/
Dutxttest.cpp302 int srcIndex = 0; // Code Point indexes of the block to operate on for in TestCMR() local
326 case 1: srcIndex = 0; break; in TestCMR()
327 case 2: srcIndex = 1; break; in TestCMR()
328 case 3: srcIndex = cpCount - srcLength; break; in TestCMR()
329 case 4: srcIndex = cpCount - srcLength - 1; break; in TestCMR()
330 case 5: srcIndex = cpCount / 2; break; in TestCMR()
332 if (srcIndex < 0 || srcIndex + srcLength > cpCount) { in TestCMR()
346 case 3: destIndex = srcIndex - 1; break; in TestCMR()
347 case 4: destIndex = srcIndex + srcLength + 1; break; in TestCMR()
356 nativeStart = nativeMap[srcIndex].nativeIdx; in TestCMR()
[all …]
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp304 int srcIndex = 0; // Code Point indexes of the block to operate on for in TestCMR() local
328 case 1: srcIndex = 0; break; in TestCMR()
329 case 2: srcIndex = 1; break; in TestCMR()
330 case 3: srcIndex = cpCount - srcLength; break; in TestCMR()
331 case 4: srcIndex = cpCount - srcLength - 1; break; in TestCMR()
332 case 5: srcIndex = cpCount / 2; break; in TestCMR()
334 if (srcIndex < 0 || srcIndex + srcLength > cpCount) { in TestCMR()
348 case 3: destIndex = srcIndex - 1; break; in TestCMR()
349 case 4: destIndex = srcIndex + srcLength + 1; break; in TestCMR()
358 nativeStart = nativeMap[srcIndex].nativeIdx; in TestCMR()
[all …]
/external/javassist/src/main/javassist/bytecode/
DAnnotationsAttribute.java541 int copy(int srcIndex) { in copy() argument
542 return srcPool.copy(srcIndex, destPool, classnames); in copy()
555 int copyType(int srcIndex) { in copyType() argument
556 String name = srcPool.getUtf8Info(srcIndex); in copyType()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLObjectElement.cpp134 int srcIndex = -1, dataIndex = -1; in mapDataParamToSrc() local
137 srcIndex = i; in mapDataParamToSrc()
142 if (srcIndex == -1 && dataIndex != -1) { in mapDataParamToSrc()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dcontent_editable_extractor_test.unitjs142 for (var srcIndex in expectedIndexMap) {
143 var dstIndex = expectedIndexMap[srcIndex];
144 setSelection(textbox.firstChild, srcIndex, textbox.firstChild, srcIndex);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java318 int srcIndex = srcY * srcData.bytesPerLine + srcX * bytesPerPixel; in rotateOptimized() local
319 System.arraycopy(srcData.data, srcIndex, newData, destIndex, bytesPerPixel); in rotateOptimized()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
DTextureStorage11.cpp720 gl::ImageIndex srcIndex = gl::ImageIndex::Make2D(level - 1); in generateMipmaps() local
723 RenderTarget11 *source = RenderTarget11::makeRenderTarget11(getRenderTarget(srcIndex)); in generateMipmaps()
1128 …gl::ImageIndex srcIndex = gl::ImageIndex::MakeCube(GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, lev… in generateMipmaps() local
1131 RenderTarget11 *source = RenderTarget11::makeRenderTarget11(getRenderTarget(srcIndex)); in generateMipmaps()
1504 gl::ImageIndex srcIndex = gl::ImageIndex::Make3D(level - 1); in generateMipmaps() local
1507 RenderTarget11 *source = RenderTarget11::makeRenderTarget11(getRenderTarget(srcIndex)); in generateMipmaps()

12