Searched refs:context (Results 226 - 250 of 854) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/beans/
H A DThreadGroupContext.java37 * context referenced by the specific {@link ThreadGroup}.
50 * @return the application-dependent context
55 ThreadGroupContext context = contexts.get(group);
56 if (context == null) {
57 context = new ThreadGroupContext();
58 contexts.put(group, context);
60 return context;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/RhinoScriptEngineProxy/src/com/sun/hotspot/igv/rhino/
H A DRhinoScriptEngine.java51 Class context = cl.loadClass("org.mozilla.javascript.Context");
54 importer = importerTopLevel.getDeclaredConstructor(context);
56 cx_evaluateString = context.getDeclaredMethod("evaluateString", new Class[]{scriptable, String.class, String.class, Integer.TYPE, Object.class});
57 context_enter = context.getDeclaredMethod("enter", new Class[0]);
58 context_exit = context.getDeclaredMethod("exit", new Class[0]);
77 // Exit from the context.
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterSurfaceData.java43 public static SurfaceData createData(PageFormat pf, long context) { argument
44 return new CPrinterSurfaceData(CPrinterGraphicsConfig.getConfig(pf), context);
47 public CPrinterSurfaceData(GraphicsConfiguration gc, long context) { argument
49 initOps(context, this.fGraphicsStates, this.fGraphicsStatesObject, gc.getBounds().width, gc.getBounds().height);
56 private native void initOps(long context, ByteBuffer byteParameters, Object[] objectParameters, int width, int height); argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DDeferredLintHandler.java47 public static DeferredLintHandler instance(Context context) { argument
48 DeferredLintHandler instance = context.get(deferredLintHandlerKey);
50 instance = new DeferredLintHandler(context);
54 protected DeferredLintHandler(Context context) { argument
55 context.put(deferredLintHandlerKey, this);
/openjdk7/jdk/src/macosx/classes/apple/applescript/
H A DAppleScriptEngine.java42 private static native Object createObjectFrom(final long context); argument
43 private static native void disposeContext(final long context); argument
101 * a factory for the engine and a fresh context.
122 * The local context for the AppleScriptEngine
124 private ScriptContext context; field in class:AppleScriptEngine
128 * this engine to be the passed factory, and sets up the engine with a fresh context
144 * The initializer populates the local context with some useful predefined variables:
156 // set up our context
193 * Return the engine's context
194 * @return this ScriptEngine's context
205 setContext(final ScriptContext context) argument
294 eval(final Reader reader, final ScriptContext context) argument
364 eval(final String script, final ScriptContext context) argument
382 scriptContextToNSDictionary(final ScriptContext context) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTableUI.java134 SynthContext context = getContext(c, ENABLED);
136 style = SynthLookAndFeel.updateStyle(context, this);
138 context.setComponentState(ENABLED | SELECTED);
143 context, ColorType.TEXT_BACKGROUND));
149 context, ColorType.TEXT_FOREGROUND));
152 context.setComponentState(ENABLED);
156 gridColor = (Color)style.get(context, "Table.gridColor");
158 gridColor = style.getColor(context, ColorType.FOREGROUND);
163 useTableColors = style.getBoolean(context,
165 useUIBorder = style.getBoolean(context,
284 paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) argument
313 paint(SynthContext context, Graphics g) argument
375 paintDropLines(SynthContext context, Graphics g) argument
509 paintGrid(SynthContext context, Graphics g, int rMin, int rMax, int cMin, int cMax) argument
562 paintCells(SynthContext context, Graphics g, int rMin, int rMax, int cMin, int cMax) argument
616 paintDraggedArea(SynthContext context, Graphics g, int rMin, int rMax, TableColumn draggedColumn, int distance) argument
674 paintCell(SynthContext context, Graphics g, Rectangle cellRect, int row, int column) argument
[all...]
H A DSynthComboBoxUI.java125 SynthContext context = getContext(comboBox, ENABLED);
127 style = SynthLookAndFeel.updateStyle(context, this);
129 padding = (Insets) style.get(context, "ComboBox.padding");
130 popupInsets = (Insets)style.get(context, "ComboBox.popupInsets");
131 useListColors = style.getBoolean(context,
133 buttonWhenNotEditable = style.getBoolean(context,
135 pressedWhenPopupVisible = style.getBoolean(context,
137 squareButton = style.getBoolean(context,
144 forceOpaque = style.getBoolean(context,
147 context
354 paint(SynthContext context, Graphics g) argument
366 paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) argument
[all...]
H A DSynthTextPaneUI.java182 void paintBackground(SynthContext context, Graphics g, JComponent c) { argument
183 context.getPainter().paintTextPaneBackground(context, g, 0, 0,
191 public void paintBorder(SynthContext context, Graphics g, int x, argument
193 context.getPainter().paintTextPaneBorder(context, g, x, y, w, h);
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/
H A DGLXGraphicsConfig.c43 * This is a globally shared context used when creating textures. When any
44 * new contexts are created, they specify this context as the "share list"
45 * context, which means any texture objects created when this shared context
46 * is current will be available to any other context.
145 "GLXGC_DestroyOGLContext: context is null");
149 // at this point, this context will be current to its scratch surface
156 // release the current context before we continue
159 if (ctxinfo->context != 0) {
160 j2d_glXDestroyContext(awt_display, ctxinfo->context);
416 GLXGC_InitOGLContext(GLXFBConfig fbconfig, GLXContext context, GLXPbuffer scratch, jint caps) argument
471 GLXContext context; local
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DInclude.java59 Stylesheet context = parser.getCurrentStylesheet();
63 if (context.checkForLoop(docToLoad)) {
72 String currLoadedDoc = context.getSystemId();
73 SourceLoader loader = context.getSourceLoader();
125 _included.setParentStylesheet(context);
126 _included.setIncludingStylesheet(context);
127 _included.setTemplateInlining(context.getTemplateInlining());
131 final int precedence = context.getImportPrecedence();
157 parser.setCurrentStylesheet(context);
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DSunVolatileImage.java67 int width, int height, Object context,
84 this.volSurfaceManager = createSurfaceManager(context, caps);
95 int width, int height, Object context,
99 width, height, context, Transparency.OPAQUE, caps, UNDEFINED);
107 int width, int height, Object context)
110 width, height, context, null);
156 protected VolatileSurfaceManager createSurfaceManager(Object context, argument
175 return new BufImgVolatileSurfaceManager(this, context);
178 return smf.createVolatileManager(this, context);
65 SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, int transparency, ImageCapabilities caps, int accType) argument
93 SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, ImageCapabilities caps) argument
106 SunVolatileImage(Component comp, int width, int height, Object context) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DLoader.java109 * Returns a set of tag names expected as possible child elements in this context.
116 * Returns a set of tag names expected as possible child elements in this context.
191 UnmarshallingContext context = state.getContext();
192 Unmarshaller.Listener listener = context.parent.getListener();
194 beanInfo.invokeBeforeUnmarshalMethod(context.parent, child, state.prev.target);
211 UnmarshallingContext context = state.getContext();
212 Unmarshaller.Listener listener = context.parent.getListener();
214 beanInfo.invokeAfterUnmarshalMethod(context.parent, child, state.target);
242 UnmarshallingContext context = UnmarshallingContext.getInstance();
243 context
[all...]
H A DScope.java44 public final UnmarshallingContext context; field in class:Scope
51 Scope(UnmarshallingContext context) { argument
52 this.context = context;
100 this.bean = (BeanT)context.getCurrentState().target;
124 this.bean = (BeanT)context.getCurrentState().target;
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/www/protocol/https/HttpsClient/
H A DServerIdentityTest.java93 context.getServerSocketFactory();
163 SSLContext context = SSLContext.getInstance("SSL");
172 context.init(kms, null, null);
174 context.getSocketFactory());
180 new ServerIdentityTest(context, keyStoreFiles[i]);
195 SSLContext context; field in class:ServerIdentityTest
197 ServerIdentityTest(SSLContext context, String keystore) argument
199 this.context = context;
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/
H A DGetInstance.java49 SSLContext context;
50 context = SSLContext.getInstance("SSL");
51 same(p, context.getProvider());
52 context = SSLContext.getInstance("SSL", "SunJSSE");
53 same(p, context.getProvider());
54 context = SSLContext.getInstance("SSL", p);
55 same(p, context.getProvider());
124 com.sun.net.ssl.SSLContext context;
125 context = com.sun.net.ssl.SSLContext.getInstance("SSL");
126 same(p, context
[all...]
/openjdk7/jdk/src/solaris/native/sun/tools/attach/
H A DLinuxVirtualMachine.c237 ChildCountContext* context = (ChildCountContext*)user_data; local
238 if (getParent(pid) == context->ppid) {
239 context->count++;
244 if (context->count == 1) {
245 context->mpid = pid;
258 ChildCountContext context; local
263 context.ppid = pid;
264 context.count = 0;
265 context.mpid = (pid_t)0;
266 forEachProcess(ChildCountCallback, (void*)&context);
305 SendQuitContext* context = (SendQuitContext*)user_data; local
320 SendQuitContext context; local
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/
H A DBsdCDebugger.java87 X86ThreadContext context = (X86ThreadContext) thread.getContext();
88 Address ebp = context.getRegisterAsAddress(X86ThreadContext.EBP);
90 Address pc = context.getRegisterAsAddress(X86ThreadContext.EIP);
94 AMD64ThreadContext context = (AMD64ThreadContext) thread.getContext();
95 Address rbp = context.getRegisterAsAddress(AMD64ThreadContext.RBP);
97 Address pc = context.getRegisterAsAddress(AMD64ThreadContext.RIP);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/windbg/
H A DWindbgCDebugger.java73 X86ThreadContext context = (X86ThreadContext) thread.getContext();
74 Address ebp = context.getRegisterAsAddress(X86ThreadContext.EBP);
76 Address pc = context.getRegisterAsAddress(X86ThreadContext.EIP);
80 AMD64ThreadContext context = (AMD64ThreadContext) thread.getContext();
81 Address rbp = context.getRegisterAsAddress(AMD64ThreadContext.RBP);
83 Address pc = context.getRegisterAsAddress(AMD64ThreadContext.RIP);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/
H A DW3CAddressingMetadataExtensionHandler.java65 public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { argument
68 return warnEmptyAction(parent, context.getLocation(e));
75 public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { argument
78 return warnEmptyAction(parent,context.getLocation(e));
85 public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { argument
88 errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/parser/
H A DXSOMParser.java63 private final ParserContext context; field in class:XSOMParser
95 context = new ParserContext(this,parser);
153 context.parse(source);
177 NGCCRuntimeEx runtime = context.newNGCCRuntime();
196 return context.getResult();
207 return new HashSet<SchemaDocument>(context.parsedDocuments.keySet());
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/apt/
H A DMessagerImpl.java48 public static MessagerImpl instance(Context context) { argument
49 MessagerImpl instance = context.get(messagerKey);
51 instance = new MessagerImpl(context);
56 private MessagerImpl(Context context) { argument
57 context.put(messagerKey, this);
58 bark = Bark.instance(context);
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DDeclarationsImpl.java54 public static Declarations instance(Context context) { argument
55 Declarations instance = context.get(declarationsKey);
57 instance = new DeclarationsImpl(context);
62 private DeclarationsImpl(Context context) { argument
63 context.put(declarationsKey, this);
64 env = AptEnv.instance(context);
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/spnego/
H A DNegotiatorImpl.java56 private GSSContext context; field in class:NegotiatorImpl
99 context = manager.createContext(serverName,
105 if (context instanceof ExtendedGSSContext) {
106 ((ExtendedGSSContext)context).requestDelegPolicy(true);
108 oneToken = context.initSecContext(new byte[0], 0, 0);
148 return context.initSecContext(token, 0, token.length);
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMRetrievalMethod.java119 public DOMRetrievalMethod(Element rmElem, XMLCryptoContext context, argument
128 boolean secVal = Utils.secureValidation(context);
140 (new DOMTransform(transformElem, context, provider));
174 public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) argument
192 (transformsElem, dsPrefix, context);
206 public Data dereference(XMLCryptoContext context) argument
209 if (context == null) {
210 throw new NullPointerException("context cannot be null");
214 * If URIDereferencer is specified in context; use it, otherwise use
217 URIDereferencer deref = context
251 dereferenceAsXMLStructure(XMLCryptoContext context) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DSynthFileChooserUI.java110 SynthContext context = getContext(c, ENABLED);
111 style.installDefaults(context);
114 c.setBorder(new UIBorder(style.getInsets(context, null)));
117 directoryIcon = style.getIcon(context, "FileView.directoryIcon");
118 fileIcon = style.getIcon(context, "FileView.fileIcon");
119 computerIcon = style.getIcon(context, "FileView.computerIcon");
120 hardDriveIcon = style.getIcon(context, "FileView.hardDriveIcon");
121 floppyDriveIcon = style.getIcon(context, "FileView.floppyDriveIcon");
123 newFolderIcon = style.getIcon(context, "FileChooser.newFolderIcon");
124 upFolderIcon = style.getIcon(context, "FileChoose
219 paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) argument
228 paint(SynthContext context, Graphics g) argument
[all...]

Completed in 120 milliseconds

1234567891011>>