/external/ImageMagick/MagickCore/ |
D | exception.c | 111 *exception; in AcquireExceptionInfo() local 113 exception=(ExceptionInfo *) AcquireCriticalMemory(sizeof(*exception)); in AcquireExceptionInfo() 114 InitializeExceptionInfo(exception); in AcquireExceptionInfo() 115 exception->relinquish=MagickTrue; in AcquireExceptionInfo() 116 return(exception); in AcquireExceptionInfo() 143 static void *DestroyExceptionElement(void *exception) in DestroyExceptionElement() argument 148 p=(ExceptionInfo *) exception; in DestroyExceptionElement() 157 MagickExport void ClearMagickException(ExceptionInfo *exception) in ClearMagickException() argument 159 assert(exception != (ExceptionInfo *) NULL); in ClearMagickException() 160 assert(exception->signature == MagickCoreSignature); in ClearMagickException() [all …]
|
D | fx.c | 135 *exception; member 166 ExceptionInfo *exception) in AcquireFxInfo() argument 182 fx_info->exception=AcquireExceptionInfo(); in AcquireFxInfo() 196 fx_info->view[i]=AcquireVirtualCacheView(next,exception); in AcquireFxInfo() 268 const double attenuate,ExceptionInfo *exception) in AddNoiseImage() argument 303 assert(exception != (ExceptionInfo *) NULL); in AddNoiseImage() 304 assert(exception->signature == MagickCoreSignature); in AddNoiseImage() 306 noise_image=AccelerateAddNoiseImage(image,noise_type,attenuate,exception); in AddNoiseImage() 310 noise_image=CloneImage(image,0,0,MagickTrue,exception); in AddNoiseImage() 313 if (SetImageStorageClass(noise_image,DirectClass,exception) == MagickFalse) in AddNoiseImage() [all …]
|
D | constitute.c | 135 ExceptionInfo *exception) in ConstituteImage() argument 152 assert(exception != (ExceptionInfo *) NULL); in ConstituteImage() 153 assert(exception->signature == MagickCoreSignature); in ConstituteImage() 154 image=AcquireImage((ImageInfo *) NULL,exception); in ConstituteImage() 195 status=SetImageExtent(image,columns,rows,exception); in ConstituteImage() 198 status=ResetImagePixels(image,exception); in ConstituteImage() 201 status=ImportImagePixels(image,0,0,columns,rows,map,storage,pixels,exception); in ConstituteImage() 253 ExceptionInfo *exception) in PingImage() argument 266 assert(exception != (ExceptionInfo *) NULL); in PingImage() 269 image=ReadStream(ping_info,&PingStream,exception); in PingImage() [all …]
|
D | channel.c | 119 const Quantum pixel,ExceptionInfo *exception) in ChannelImage() argument 136 source_view=AcquireVirtualCacheView(source_image,exception); in ChannelImage() 137 destination_view=AcquireAuthenticCacheView(destination_image,exception); in ChannelImage() 162 exception); in ChannelImage() 164 destination_image->columns,1,exception); in ChannelImage() 186 if (SyncCacheViewAuthenticPixels(destination_view,exception) == MagickFalse) in ChannelImage() 195 ExceptionInfo *exception) in ChannelFxImage() argument 234 assert(exception != (ExceptionInfo *) NULL); in ChannelFxImage() 235 assert(exception->signature == MagickCoreSignature); in ChannelFxImage() 237 destination_image=CloneImage(source_image,0,0,MagickTrue,exception); in ChannelFxImage() [all …]
|
D | transform.c | 100 const OrientationType orientation,ExceptionInfo *exception) in AutoOrientImage() argument 107 assert(exception != (ExceptionInfo *) NULL); in AutoOrientImage() 108 assert(exception->signature == MagickCoreSignature); in AutoOrientImage() 116 orient_image=CloneImage(image,0,0,MagickTrue,exception); in AutoOrientImage() 121 orient_image=FlopImage(image,exception); in AutoOrientImage() 126 orient_image=RotateImage(image,180.0,exception); in AutoOrientImage() 131 orient_image=FlipImage(image,exception); in AutoOrientImage() 136 orient_image=TransposeImage(image,exception); in AutoOrientImage() 141 orient_image=RotateImage(image,90.0,exception); in AutoOrientImage() 146 orient_image=TransverseImage(image,exception); in AutoOrientImage() [all …]
|
D | attribute.c | 139 ExceptionInfo *exception) in GetEdgeBackgroundFactor() argument 172 p=GetCacheViewVirtualPixels(image_view,0,0,1,1,exception); in GetEdgeBackgroundFactor() 179 exception); in GetEdgeBackgroundFactor() 186 (ssize_t) image->rows-1,1,1,exception); in GetEdgeBackgroundFactor() 193 exception); in GetEdgeBackgroundFactor() 203 edge_image=CropImage(image,&edge_geometry,exception); in GetEdgeBackgroundFactor() 207 edge_view=AcquireVirtualCacheView(edge_image,exception); in GetEdgeBackgroundFactor() 213 p=GetCacheViewVirtualPixels(edge_view,0,y,edge_image->columns,1,exception); in GetEdgeBackgroundFactor() 241 ExceptionInfo *exception) in GetImageBoundingBox() argument 271 edge_image=CloneImage(image,0,0,MagickTrue,exception); in GetImageBoundingBox() [all …]
|
D | effect.c | 130 const double sigma,ExceptionInfo *exception) in AdaptiveBlurImage() argument 172 assert(exception != (ExceptionInfo *) NULL); in AdaptiveBlurImage() 173 assert(exception->signature == MagickCoreSignature); in AdaptiveBlurImage() 174 blur_image=CloneImage(image,0,0,MagickTrue,exception); in AdaptiveBlurImage() 179 if (SetImageStorageClass(blur_image,DirectClass,exception) == MagickFalse) in AdaptiveBlurImage() 187 edge_image=EdgeImage(image,radius,exception); in AdaptiveBlurImage() 193 (void) AutoLevelImage(edge_image,exception); in AdaptiveBlurImage() 194 gaussian_image=BlurImage(edge_image,radius,sigma,exception); in AdaptiveBlurImage() 200 (void) AutoLevelImage(edge_image,exception); in AdaptiveBlurImage() 251 image_view=AcquireVirtualCacheView(image,exception); in AdaptiveBlurImage() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
D | XPathException.java | 188 Throwable exception = m_exception; in printStackTrace() local 190 for (int i = 0; (i < 10) && (null != exception); i++) in printStackTrace() 193 exception.printStackTrace(s); in printStackTrace() 195 if (exception instanceof TransformerException) in printStackTrace() 197 TransformerException se = (TransformerException) exception; in printStackTrace() 198 Throwable prev = exception; in printStackTrace() 200 exception = se.getException(); in printStackTrace() 202 if (prev == exception) in printStackTrace() 207 exception = null; in printStackTrace() 221 Throwable exception = m_exception; in getMessage() local [all …]
|
/external/ImageMagick/PerlMagick/ |
D | Magick.xs | 113 #define InheritPerlException(exception,perl_exception) \ argument 118 if ((exception)->severity != UndefinedException) \ 121 (exception)->severity, (exception)->reason ? \ 122 GetLocaleExceptionMessage((exception)->severity,(exception)->reason) : \ 123 "Unknown", (exception)->description ? " (" : "", \ 124 (exception)->description ? GetLocaleExceptionMessage( \ 125 (exception)->severity,(exception)->description) : "", \ 126 (exception)->description ? ")" : ""); \ 136 #define ThrowPerlException(exception,severity,tag,reason) \ argument 137 (void) ThrowMagickException(exception,GetMagickModule(),severity, \ [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | DefaultErrorHandler.java | 117 public void warning(SAXParseException exception) throws SAXException in warning() argument 121 printLocation(pw, exception); in warning() 122 pw.println("Parser warning: " + exception.getMessage()); in warning() 146 public void error(SAXParseException exception) throws SAXException in error() argument 151 throw exception; in error() 173 public void fatalError(SAXParseException exception) throws SAXException in fatalError() argument 178 throw exception; in fatalError() 198 public void warning(TransformerException exception) throws TransformerException in warning() argument 202 printLocation(pw, exception); in warning() 203 pw.println(exception.getMessage()); in warning() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/error/ |
D | MarkedYAMLExceptionTest.java | 24 MarkedYAMLException exception = new MarkedYAMLException(null, null, "Error happened", mark); in testToString1() local 25 assertTrue(exception.toString().contains("Error happened")); in testToString1() 26 assertTrue(exception.toString().contains("The first line")); in testToString1() 27 assertTrue(exception.toString(), exception.toString().contains("test1")); in testToString1() 32 MarkedYAMLException exception = new MarkedYAMLException("See http://www.google.com", mark, in testToString2() local 34 assertTrue(exception.toString().contains("Error2 happened")); in testToString2() 35 assertTrue(exception.toString().contains("The first line")); in testToString2() 36 assertTrue(exception.toString().contains("search")); in testToString2() 40 MarkedYAMLException exception = new MarkedYAMLException("See http://www.google.com", null, in testToString3() local 42 assertTrue(exception.toString().contains("Note1")); in testToString3() [all …]
|
/external/ImageMagick/coders/ |
D | cmyk.c | 100 ExceptionInfo *exception) in ReadCMYKImage() argument 139 assert(exception != (ExceptionInfo *) NULL); in ReadCMYKImage() 140 assert(exception->signature == MagickCoreSignature); in ReadCMYKImage() 141 image=AcquireImage(image_info,exception); in ReadCMYKImage() 144 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage() 147 (void) SetImageColorspace(image,CMYKColorspace,exception); in ReadCMYKImage() 150 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage() 157 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadCMYKImage() 164 exception); in ReadCMYKImage() 168 exception); in ReadCMYKImage() [all …]
|
D | ycbcr.c | 100 ExceptionInfo *exception) in ReadYCBCRImage() argument 139 assert(exception != (ExceptionInfo *) NULL); in ReadYCBCRImage() 140 assert(exception->signature == MagickCoreSignature); in ReadYCBCRImage() 141 image=AcquireImage(image_info,exception); in ReadYCBCRImage() 144 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadYCBCRImage() 147 (void) SetImageColorspace(image,YCbCrColorspace,exception); in ReadYCBCRImage() 150 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYCBCRImage() 157 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadYCBCRImage() 164 exception); in ReadYCBCRImage() 168 exception); in ReadYCBCRImage() [all …]
|
D | bgr.c | 101 ExceptionInfo *exception) in ReadBGRImage() argument 140 assert(exception != (ExceptionInfo *) NULL); in ReadBGRImage() 141 assert(exception->signature == MagickCoreSignature); in ReadBGRImage() 142 image=AcquireImage(image_info,exception); in ReadBGRImage() 147 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage() 154 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadBGRImage() 161 exception); in ReadBGRImage() 165 exception); in ReadBGRImage() 214 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadBGRImage() 245 ThrowFileException(exception,CorruptImageError, in ReadBGRImage() [all …]
|
D | rgb.c | 100 static Image *ReadRGBImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadRGBImage() argument 139 assert(exception != (ExceptionInfo *) NULL); in ReadRGBImage() 140 assert(exception->signature == MagickCoreSignature); in ReadRGBImage() 141 image=AcquireImage(image_info,exception); in ReadRGBImage() 146 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadRGBImage() 153 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadRGBImage() 160 exception); in ReadRGBImage() 164 exception); in ReadRGBImage() 213 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadRGBImage() 244 ThrowFileException(exception,CorruptImageError, in ReadRGBImage() [all …]
|
D | gray.c | 101 ExceptionInfo *exception) in ReadGRAYImage() argument 140 assert(exception != (ExceptionInfo *) NULL); in ReadGRAYImage() 141 assert(exception->signature == MagickCoreSignature); in ReadGRAYImage() 142 image=AcquireImage(image_info,exception); in ReadGRAYImage() 148 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadGRAYImage() 155 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadGRAYImage() 162 exception); in ReadGRAYImage() 166 exception); in ReadGRAYImage() 209 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadGRAYImage() 240 ThrowFileException(exception,CorruptImageError, in ReadGRAYImage() [all …]
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StubbingWithThrowablesTest.java | 46 public ExpectedException exception = ExpectedException.none(); field in StubbingWithThrowablesTest 101 exception.expect(sameInstance(expected)); in shouldStubWithThrowable() 111 exception.expect(sameInstance(expected)); in shouldSetThrowableToVoidMethod() 122 exception.expect(ExceptionTwo.class); in shouldLastStubbingVoidBeImportant() 131 exception.expect(ExceptionOne.class); in shouldFailStubbingThrowableOnTheSameInvocationDueToAcceptableLimitation() 143 exception.expect(sameInstance(ioException)); in shouldAllowSettingCheckedException() 154 exception.expect(Error.class); in shouldAllowSettingError() 161 exception.expect(MockitoException.class); in shouldNotAllowNullExceptionType() 162 exception.expectMessage("Cannot stub with null throwable"); in shouldNotAllowNullExceptionType() 171 exception.expect(NaughtyException.class); in shouldInstantiateExceptionClassOnInteraction() [all …]
|
/external/ImageMagick/MagickWand/ |
D | mogrify.c | 123 ExceptionInfo *exception) in MagickCommandGenesis() argument 170 DistributePixelCacheServer(StringToInteger(argv[++i]),exception); in MagickCommandGenesis() 184 status=command(image_info,argc,argv,&text,exception); in MagickCommandGenesis() 185 if (exception->severity != UndefinedException) in MagickCommandGenesis() 187 if ((exception->severity > ErrorException) || in MagickCommandGenesis() 190 CatchException(exception); in MagickCommandGenesis() 230 status=command(image_info,argc,argv,&text,exception); in MagickCommandGenesis() 231 if (exception->severity != UndefinedException) in MagickCommandGenesis() 233 if ((exception->severity > ErrorException) || in MagickCommandGenesis() 236 CatchException(exception); in MagickCommandGenesis() [all …]
|
D | magick-wand.c | 88 ClearMagickException(wand->exception); in ClearMagickWand() 131 clone_wand->exception=AcquireExceptionInfo(); in CloneMagickWand() 132 InheritException(clone_wand->exception,wand->exception); in CloneMagickWand() 134 clone_wand->images=CloneImageList(wand->images,clone_wand->exception); in CloneMagickWand() 175 if (wand->exception != (ExceptionInfo *) NULL ) in DestroyMagickWand() 176 wand->exception=DestroyExceptionInfo(wand->exception); in DestroyMagickWand() 244 ClearMagickException(wand->exception); in MagickClearException() 284 *severity=wand->exception->severity; in MagickGetException() 289 (void) ThrowMagickException(wand->exception,GetMagickModule(),WandError, in MagickGetException() 294 if (wand->exception->reason != (char *) NULL) in MagickGetException() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
D | NumberOfInvocationsCheckerTest.java | 42 public ExpectedException exception = ExpectedException.none(); field in NumberOfInvocationsCheckerTest 52 exception.expect(TooLittleActualInvocations.class); in shouldReportTooLittleActual() 53 exception.expectMessage("mock.simpleMethod()"); in shouldReportTooLittleActual() 54 exception.expectMessage("Wanted 100 times"); in shouldReportTooLittleActual() 55 exception.expectMessage("But was 2 times"); in shouldReportTooLittleActual() 65 exception.expect(TooLittleActualInvocations.class); in shouldReportAllInvocationsStackTrace() 66 exception.expectMessage("mock.simpleMethod()"); in shouldReportAllInvocationsStackTrace() 67 exception.expectMessage("Wanted 100 times"); in shouldReportAllInvocationsStackTrace() 68 exception.expectMessage("But was 2 times"); in shouldReportAllInvocationsStackTrace() 69 exception.expectMessage(containsTimes("-> at", 3)); in shouldReportAllInvocationsStackTrace() [all …]
|
D | NumberOfInvocationsInOrderCheckerTest.java | 39 public ExpectedException exception = ExpectedException.none(); field in NumberOfInvocationsInOrderCheckerTest 71 exception.expect(VerificationInOrderFailure.class); in shouldReportTooLittleInvocations() 72 exception.expectMessage("mock.simpleMethod()"); in shouldReportTooLittleInvocations() 73 exception.expectMessage("Wanted 4 times"); in shouldReportTooLittleInvocations() 74 exception.expectMessage("But was 2 times"); in shouldReportTooLittleInvocations() 96 exception.expect(VerificationInOrderFailure.class); in shouldReportTooLittleActual() 97 exception.expectMessage("mock.simpleMethod()"); in shouldReportTooLittleActual() 98 exception.expectMessage("Wanted 100 times"); in shouldReportTooLittleActual() 99 exception.expectMessage("But was 2 times"); in shouldReportTooLittleActual() 109 exception.expect(VerificationInOrderFailure.class); in shouldReportWithAllInvocationsStackTrace() [all …]
|
/external/ImageMagick/tests/ |
D | validate.c | 1029 ExceptionInfo *exception) in ValidateColorspaces() argument 1062 CatchException(exception); in ValidateColorspaces() 1144 ExceptionInfo *exception) in ValidateCompareCommand() argument 1167 CatchException(exception); in ValidateCompareCommand() 1178 exception->reason); in ValidateCompareCommand() 1183 (char **) NULL,exception); in ValidateCompareCommand() 1192 exception->reason); in ValidateCompareCommand() 1239 ExceptionInfo *exception) in ValidateCompositeCommand() argument 1262 CatchException(exception); in ValidateCompositeCommand() 1277 (char **) NULL,exception); in ValidateCompositeCommand() [all …]
|
/external/ImageMagick/PerlMagick/quantum/ |
D | quantum.xs.in | 113 #define InheritPerlException(exception,perl_exception) \ argument 118 if ((exception)->severity != UndefinedException) \ 121 (exception)->severity, (exception)->reason ? \ 122 GetLocaleExceptionMessage((exception)->severity,(exception)->reason) : \ 123 "Unknown", (exception)->description ? " (" : "", \ 124 (exception)->description ? GetLocaleExceptionMessage( \ 125 (exception)->severity,(exception)->description) : "", \ 126 (exception)->description ? ")" : ""); \ 136 #define ThrowPerlException(exception,severity,tag,reason) \ argument 137 (void) ThrowMagickException(exception,GetMagickModule(),severity, \ [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CheckUtf8Test.java | 69 } catch (IllegalArgumentException exception) { in testBuildRequiredStringWithBadUtf8() 70 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8() 78 } catch (IllegalArgumentException exception) { in testBuildOptionalStringWithBadUtf8() 79 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildOptionalStringWithBadUtf8() 87 } catch (IllegalArgumentException exception) { in testBuildRepeatedStringWithBadUtf8() 88 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRepeatedStringWithBadUtf8() 98 } catch (InvalidProtocolBufferException exception) { in testParseRequiredStringWithBadUtf8() 99 assertEquals("Protocol message had invalid UTF-8.", exception.getMessage()); in testParseRequiredStringWithBadUtf8() 107 } catch (IllegalArgumentException exception) { in testBuildRequiredStringWithBadUtf8Size() 108 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8Size() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
D | InvokeMethodTest.java | 144 TaggedObject exception = reply.getNextValueAsTaggedObject(); in makeNewInstance() local 146 + exception.tag + " exception.objectID=" + exception.objectID); in makeNewInstance() 154 assertTrue("exception must be != null", exception != null); in makeNewInstance() 155 assertTrue("exception.objectID must be == 0", exception.objectID == 0); in makeNewInstance() 156 assertEquals("Invalid exception.tag,", JDWPConstants.Tag.OBJECT_TAG, exception.tag in makeNewInstance() 158 , JDWPConstants.Tag.getName(exception.tag)); in makeNewInstance() 221 TaggedObject exception = reply.getNextValueAsTaggedObject(); in testInvokeMethod001() local 223 + exception.tag + " exception.objectID=" + exception.objectID); in testInvokeMethod001() 228 assertTrue("exception must be != null", exception != null); in testInvokeMethod001() 229 assertTrue("exception.objectID must be == 0", exception.objectID == 0); in testInvokeMethod001() [all …]
|