/external/icu4c/layout/ |
loengine.cpp | 23 LEErrorCode *success) 27 return (le_engine *) LayoutEngine::layoutEngineFactory(fontInstance, scriptCode, languageCode, typo_flags, *success); 47 LEErrorCode *success) 52 *success = LE_ILLEGAL_ARGUMENT_ERROR; 56 return le->layoutChars(chars, offset, count, max, rightToLeft, x, y, *success); 61 LEErrorCode *success) 66 *success = LE_ILLEGAL_ARGUMENT_ERROR; 76 LEErrorCode *success) 81 *success = LE_ILLEGAL_ARGUMENT_ERROR; 85 le->getGlyphs(glyphs, *success); [all...] |
LEGlyphStorage.cpp | 65 void LEGlyphStorage::allocateGlyphArray(le_int32 initialGlyphCount, le_bool rightToLeft, LEErrorCode &success) 67 if (LE_FAILURE(success)) { 72 success = LE_ILLEGAL_ARGUMENT_ERROR; 81 success = LE_MEMORY_ALLOCATION_ERROR; 92 success = LE_MEMORY_ALLOCATION_ERROR; 119 success = LE_MEMORY_ALLOCATION_ERROR; 126 le_int32 LEGlyphStorage::allocatePositions(LEErrorCode &success) 128 if (LE_FAILURE(success)) { 133 success = LE_INTERNAL_ERROR; 140 success = LE_MEMORY_ALLOCATION_ERROR 518 LEErrorCode success = LE_NO_ERROR; local [all...] |
GlyphPositioningTables.cpp | 21 const GlyphDefinitionTableHeader *glyphDefinitionTableHeader, LEErrorCode &success, 24 if (LE_FAILURE(success)) { 28 GlyphPositioningLookupProcessor processor(this, scriptTag, languageTag, featureMap, featureMapCount, featureOrder, success); 29 if (LE_FAILURE(success)) { 33 processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance, success);
|
KhmerLayoutEngine.cpp | 21 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) 22 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) 29 le_int32 typoFlags, LEErrorCode &success) 30 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) 45 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) 47 if (LE_FAILURE(success)) { 52 success = LE_ILLEGAL_ARGUMENT_ERROR; 61 success = LE_MEMORY_ALLOCATION_ERROR; 65 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); 66 glyphStorage.allocateAuxData(success); [all...] |
TibetanLayoutEngine.cpp | 27 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) 28 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) 35 le_int32 typoFlags, LEErrorCode &success) 36 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) 51 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) 53 if (LE_FAILURE(success)) { 58 success = LE_ILLEGAL_ARGUMENT_ERROR; 67 success = LE_MEMORY_ALLOCATION_ERROR; 71 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); 72 glyphStorage.allocateAuxData(success); [all...] |
LEGlyphStorage.h | 145 * @param success - set to an error code if the operation fails 149 void getGlyphs(LEGlyphID glyphs[], LEErrorCode &success) const; 159 * @param success - set to an error code if the operation fails 163 void getGlyphs(le_uint32 glyphs[], le_uint32 extraBits, LEErrorCode &success) const; 171 * @param success - set to an error code if the operation fails 175 void getCharIndices(le_int32 charIndices[], LEErrorCode &success) const; 184 * @param success - set to an error code if the operation fails 188 void getCharIndices(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &success) const; 197 * @param success - set to an error code if the operation fails 201 void getGlyphPositions(float positions[], LEErrorCode &success) const [all...] |
GXLayoutEngine.cpp | 19 GXLayoutEngine::GXLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const MorphTableHeader *morphTable, LEErrorCode &success) 20 : LayoutEngine(fontInstance, scriptCode, languageCode, 0, success), fMorphTable(morphTable) 31 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) 33 if (LE_FAILURE(success)) { 38 success = LE_ILLEGAL_ARGUMENT_ERROR; 42 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); 44 if (LE_FAILURE(success)) { 55 LEGlyphStorage &/*glyphStorage*/, LEErrorCode &success) 57 if (LE_FAILURE(success)) { 62 success = LE_ILLEGAL_ARGUMENT_ERROR [all...] |
ThaiLayoutEngine.cpp | 22 ThaiLayoutEngine::ThaiLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success) 23 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) 59 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) 61 if (LE_FAILURE(success)) { 66 success = LE_ILLEGAL_ARGUMENT_ERROR; 78 success = LE_MEMORY_ALLOCATION_ERROR; 82 glyphStorage.allocateGlyphArray(count * 2, FALSE, success); 84 if (LE_FAILURE(success)) { 86 success = LE_MEMORY_ALLOCATION_ERROR; 91 mapCharsToGlyphs(outChars, 0, glyphCount, FALSE, FALSE, glyphStorage, success); [all...] |
IndicRearrangementProcessor.cpp | 70 LEErrorCode success = LE_NO_ERROR; local 79 ia = glyphStorage.getCharIndex(firstGlyph, success); 84 ix = glyphStorage.getCharIndex(x, success); 85 glyphStorage.setCharIndex(x - 1, ix, success); 90 glyphStorage.setCharIndex(lastGlyph, ia, success); 95 id = glyphStorage.getCharIndex(lastGlyph, success); 100 ix = glyphStorage.getCharIndex(x, success); 101 glyphStorage.setCharIndex(x + 1, ix, success); 106 glyphStorage.setCharIndex(firstGlyph, id, success); 111 ia = glyphStorage.getCharIndex(firstGlyph, success); [all...] |
LayoutEngine.h | 130 * @param success - set to an error code if the operation fails 141 LEErrorCode &success); 168 * @param success - set to an error code if the operation fails 175 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success); 197 * @param success - set to an error code if the operation fails 203 virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success); 214 * @param success - set to an error code if the operation fails 218 virtual void positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &success); 236 * @param success - output parameter set to an error code if the operation fails 240 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success); [all...] |
GlyphSubstitutionTables.cpp | 29 LEErrorCode &success) const 31 if (LE_FAILURE(success)) { 35 GlyphSubstitutionLookupProcessor processor(this, scriptTag, languageTag, filter, featureMap, featureMapCount, featureOrder, success); 36 return processor.process(glyphStorage, NULL, rightToLeft, glyphDefinitionTableHeader, NULL, success);
|
HanLayoutEngine.cpp | 42 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) 43 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) 55 LEUnicode *&/*outChars*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) 57 if (LE_FAILURE(success)) { 62 success = LE_ILLEGAL_ARGUMENT_ERROR; 66 glyphStorage.allocateGlyphArray(count, FALSE, success); 67 glyphStorage.allocateAuxData(success); 69 if (LE_FAILURE(success)) { 78 glyphStorage.setAuxData(i, features, success);
|
SubstitutionLookups.cpp | 32 LEErrorCode& success) 34 if (LE_FAILURE(success)) { 40 for (le_uint16 subst = 0; subst < substCount && LE_SUCCESS(success); subst += 1) { 47 lookupProcessor->applySingleLookup(lookupListIndex, &tempIterator, fontInstance, success);
|
loengine.h | 45 * @param success - output parameter set to an error code if the operation fails 56 LEErrorCode *success); 80 * @param success - output parameter set to an error code if the operation fails 102 LEErrorCode *success); 110 * @param success - output parameter set to an error code if the operation fails. 118 LEErrorCode *success); 127 * @param success - set to an error code if the operation fails 134 LEErrorCode *success); 143 * @param success - set to an error code if the operation fails 150 LEErrorCode *success); [all...] |
LayoutEngine.cpp | 141 LEErrorCode &success) 145 if (LE_FAILURE(success)) { 151 success = LE_MEMORY_ALLOCATION_ERROR; 160 void LayoutEngine::getCharIndices(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &success) const 162 fGlyphStorage->getCharIndices(charIndices, indexBase, success); 165 void LayoutEngine::getCharIndices(le_int32 charIndices[], LEErrorCode &success) const 167 fGlyphStorage->getCharIndices(charIndices, success); 171 void LayoutEngine::getGlyphs(le_uint32 glyphs[], le_uint32 extraBits, LEErrorCode &success) const 173 fGlyphStorage->getGlyphs(glyphs, extraBits, success); 176 void LayoutEngine::getGlyphs(LEGlyphID glyphs[], LEErrorCode &success) cons [all...] |
/external/mesa3d/src/glsl/glcpp/tests/ |
038-func-arg-with-commas.c | 1 #define foo(x) success
|
067-nested-ifdef-ifndef.c | 4 #define result success 27 #define result success 37 #define result success
|
030-define-chain-obj-to-func-compose.c | 3 #define foo bar(baz(success))
|
031-define-chain-func-to-func-compose.c | 3 #define foo() bar(baz(success))
|
056-macro-argument-with-comma.c | 2 #define function(x) success
|
061-define-chain-obj-to-func-multi.c | 1 #define foo(x) success
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NodeIsSupported.java | 90 boolean success; 103 success = element.isSupported(featureXML, version); 104 assertTrue("nodeissupported01_XML1", success); 105 success = element.isSupported(featureXML, version1); 106 assertTrue("nodeissupported01_XML2", success); 110 success = element.isSupported(featureCore, version); 111 assertTrue("nodeissupported01_Core1", success); 112 success = element.isSupported(featureCore, version1); 113 success = element.isSupported(featureCore, version2); 114 assertTrue("nodeissupported01_Core3", success); [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementsetattributens08.java | 75 boolean success = false; 79 success = (ex.code == DOMException.NAMESPACE_ERR); 81 assertTrue("elementsetattributens08_Err1", success); 85 boolean success = false; 89 success = (ex.code == DOMException.NAMESPACE_ERR); 91 assertTrue("elementsetattributens08_Err2", success);
|
/external/chromium/chrome/browser/automation/ |
testing_automation_provider_win.cc | 23 bool* success) { 24 *success = false; 28 *success = true; 35 void TestingAutomationProvider::TerminateSession(int handle, bool* success) { 36 *success = false; 41 *success = (::PostMessageW(window, WM_ENDSESSION, 0, 0) == TRUE); 47 bool* success) { 48 *success = false; 51 *success = true; 60 bool* success) { [all...] |
/frameworks/native/opengl/tests/EGLTest/ |
EGL_test.cpp | 51 EGLBoolean success = eglTerminate(mEglDisplay); local 52 ASSERT_EQ(EGL_TRUE, success); 61 EGLBoolean success; local 68 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); 69 ASSERT_EQ(EGL_TRUE, success); 75 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); 76 ASSERT_EQ(EGL_TRUE, success); 78 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); 79 ASSERT_EQ(EGL_TRUE, success); 81 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]) 123 EGLBoolean success; local [all...] |