Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 25 of 47) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp37 ASSERT(false); in openVer4DictBuffers()
81 ASSERT(false); in flushHeaderAndDictBuffers()
116 ASSERT(false); in flushHeaderAndDictBuffers()
122 ASSERT(false); in flushHeaderAndDictBuffers()
134 ASSERT(false); in flushHeaderAndDictBuffers()
140 ASSERT(false); in flushHeaderAndDictBuffers()
Dver4_pt_node_array_reader.cpp31 ASSERT(false); in readPtNodeArrayInfoAndReturnIfValid()
60 ASSERT(false); in readForwardLinkAndReturnIfValid()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp54 #define ASSERT(cond, ...) \ macro
117 ASSERT(gifIn != NULL, "gifIn cannot be NULL"); in resizeBoxFilter()
118 ASSERT(gifOut != NULL, "gifOut cannot be NULL"); in resizeBoxFilter()
363 ASSERT(imageIndex < gifIn->ImageCount, in renderImage()
418 ASSERT(left + width <= imageWidth, "Rectangle is outside image bounds"); in fillRect()
419 ASSERT(top + height <= imageHeight, "Rectangle is outside image bounds"); in fillRect()
521 ASSERT(mGifIn == NULL, "mGifIn is already set"); in setGifIn()
526 ASSERT(mGifIn != NULL, "mGifIn is already NULL"); in releaseGifIn()
531 ASSERT(mGifOut == NULL, "mGifOut is already set"); in setGifOut()
536 ASSERT(mGifOut != NULL, "mGifOut is already NULL"); in releaseGifOut()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_vector.h57 ASSERT(!mLock); in pushPassingChild()
64 ASSERT(!mLock); in pushLeavingChild()
70 ASSERT(id < static_cast<int>(mDicNodes.size()));
75 ASSERT(1 <= static_cast<int>(mDicNodes.size())); in front()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp48 ASSERT(false); in newPolicyForExistingDictFile()
138 ASSERT(false); in newPolicyForDirectoryDict()
153 ASSERT(false); in newPolicyForV4Dict()
161 ASSERT(false); in newPolicyForV4Dict()
195 ASSERT(false); in newPolicyForFileDict()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_dict_buffers.cpp43 ASSERT(false); in openVer4DictBuffers()
65 ASSERT(false); in flushHeaderAndDictBuffers()
116 ASSERT(false); in flushHeaderAndDictBuffers()
122 ASSERT(false); in flushHeaderAndDictBuffers()
Dver4_pt_node_array_reader.cpp40 ASSERT(false); in readPtNodeArrayInfoAndReturnIfValid()
69 ASSERT(false); in readForwardLinkAndReturnIfValid()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state.cpp46 ASSERT(isGeometric || (inputSize < MAX_WORD_LENGTH)); in initInputParams()
263 ASSERT(false); in getProximityTypeG()
278 ASSERT(keyId >= 0 && index >= 0 && index < mSampledInputSize); in isKeyInSerchKeysAfterIndex()
293 ASSERT(0 <= index && index < mSampledInputSize); in hasSpaceProximity()
299 ASSERT(0 <= index && index < mSampledInputSize); in getProbability()
Dproximity_info_state_utils.cpp67 ASSERT(false); in updateTouchPoints()
297 ASSERT(sampledInputXs && sampledInputYs); in getDirection()
696 ASSERT(skipProbability >= 0.0f); in updateAlignPointProbabilities()
697 ASSERT(skipProbability <= ProximityInfoParams::MAX_SKIP_PROBABILITY); in updateAlignPointProbabilities()
872 ASSERT(0 <= index0 && index0 < sampledInputSize); in suppressCharProbabilities()
873 ASSERT(0 <= index1 && index1 < sampledInputSize); in suppressCharProbabilities()
938 ASSERT(sampledInputSize >= 0); in getMostProbableString()
960 ASSERT(false); in getMostProbableString()
Dproximity_info_utils.h174 ASSERT(false); in calculateProximities()
186 ASSERT(false); in calculateProximities()
207 ASSERT(false); in calculateProximities()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp43 ASSERT(false); in createAndGetAllChildDicNodes()
53 ASSERT(false); in createAndGetAllChildDicNodes()
106 ASSERT(false); in getCodePointsAndProbabilityAndReturnCodePointCount()
115 ASSERT(false); in getCodePointsAndProbabilityAndReturnCodePointCount()
243 ASSERT(false); in getCodePointsAndProbabilityAndReturnCodePointCount()
265 ASSERT(false); in getCodePointsAndProbabilityAndReturnCodePointCount()
Dver2_pt_node_array_reader.cpp29 ASSERT(false); in readPtNodeArrayInfoAndReturnIfValid()
46 ASSERT(false); in readForwardLinkAndReturnIfValid()
Dver2_patricia_trie_node_reader.cpp29 ASSERT(false); in fetchPtNodeParamsInBufferFromPtNodePos()
45 ASSERT(false); in fetchPtNodeParamsInBufferFromPtNodePos()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_and_options.h47 ASSERT(it != mOptions.end()); in getOptionValue()
58 ASSERT(it != mArguments.end() && !it->second.empty()); in getSingleArgument()
64 ASSERT(it != mArguments.end()); in getVariableLengthArguments()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_writing_utils.cpp71 ASSERT(false); in writePtNodeArraySizeAndAdvancePosition()
95 ASSERT(false); in writeCodePointsAndAdvancePosition()
121 ASSERT(false); in writeDictOffset()
Ddynamic_pt_updating_helper.cpp90 ASSERT(prevWordsPtNodePos.size() <= MAX_PREV_WORD_COUNT_FOR_N_GRAM); in addNgramEntry()
107 ASSERT(prevWordsPtNodePos.size() <= MAX_PREV_WORD_COUNT_FOR_N_GRAM); in removeNgramEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Ddict_file_writing_utils.cpp107 ASSERT(false); in flushBufferToFile()
113 ASSERT(false); in flushBufferToFile()
121 ASSERT(false); in flushBufferToFile()
Dbyte_array_utils.h39 ASSERT(size >= 1 && size <= 4); in writeUintAndAdvancePosition()
120 ASSERT(size >= 1 && size <= 4); in readUint()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DClog.java36 public static final int ASSERT = android.util.Log.ASSERT; field in Clog
144 case ASSERT: in println()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h143 #define ASSERT(success) do { if (!(success)) { showStackTrace(); assert(success);} } while (0) macro
162 #define ASSERT(success) assert(success) macro
172 #define ASSERT(success) macro
/packages/apps/Car/Radio/src/com/android/car/radio/util/
DLog.java31 public static final int ASSERT = android.util.Log.ASSERT; field in Log
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Ddic_traverse_session.h117 ASSERT(proximityType == UNRELATED_CHAR || proximityType == MATCH_CHAR); in getProximityTypeG()
140 ASSERT(mMaxPointerCount <= MAX_POINTER_COUNT_G); in isContinuousSuggestionPossible()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dint_array_view.h72 ASSERT(index < mSize);
114 ASSERT(mSize + offset <= N); in copyToArray()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp222 ASSERT(false); in latinime_BinaryDictionary_getSuggestions()
228 ASSERT(false); in latinime_BinaryDictionary_getSuggestions()
233 ASSERT(outputAutoCommitFirstWordConfidenceLength == 1); in latinime_BinaryDictionary_getSuggestions()
238 ASSERT(false); in latinime_BinaryDictionary_getSuggestions()
309 ASSERT(false); in latinime_BinaryDictionary_getNextWord()
/packages/apps/Messaging/src/com/android/messaging/util/
DLogUtil.java191 println(android.util.Log.ASSERT, tag, "wtf\n" + msg); in wtf()
207 println(android.util.Log.ASSERT, tag, "wtf\n" + msg + '\n' + in wtf()

12