Searched defs:sm (Results 1 - 25 of 38) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DWritableRasterNative.java55 public static WritableRasterNative createNativeRaster(SampleModel sm, argument
58 return new WritableRasterNative(sm, db);
61 protected WritableRasterNative(SampleModel sm, DataBuffer db) { argument
62 super(sm, db, new Point(0, 0));
H A DByteInterleavedRaster.java130 private boolean isInterleaved(ComponentSampleModel sm) { argument
140 int[] bankIndices = sm.getBankIndices();
148 int[] bandOffsets = sm.getBandOffsets();
160 if (maxOffset - minOffset >= sm.getPixelStride()) {
1251 SampleModel sm;
1254 sm = sampleModel.createSubsetSampleModel(bandList);
1256 sm = sampleModel;
1261 return new ByteInterleavedRaster(sm,
1279 SampleModel sm = sampleModel.createCompatibleSampleModel(w, h);
1281 return new ByteInterleavedRaster(sm, ne
[all...]
/openjdk7/jdk/test/javax/management/standardmbean/
H A DDeadlockTest.java128 public WorkingBoy(DeadlockTest sm) { argument
131 this.sm = sm;
139 sm.setImplementation(new Timer());
142 sm.getImplementation();
145 sm.getMBeanInterface();
148 sm.getImplementationClass();
151 sm.cacheMBeanInfo(null);
154 sm.getCachedMBeanInfo();
169 final DeadlockTest sm; field in class:DeadlockTest.WorkingBoy
[all...]
/openjdk7/jdk/test/java/lang/System/
H A DSecurityRace.java77 static SecurityManager sm = new SecurityManager(); field in class:SecurityRace
142 System.setSecurityManager(sm);
171 sm = System.getSecurityManager();
188 System.setSecurityManager(sm);
/openjdk7/langtools/test/tools/javac/AccessMethods/
H A DAccessMethodsLHS.java68 static private void sm(int x) throws Exception { method in class:AccessMethodsLHS.Bar
69 System.out.println("called AccessMethodsLHS.Bar.sm");
298 Bar.sm(arg);
400 b.sm(arg);
402 iBar(b).sm(arg);
/openjdk7/jdk/test/javax/xml/crypto/dsig/
H A DX509KeySelector.java133 SignatureMethod sm = (SignatureMethod) method;
148 KeySelectorResult ksr = x509DataSelect(xd, sm);
156 if (cert != null && algEquals(sm.getAlgorithm(),
173 ksr = certSelect(cert, sm);
177 ksr = x509DataSelect(xd, sm);
228 SignatureMethod sm) throws KeyStoreException {
238 if (algEquals(sm.getAlgorithm(), pk.getAlgorithm())) {
293 private KeySelectorResult x509DataSelect(X509Data xd, SignatureMethod sm) argument
297 String algOID = getPKAlgorithmOID(sm.getAlgorithm());
227 certSelect(X509Certificate xcert, SignatureMethod sm) argument
/openjdk7/langtools/test/tools/javac/protectedAccess/
H A DProtectedMemberAccess2.java30 static int sm = sx.spi; // illegal field in class:ProtectedMemberAccess2
H A DProtectedMemberAccess4.java36 static int sm = sx.spi; // ok field in class:ProtectedMemberAccess4
164 //static int sm = sx.spi;
H A DProtectedMemberAccess1.java200 static int sm = sx.spi; field in class:ProtectedMemberAccess2a
330 //static int sm = sx.spi;
438 static int sm = sx.spi; field in class:ProtectedMemberAccess3a
566 //static int sm = sx.spi;
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMSignedInfo.java88 * @param sm the signature method
91 * <code>cm</code>, <code>sm</code>, or <code>references</code> is
97 public DOMSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, argument
99 if (cm == null || sm == null || references == null) {
103 this.signatureMethod = sm;
123 * @param sm the signature method
128 * @throws NullPointerException if <code>cm</code>, <code>sm</code>,
134 public DOMSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, argument
136 this(cm, sm, references);
H A DDOMXMLSignatureFactory.java99 SignatureMethod sm, List references) {
100 return newSignedInfo(cm, sm, references, null);
104 SignatureMethod sm, List references, String id) {
105 return new DOMSignedInfo(cm, sm, references, id);
98 newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references) argument
103 newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references, String id) argument
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DPackedColorModel.java316 * with this <code>ColorModel</code>. If <code>sm</code> is
318 * @param sm the specified <code>SampleModel</code>,
325 public boolean isCompatibleSampleModel(SampleModel sm) { argument
326 if (! (sm instanceof SinglePixelPackedSampleModel)) {
331 if (numComponents != sm.getNumBands()) {
336 if (sm.getTransferType() != transferType) {
340 SinglePixelPackedSampleModel sppsm = (SinglePixelPackedSampleModel) sm;
H A DComponentColorModel.java2787 SampleModel sm = raster.getSampleModel();
2789 if (sm instanceof ComponentSampleModel) {
2790 if (sm.getNumBands() != getNumComponents()) {
2794 if (sm.getSampleSize(i) < nBits[i]) {
2830 SampleModel sm = createCompatibleSampleModel(w, h);
2831 DataBuffer db = sm.createDataBuffer();
2832 raster = Raster.createWritableRaster(sm, db, null);
2874 * @param sm The <CODE>SampleModel</CODE> to test for compatibility.
2882 public boolean isCompatibleSampleModel(SampleModel sm) { argument
2883 if (!(sm instanceo
[all...]
H A DIndexColorModel.java1375 * with this <code>ColorModel</code>. If <code>sm</code> is
1377 * @param sm the specified <code>SampleModel</code>,
1384 public boolean isCompatibleSampleModel(SampleModel sm) { argument
1386 if (! (sm instanceof ComponentSampleModel) &&
1387 ! (sm instanceof MultiPixelPackedSampleModel) ) {
1392 if (sm.getTransferType() != transferType) {
1396 if (sm.getNumBands() != 1) {
H A DRaster.java862 * @param sm the specified <code>SampleModel</code>
869 * <code>location.x + sm.getWidth()</code> or
870 * <code>location.y + sm.getHeight()</code> results in integer
873 * than one bank and <code>sm</code> is a
879 public static Raster createRaster(SampleModel sm, argument
882 if ((sm == null) || (db == null)) {
889 int dataType = sm.getDataType();
891 if (sm instanceof PixelInterleavedSampleModel) {
894 return new ByteInterleavedRaster(sm, db, location);
897 return new ShortInterleavedRaster(sm, d
935 createWritableRaster(SampleModel sm, Point location) argument
965 createWritableRaster(SampleModel sm, DataBuffer db, Point location) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DImageUtil.java261 SampleModel sm = raster.getSampleModel();
262 if(!isBinary(sm)) {
276 MultiPixelPackedSampleModel mpp = (MultiPixelPackedSampleModel)sm;
446 SampleModel sm = raster.getSampleModel();
447 if(!isBinary(sm)) {
461 MultiPixelPackedSampleModel mpp = (MultiPixelPackedSampleModel)sm;
529 SampleModel sm = raster.getSampleModel();
530 if(!isBinary(sm)) {
544 MultiPixelPackedSampleModel mpp = (MultiPixelPackedSampleModel)sm;
779 SampleModel sm
848 isBinary(SampleModel sm) argument
953 getElementSize(SampleModel sm) argument
970 getTileSize(SampleModel sm) argument
1012 getBandSize(SampleModel sm) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageWriter.java309 private void checkSampleModel(SampleModel sm) { argument
310 int type = sm.getDataType();
312 || sm.getNumBands() != 1 || sm.getSampleSize(0) != 1)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/
H A DProtocolSourceMessage.java59 private final Message sm; field in class:ProtocolSourceMessage
64 sm = codec.decode(reader);
68 return sm.hasHeaders();
72 return sm.getHeaders();
76 return sm.getPayloadLocalPart();
80 return sm.getPayloadNamespaceURI();
84 return sm.hasPayload();
88 return sm.readPayloadAsSource();
92 return sm.readPayload();
96 sm
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DNotificationEmissionTest.java196 boolean sm,
269 if (sm) {
293 (prop && sm && !policyPositive) ? 2 : 3;
315 echo("...SecurityManager=" + sm + "; policy=" + policyPositive);
194 testNotificationEmission(boolean prop, Object propValue, boolean sm, boolean policyPositive) argument
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/
H A DImageFactory.java77 SampleModel sm = ccm.createCompatibleSampleModel(WIDTH, HEIGHT);
81 fillCCM(data, sm, cSpace);
123 SampleModel sm = dcm.createCompatibleSampleModel(WIDTH, HEIGHT);
128 fillDCM(raster.getDataBuffer(), sm, cSpace.getType());
131 fillDCM(raster.getDataBuffer(), sm, cSpace.getType());
134 fillDCM(raster.getDataBuffer(), sm, cSpace.getType());
137 fillDCM(raster.getDataBuffer(), sm, cSpace.getType(), 5, 5, 5);
140 fillDCM(raster.getDataBuffer(), sm, cSpace.getType(), 5, 6, 5);
155 public static void fillCCM(DataBuffer data, SampleModel sm, ColorSpace cs) { argument
169 sm
282 fillDCM(DataBuffer data, SampleModel sm, int csType, int c1Bits, int c2Bits, int c3Bits) argument
298 fillDCM(DataBuffer data, SampleModel sm, int csType) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DConnectorImpl.java219 protected void checkNativeLink(SecurityManager sm, String os) { argument
222 sm.checkLink("saproc");
225 sm.checkLink("sawindbg");
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/
H A DXMLSignatureFactory.java482 * @param sm the signature method
493 SignatureMethod sm, List references);
499 * @param sm the signature method
507 * @throws NullPointerException if <code>cm</code>, <code>sm</code>, or
511 SignatureMethod sm, List references, String id);
492 newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references) argument
510 newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references, String id) argument
/openjdk7/jdk/src/share/classes/java/net/
H A DURL.java370 SecurityManager sm = System.getSecurityManager();
371 if (sm != null) {
373 checkSpecifyHandler(sm);
517 SecurityManager sm = System.getSecurityManager();
518 if (sm != null) {
519 checkSpecifyHandler(sm);
648 private void checkSpecifyHandler(SecurityManager sm) { argument
649 sm.checkPermission(SecurityConstants.SPECIFY_HANDLER_PERMISSION);
1011 SecurityManager sm = System.getSecurityManager();
1012 if (p.type() != Proxy.Type.DIRECT && sm !
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/
H A DTCPTransport.java285 SecurityManager sm = System.getSecurityManager();
286 if (sm == null) {
294 h.checkAcceptPermission(sm, acc);
336 SecurityManager sm = System.getSecurityManager();
337 if (sm != null) {
338 sm.checkListen(port);
638 void checkAcceptPermission(SecurityManager sm, argument
645 if (sm != cacheSecurityManager) {
649 cacheSecurityManager = sm;
657 sm
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DSctpNet.java115 SecurityManager sm = System.getSecurityManager();
118 set.add(getRevealedLocalAddress(sa, sm));
124 SecurityManager sm)
126 if (sm == null || sa == null)
147 sm.checkConnect(ia.getAddress().getHostAddress(), -1);
123 getRevealedLocalAddress(SocketAddress sa, SecurityManager sm) argument

Completed in 1792 milliseconds

12