/external/webkit/Source/WebCore/platform/graphics/cairo/ |
D | OpenGLShims.cpp | 29 #define ASSIGN_FUNCTION_TABLE_ENTRY(FunctionName, success) \ argument 30 …ionName = reinterpret_cast<FunctionName##Type>(lookupOpenGLFunctionAddress(#FunctionName, success)) 51 static void* lookupOpenGLFunctionAddress(const char* functionName, bool& success) in lookupOpenGLFunctionAddress() argument 53 if (!success) in lookupOpenGLFunctionAddress() 72 success = false; in lookupOpenGLFunctionAddress() 85 static bool success = true; in initializeOpenGLShims() local 88 return success; in initializeOpenGLShims() 91 ASSIGN_FUNCTION_TABLE_ENTRY(glActiveTexture, success); in initializeOpenGLShims() 92 ASSIGN_FUNCTION_TABLE_ENTRY(glAttachShader, success); in initializeOpenGLShims() 93 ASSIGN_FUNCTION_TABLE_ENTRY(glBindAttribLocation, success); in initializeOpenGLShims() [all …]
|
/external/icu4c/layout/ |
D | IndicRearrangementProcessor.cpp | 70 LEErrorCode success = LE_NO_ERROR; in doRearrangementAction() local 79 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction() 84 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction() 85 glyphStorage.setCharIndex(x - 1, ix, success); in doRearrangementAction() 90 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction() 95 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction() 100 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction() 101 glyphStorage.setCharIndex(x + 1, ix, success); in doRearrangementAction() 106 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction() 111 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction() [all …]
|
D | LEGlyphStorage.cpp | 65 …hStorage::allocateGlyphArray(le_int32 initialGlyphCount, le_bool rightToLeft, LEErrorCode &success) in allocateGlyphArray() argument 67 if (LE_FAILURE(success)) { in allocateGlyphArray() 72 success = LE_ILLEGAL_ARGUMENT_ERROR; in allocateGlyphArray() 81 success = LE_MEMORY_ALLOCATION_ERROR; in allocateGlyphArray() 92 success = LE_MEMORY_ALLOCATION_ERROR; in allocateGlyphArray() 119 success = LE_MEMORY_ALLOCATION_ERROR; in allocateGlyphArray() 126 le_int32 LEGlyphStorage::allocatePositions(LEErrorCode &success) in allocatePositions() argument 128 if (LE_FAILURE(success)) { in allocatePositions() 133 success = LE_INTERNAL_ERROR; in allocatePositions() 140 success = LE_MEMORY_ALLOCATION_ERROR; in allocatePositions() [all …]
|
D | LayoutEngine.cpp | 141 LEErrorCode &success) in LayoutEngine() argument 145 if (LE_FAILURE(success)) { in LayoutEngine() 151 success = LE_MEMORY_ALLOCATION_ERROR; in LayoutEngine() 160 void LayoutEngine::getCharIndices(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &success)… in getCharIndices() 162 fGlyphStorage->getCharIndices(charIndices, indexBase, success); in getCharIndices() 165 void LayoutEngine::getCharIndices(le_int32 charIndices[], LEErrorCode &success) const in getCharIndices() 167 fGlyphStorage->getCharIndices(charIndices, success); in getCharIndices() 171 void LayoutEngine::getGlyphs(le_uint32 glyphs[], le_uint32 extraBits, LEErrorCode &success) const in getGlyphs() 173 fGlyphStorage->getGlyphs(glyphs, extraBits, success); in getGlyphs() 176 void LayoutEngine::getGlyphs(LEGlyphID glyphs[], LEErrorCode &success) const in getGlyphs() [all …]
|
D | loengine.cpp | 23 LEErrorCode *success) in le_create() argument 27 …*) LayoutEngine::layoutEngineFactory(fontInstance, scriptCode, languageCode, typo_flags, *success); in le_create() 47 LEErrorCode *success) in le_layoutChars() argument 52 *success = LE_ILLEGAL_ARGUMENT_ERROR; in le_layoutChars() 56 return le->layoutChars(chars, offset, count, max, rightToLeft, x, y, *success); in le_layoutChars() 61 LEErrorCode *success) in le_getGlyphCount() argument 66 *success = LE_ILLEGAL_ARGUMENT_ERROR; in le_getGlyphCount() 76 LEErrorCode *success) in le_getGlyphs() argument 81 *success = LE_ILLEGAL_ARGUMENT_ERROR; in le_getGlyphs() 85 le->getGlyphs(glyphs, *success); in le_getGlyphs() [all …]
|
D | ArabicLayoutEngine.cpp | 37 … le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 38 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 45 le_int32 typoFlags, LEErrorCode &success) in ArabicOpenTypeLayoutEngine() argument 46 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in ArabicOpenTypeLayoutEngine() 67 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 69 if (LE_FAILURE(success)) { in characterProcessing() 74 success = LE_ILLEGAL_ARGUMENT_ERROR; in characterProcessing() 81 success = LE_MEMORY_ALLOCATION_ERROR; in characterProcessing() 85 glyphStorage.allocateGlyphArray(count, rightToLeft, success); in characterProcessing() 86 glyphStorage.allocateAuxData(success); in characterProcessing() [all …]
|
D | OpenTypeLayoutEngine.cpp | 79 … le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) in OpenTypeLayoutEngine() argument 80 …: LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fFeatureMask(minimalFe… in OpenTypeLayoutEngine() 122 le_int32 typoFlags, LEErrorCode &success) in OpenTypeLayoutEngine() argument 123 … : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fFeatureOrder(FALSE), in OpenTypeLayoutEngine() 179 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 181 if (LE_FAILURE(success)) { in characterProcessing() 186 success = LE_ILLEGAL_ARGUMENT_ERROR; in characterProcessing() 199 success = LE_MEMORY_ALLOCATION_ERROR; in characterProcessing() 203 if (LE_FAILURE(success)) { in characterProcessing() 211 if (LE_FAILURE(success)) { in characterProcessing() [all …]
|
D | LEGlyphStorage.h | 149 void getGlyphs(LEGlyphID glyphs[], LEErrorCode &success) const; 163 void getGlyphs(le_uint32 glyphs[], le_uint32 extraBits, LEErrorCode &success) const; 175 void getCharIndices(le_int32 charIndices[], LEErrorCode &success) const; 188 void getCharIndices(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &success) const; 201 void getGlyphPositions(float positions[], LEErrorCode &success) const; 217 void getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const; 231 void allocateGlyphArray(le_int32 initialGlyphCount, le_bool rightToLeft, LEErrorCode &success); 243 le_int32 allocatePositions(LEErrorCode &success); 254 le_int32 allocateAuxData(LEErrorCode &success); 264 void getAuxData(le_uint32 auxData[], LEErrorCode &success) const; [all …]
|
D | IndicLayoutEngine.cpp | 28 …2 typoFlags, le_bool version2, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 29 …: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success), fMP… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 41 …fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success) in IndicOpenTypeLayoutEngine() argument 42 …: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMPreFixups(NU… in IndicOpenTypeLayoutEngine() 57 LEGlyphStorage &glyphStorage, LEErrorCode &success) in glyphProcessing() argument 59 if (LE_FAILURE(success)) { in glyphProcessing() 64 success = LE_ILLEGAL_ARGUMENT_ERROR; in glyphProcessing() 68 …enTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success); in glyphProcessing() 70 if (LE_FAILURE(success)) { in glyphProcessing() 77 OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success); in glyphProcessing() [all …]
|
D | LayoutEngine.h | 141 LEErrorCode &success); 175 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success); 203 …nt32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success); 218 … virtual void positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &success); 240 …int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success); 281 …_int32 count, le_bool reverse, le_bool mirror, LEGlyphStorage &glyphStorage, LEErrorCode &success); 295 …id adjustMarkGlyphs(LEGlyphStorage &glyphStorage, LEGlyphFilter *markFilter, LEErrorCode &success); 316 …t, le_bool reverse, LEGlyphStorage &glyphStorage, LEGlyphFilter *markFilter, LEErrorCode &success); 355 …offset, le_int32 count, le_int32 max, le_bool rightToLeft, float x, float y, LEErrorCode &success); 378 void getGlyphs(LEGlyphID glyphs[], LEErrorCode &success) const; [all …]
|
D | ThaiLayoutEngine.cpp | 22 …fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 23 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 59 …2 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) in computeGlyphs() argument 61 if (LE_FAILURE(success)) { in computeGlyphs() 66 success = LE_ILLEGAL_ARGUMENT_ERROR; in computeGlyphs() 78 success = LE_MEMORY_ALLOCATION_ERROR; in computeGlyphs() 82 glyphStorage.allocateGlyphArray(count * 2, FALSE, success); in computeGlyphs() 84 if (LE_FAILURE(success)) { in computeGlyphs() 86 success = LE_MEMORY_ALLOCATION_ERROR; in computeGlyphs() 91 mapCharsToGlyphs(outChars, 0, glyphCount, FALSE, FALSE, glyphStorage, success); in computeGlyphs() [all …]
|
D | GXLayoutEngine.cpp | 19 …int32 scriptCode, le_int32 languageCode, const MorphTableHeader *morphTable, LEErrorCode &success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 20 : LayoutEngine(fontInstance, scriptCode, languageCode, 0, success), fMorphTable(morphTable) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 31 …int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) in computeGlyphs() argument 33 if (LE_FAILURE(success)) { in computeGlyphs() 38 success = LE_ILLEGAL_ARGUMENT_ERROR; in computeGlyphs() 42 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); in computeGlyphs() 44 if (LE_FAILURE(success)) { in computeGlyphs() 55 LEGlyphStorage &/*glyphStorage*/, LEErrorCode &success) in adjustGlyphPositions() argument 57 if (LE_FAILURE(success)) { in adjustGlyphPositions() 62 success = LE_ILLEGAL_ARGUMENT_ERROR; in adjustGlyphPositions()
|
D | KhmerLayoutEngine.cpp | 21 … le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 22 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 29 le_int32 typoFlags, LEErrorCode &success) in KhmerOpenTypeLayoutEngine() argument 30 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in KhmerOpenTypeLayoutEngine() 45 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 47 if (LE_FAILURE(success)) { in characterProcessing() 52 success = LE_ILLEGAL_ARGUMENT_ERROR; in characterProcessing() 61 success = LE_MEMORY_ALLOCATION_ERROR; in characterProcessing() 65 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); in characterProcessing() 66 glyphStorage.allocateAuxData(success); in characterProcessing() [all …]
|
D | TibetanLayoutEngine.cpp | 27 … le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 28 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 35 le_int32 typoFlags, LEErrorCode &success) in TibetanOpenTypeLayoutEngine() argument 36 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in TibetanOpenTypeLayoutEngine() 51 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 53 if (LE_FAILURE(success)) { in characterProcessing() 58 success = LE_ILLEGAL_ARGUMENT_ERROR; in characterProcessing() 67 success = LE_MEMORY_ALLOCATION_ERROR; in characterProcessing() 71 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); in characterProcessing() 72 glyphStorage.allocateAuxData(success); in characterProcessing() [all …]
|
D | HangulLayoutEngine.cpp | 187 … le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable, LEErrorCode &success) in HangulOpenTypeLayoutEngine() argument 188 : OpenTypeLayoutEngine(fontInstance, scriptCode, korLanguageCode, typoFlags, gsubTable, success) in HangulOpenTypeLayoutEngine() 196 le_int32 typoFlags, LEErrorCode &success) in HangulOpenTypeLayoutEngine() argument 197 : OpenTypeLayoutEngine(fontInstance, scriptCode, korLanguageCode, typoFlags, success) in HangulOpenTypeLayoutEngine() 210 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 212 if (LE_FAILURE(success)) { in characterProcessing() 217 success = LE_ILLEGAL_ARGUMENT_ERROR; in characterProcessing() 226 success = LE_MEMORY_ALLOCATION_ERROR; in characterProcessing() 230 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); in characterProcessing() 231 glyphStorage.allocateAuxData(success); in characterProcessing() [all …]
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
D | nodereplacechild38.js | 87 var success; 119 success = false; 124 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 126 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR1",success); 131 success = false; 136 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 138 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR2",success); 143 success = false; 148 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 150 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR3",success); [all …]
|
D | nodeinsertbefore15.js | 89 var success; 112 success = false; 117 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 119 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success); 124 success = false; 129 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 131 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success); 136 success = false; 141 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 143 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success); [all …]
|
D | documentrenamenode27.js | 87 var success; 128 success = false; 133 success = (typeof(ex.code) != 'undefined' && ex.code == 9); 135 assertTrue("throw_NOT_SUPPORTED_ERR_1",success); 139 success = false; 144 success = (typeof(ex.code) != 'undefined' && ex.code == 9); 146 assertTrue("throw_NOT_SUPPORTED_ERR_2",success); 150 success = false; 155 success = (typeof(ex.code) != 'undefined' && ex.code == 9); 157 assertTrue("throw_NOT_SUPPORTED_ERR_3",success); [all …]
|
D | nodereplacechild23.js | 87 var success; 117 success = false; 122 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 124 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success); 128 success = false; 133 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 135 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success); 139 success = false; 144 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 146 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success); [all …]
|
D | nodereplacechild22.js | 86 var success; 106 success = false; 111 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 113 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success); 117 success = false; 122 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 124 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success); 128 success = false; 133 success = (typeof(ex.code) != 'undefined' && ex.code == 7); 135 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success);
|
/external/valgrind/main/memcheck/tests/ |
D | atomic_incs.c | 51 unsigned long success; in atomic_add_8bit() 60 : /*out*/"=b"(success) in atomic_add_8bit() 64 } while (success != 1); in atomic_add_8bit() 68 unsigned long success; in atomic_add_8bit() 77 : /*out*/"=b"(success) in atomic_add_8bit() 81 } while (success != 1); in atomic_add_8bit() 144 unsigned long success; in atomic_add_16bit() 153 : /*out*/"=b"(success) in atomic_add_16bit() 157 } while (success != 1); in atomic_add_16bit() 161 unsigned long success; in atomic_add_16bit() [all …]
|
/external/valgrind/main/coregrind/m_demangle/ |
D | cplus-dem.c | 1032 int success = 0; in internal_cplus_demangle() local 1056 success = gnu_special (work, &mangled, &decl); in internal_cplus_demangle() 1058 if (!success) in internal_cplus_demangle() 1060 success = demangle_prefix (work, &mangled, &decl); in internal_cplus_demangle() 1062 if (success && (*mangled != '\0')) in internal_cplus_demangle() 1064 success = demangle_signature (work, &mangled, &decl); in internal_cplus_demangle() 1081 demangled = mop_up (work, &decl, success); in internal_cplus_demangle() 1220 mop_up (struct work_stuff *work, string *declp, int success) in mop_up() argument 1229 if (!success) in mop_up() 1275 int success = 1; in demangle_signature() local [all …]
|
/external/skia/tests/ |
D | ClipCubicTest.cpp | 83 bool success; in TestCubicClipping() local 89 success = clipper.clipCubic(crv, clipped); in TestCubicClipping() 90 REPORTER_ASSERT(reporter, success == true); in TestCubicClipping() 97 success = clipper.clipCubic(crv, clipped); in TestCubicClipping() 98 REPORTER_ASSERT(reporter, success == true); in TestCubicClipping() 105 success = clipper.clipCubic(crv, clipped); in TestCubicClipping() 106 REPORTER_ASSERT(reporter, success == true); in TestCubicClipping() 113 success = clipper.clipCubic(crv, clipped); in TestCubicClipping() 114 REPORTER_ASSERT(reporter, success == false); in TestCubicClipping() 119 success = clipper.clipCubic(crv, clipped); in TestCubicClipping() [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitTestResult.java | 32 private boolean success; field in gUnitTestResult 38 public gUnitTestResult(boolean success, String output) { in gUnitTestResult() argument 39 this.success = success; in gUnitTestResult() 43 public gUnitTestResult(boolean success, String output, boolean isLexerTest) { in gUnitTestResult() argument 44 this(success, output); in gUnitTestResult() 48 public gUnitTestResult(boolean success, String output, String returned) { in gUnitTestResult() argument 49 this(success, output); in gUnitTestResult() 54 return success; in isSuccess()
|
/external/chromium/chrome/browser/automation/ |
D | testing_automation_provider_win.cc | 23 bool* success) { in IsWindowMaximized() argument 24 *success = false; in IsWindowMaximized() 28 *success = true; in IsWindowMaximized() 35 void TestingAutomationProvider::TerminateSession(int handle, bool* success) { in TerminateSession() argument 36 *success = false; in TerminateSession() 41 *success = (::PostMessageW(window, WM_ENDSESSION, 0, 0) == TRUE); in TerminateSession() 47 bool* success) { in GetWindowBounds() argument 48 *success = false; in GetWindowBounds() 51 *success = true; in GetWindowBounds() 60 bool* success) { in SetWindowBounds() argument [all …]
|