/external/lz4/lib/ |
lz4hc.h | 42 int LZ4_compressHC (const char* source, char* dest, int inputSize); 52 int LZ4_compressHC_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSize); 55 Compress 'inputSize' bytes from 'source' into an output buffer 'dest' of maximum size 'maxOutputSize'. 59 inputSize : Max supported value is 1 GB 66 int LZ4_compressHC2 (const char* source, char* dest, int inputSize, int compressionLevel); 67 int LZ4_compressHC2_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 85 int LZ4_compressHC_withStateHC (void* state, const char* source, char* dest, int inputSize); 86 int LZ4_compressHC_limitedOutput_withStateHC (void* state, const char* source, char* dest, int inputSize, int maxOutputSize); 88 int LZ4_compressHC2_withStateHC (void* state, const char* source, char* dest, int inputSize, int compressionLevel); 89 int LZ4_compressHC2_limitedOutput_withStateHC(void* state, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel) [all...] |
lz4.h | 81 inputSize : Max supported value is LZ4_MAX_INPUT_SIZE 138 int LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize); 139 int LZ4_compress_limitedOutput_withState (void* state, const char* source, char* dest, int inputSize, int maxOutputSize); 215 int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize); 222 int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize, int maxOutputSize);
|
lz4.c | 502 int inputSize, 519 const BYTE* const iend = ip + inputSize; 530 if ((U32)inputSize > (U32)LZ4_MAX_INPUT_SIZE) return 0; /* Unsupported input size, too large (or negative) */ 547 if ((tableType == byU16) && (inputSize>=LZ4_64Klimit)) return 0; /* Size too large (not within 64K limit) */ 548 if (inputSize<LZ4_minLength) goto _last_literals; /* Input too small, no compression (all literals) */ 710 int LZ4_compress(const char* source, char* dest, int inputSize) 719 if (inputSize < LZ4_64Klimit) 720 result = LZ4_compress_generic((void*)ctx, source, dest, inputSize, 0, notLimited, byU16, noDict, noDictIssue); 722 result = LZ4_compress_generic((void*)ctx, source, dest, inputSize, 0, notLimited, LZ4_64bits() ? byU32 : byPtr, noDict, noDictIssue); 730 int LZ4_compress_limitedOutput(const char* source, char* dest, int inputSize, int maxOutputSize [all...] |
lz4hc.c | 334 int inputSize, 343 const BYTE* const iend = ip + inputSize; 365 ctx->end += inputSize; 534 int LZ4_compressHC2(const char* source, char* dest, int inputSize, int compressionLevel) 538 return LZ4HC_compress_generic (&ctx, source, dest, inputSize, 0, compressionLevel, noLimit); 541 int LZ4_compressHC(const char* source, char* dest, int inputSize) { return LZ4_compressHC2(source, dest, inputSize, 0); } 543 int LZ4_compressHC2_limitedOutput(const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel) 547 return LZ4HC_compress_generic (&ctx, source, dest, inputSize, maxOutputSize, compressionLevel, limitedOutput); 550 int LZ4_compressHC_limitedOutput(const char* source, char* dest, int inputSize, int maxOutputSize [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
typing_traversal.h | 59 const int inputSize = traverseSession->getInputSize(); 61 if (dicNode->isCompletion(inputSize)) { 109 const int inputSize = traverseSession->getInputSize(); 111 if (dicNode->isCompletion(inputSize)) { 118 return pointIndex <= inputSize && !dicNode->isTotalInputSizeExceedingLimit() 124 const int inputSize = traverseSession->getInputSize(); 125 return traverseSession->isCacheBorderForTyping(inputSize); 135 const int inputSize = traverseSession->getInputSize(); 136 return dicNode->canDoLookAheadCorrection(inputSize); 159 AK_FORCE_INLINE int getMaxCacheSize(const int inputSize, const float weightForLocale) const [all...] |
typing_scoring.h | 45 AK_FORCE_INLINE int calculateFinalScore(const float compoundDistance, const int inputSize, 49 + static_cast<float>(inputSize) * ScoringParams::TYPING_MAX_OUTPUT_SCORE_PER_INPUT;
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
GifTranscoder.java | 47 final long inputSize = new File(filePath).length(); 53 final float compression = (inputSize > 0) ? ((float) outputSize / inputSize) : 0; 59 Formatter.formatShortFileSize(context, inputSize),
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.cpp | 43 const int *inputCodePoints, const int inputSize, const int *const inputXs, 48 initializeProximityInfoStates(inputCodePoints, inputXs, inputYs, times, pointerIds, inputSize, 65 const int *const pointerIds, const int inputSize, const float maxSpatialDistance, 71 inputCodePoints, inputSize, inputXs, inputYs, times, pointerIds,
|
dic_traverse_session.h | 68 const int inputSize, const int *const inputXs, const int *const inputYs, 128 AK_FORCE_INLINE bool isCacheBorderForTyping(const int inputSize) const { 129 return mDicNodesCache.isCacheBorderForTyping(inputSize); 167 const int inputSize, const float maxSpatialDistance, const int maxPointerCount);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
suggest_interface.h | 30 int *inputYs, int *times, int *pointerIds, int *inputCodePoints, int inputSize,
|
suggest.cpp | 50 int inputSize, const float weightOfLangModelVsSpatialModel, 56 tSession->setupForGetSuggestions(pInfo, inputCodePoints, inputSize, inputXs, inputYs, times, 68 tSession->getDicTraverseCache()->advanceInputIndex(inputSize); 108 const int inputSize = traverseSession->getInputSize(); 118 AKLOGI("expandCurrentDicNodes depth level cache = %d, inputSize = %d", 119 shouldDepthLevelCache, inputSize); 134 const bool isCompletion = dicNode.isCompletion(inputSize); 399 const int inputSize = traverseSession->getInputSize(); 400 if (dicNode->isCompletion(inputSize)) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/ |
scoring.h | 31 virtual int calculateFinalScore(const float compoundDistance, const int inputSize,
|
traversal.h | 47 virtual int getMaxCacheSize(const int inputSize, const float weightForLocale) const = 0;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state.cpp | 43 const ProximityInfo *proximityInfo, const int *const inputCodes, const int inputSize, 46 ASSERT(isGeometric || (inputSize < MAX_WORD_LENGTH)); 49 inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, 69 inputSize, mInputProximities, locale); 110 pointerIds, inputSize, isGeometric, pointerId, 116 mAverageSpeed = ProximityInfoStateUtils::refreshSpeedRates(inputSize, xCoordinates, 121 mAverageSpeed, inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, 148 ProximityInfoStateUtils::dump(isGeometric, inputSize, xCoordinates, yCoordinates, 159 inputSize, mInputProximities, mPrimaryInputWord); 162 AKLOGI("ProximityState init finished: %d points out of %d", mSampledInputSize, inputSize); [all...] |
proximity_info_state_utils.h | 41 const int *const times, const int *const pointerIds, const int inputSize, 51 static float refreshSpeedRates(const int inputSize, const int *const xCoordinates, 60 const int inputSize, const int *const xCoordinates, const int *const yCoordinates, 90 static void initPrimaryInputWord(const int inputSize, const int *const inputProximities, 92 static void dump(const bool isGeometric, const int inputSize, 99 static bool checkAndReturnIsContinuousSuggestionPossible(const int inputSize, 138 const int id, const int inputSize, const int *const xCoordinates,
|
proximity_info.h | 75 const int inputSize, int *allInputCodes, const std::vector<int> *locale) const { 77 inputSize, mKeyXCoordinates, mKeyYCoordinates, mKeyWidths, mKeyHeights,
|
proximity_info_state_utils.cpp | 49 const int inputSize, const bool isGeometric, const int pointerId, 55 for (int i = 0; i < inputSize; ++i) { 63 for (int i = 0; i < inputSize; ++i) { 76 for (int i = lastInputIndex; i < inputSize; ++i) { 149 /* static */ void ProximityInfoStateUtils::initPrimaryInputWord(const int inputSize, 152 for (int i = 0; i < inputSize; ++i) { 218 /* static */ float ProximityInfoStateUtils::refreshSpeedRates(const int inputSize, 239 const int forwardNumPoints = std::min(inputSize - 1, 278 const float averageSpeed, const int inputSize, const int *const xCoordinates, 289 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
ScriptYuvCrop.java | 62 Size inputSize = inputInfo.getSize(); 65 (int)(crop.width() * inputSize.getWidth()), 66 (int)(crop.height() * inputSize.getHeight()));
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
dic_nodes_cache.h | 82 void advanceInputIndex(const int inputSize) { 83 if (mInputIndex < inputSize) { 117 AK_FORCE_INLINE bool isCacheBorderForTyping(const int inputSize) const { 120 const int cacheInputIndex = inputSize - CACHE_BACK_LENGTH;
|
dic_node.h | 37 __FUNCTION__, getNodeCodePoint(), inputSize, getTotalInputIndex(), \ 192 bool isCompletion(const int inputSize) const { 193 return mDicNodeState.mDicNodeStateInput.getInputIndex(0) >= inputSize; 196 bool canDoLookAheadCorrection(const int inputSize) const { 197 return mDicNodeState.mDicNodeStateInput.getInputIndex(0) < inputSize - 1; 464 const bool doNormalization, const int inputSize, 470 inputSize, getTotalInputIndex(), errorType);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
Camera2ReprocessCaptureTest.java | 270 for (Size inputSize : supportedInputSizes) { 282 testReprocess(cameraId, inputSize, inputFormat, 287 testReprocessBurst(cameraId, inputSize, inputFormat, 292 testReprocessMixedBurst(cameraId, inputSize, inputFormat, 308 private void testReprocessMixedBurst(String cameraId, Size inputSize, int inputFormat, 312 Log.v(TAG, "testReprocessMixedBurst: cameraId: " + cameraId + " inputSize: " + 313 inputSize + " inputFormat: " + inputFormat + " reprocessOutputSize: " + 331 setupImageReaders(inputSize, inputFormat, reprocessOutputSize, reprocessOutputFormat, 360 cameraId, inputSize.getWidth(), inputSize.getHeight(), inputFormat [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
ReprocessCaptureTest.java | 240 Size inputSize = 248 " inputSize: " + inputSize + " inputFormat: " + inputFormat + 253 setupImageReaders(inputSize, inputFormat, reprocessOutputSize, 519 for (Size inputSize : supportedInputSizes) { 531 testReprocess(cameraId, inputSize, inputFormat, 536 testReprocessBurst(cameraId, inputSize, inputFormat, 541 testReprocessMixedBurst(cameraId, inputSize, inputFormat, 557 private void testReprocessMixedBurst(String cameraId, Size inputSize, int inputFormat, 561 Log.v(TAG, "testReprocessMixedBurst: cameraId: " + cameraId + " inputSize: " [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
CipherBenchmark.java | 76 @Param({"16", "32", "64", "128", "1024", "8192"}) private int inputSize; 136 cipherEncrypt.doFinal(DATA, 0, inputSize, output); 142 cipherDecrypt.doFinal(DATA, 0, inputSize, output);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
dic_node_state_scoring.h | 72 const int inputSize, const int totalInputIndex, 74 addDistance(spatialCost, languageCost, doNormalization, inputSize, totalInputIndex); 207 bool doNormalization, int inputSize, int totalInputIndex) {
|
/external/skia/bench/ |
BitmapScaleBench.cpp | 39 int inputSize() const { 48 return float(outputSize())/inputSize();
|