/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/ |
H A D | ConnectionDesc.java | 30 * Contains a PooledConnection, its state (busy, idle, expired), and idle time. 32 * Any access or update to a descriptor's state is synchronized. 46 private byte state = IDLE; // initial state field in class:ConnectionDesc 57 state = BUSY; 82 * Changes the state of a ConnectionDesc from BUSY to IDLE and 84 * @return true if state change occurred. 88 if (state == BUSY) { 89 state = IDLE; 99 * If ConnectionDesc is IDLE, change its state t [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/windows/ |
H A D | ThemeReader.java | 45 int part, int state, int x, int y, int w, int h, int stride) { 48 public static Insets getThemeMargins(String widget, int part, int state, int marginType) { argument 52 public static boolean isThemePartDefined(String widget, int part, int state) { argument 56 public static Color getColor(String widget, int part, int state, int property) { argument 60 public static int getInt(String widget, int part, int state, int property) { argument 64 public static int getEnum(String widget, int part, int state, int property) { argument 68 public static boolean getBoolean(String widget, int part, int state, int property) { argument 76 public static Point getPoint(String widget, int part, int state, int property) { argument 80 public static Dimension getPosition(String widget, int part, int state, int property) { argument 84 public static Dimension getPartSize(String widget, int part, int state) { argument 44 paintBackground(int[] buffer, String widget, int part, int state, int x, int y, int w, int h, int stride) argument 94 getThemeBackgroundContentMargins(String widget, int part, int state, int boundingWidth, int boundingHeight) argument [all...] |
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | invocationCounter.cpp | 39 // Only reset the state and don't make the method look like it's never 53 if (old_count != new_count) set(state(), new_count); 56 void InvocationCounter::set_state(State state) { argument 57 assert(0 <= state && state < number_of_states, "illegal state"); 58 int init = _init[state]; 62 _counter = (init << number_of_noncount_bits) | carry | state; 67 tty->print_cr("invocation count: up = %d, limit = %d, carry = %s, state = %s", 70 state_as_string(state())); 86 state_as_string(State state) argument 95 state_as_short_string(State state) argument 120 def(State state, int init, Action action) argument [all...] |
H A D | templateInterpreter.hpp | 50 address entry(TosState state) const; // return target address for a given tosca state 51 void set_entry(TosState state, address entry); // set target address for a given tosca state 73 address* table_for(TosState state) { return _table[state]; } argument 76 int distance_from(TosState state) { return distance_from(table_for(state)); } argument 140 static address remove_activation_early_entry(TosState state) { return _earlyret_entry.entry(state); } argument 154 trace_code(TosState state) argument 156 continuation(TosState state) argument 157 dispatch_table(TosState state) argument 159 distance_from_dispatch_table(TosState state) argument 160 normal_table(TosState state) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/ |
H A D | ClientCommunicatorAdmin.java | 77 if (state == TERMINATED) { 81 state = TERMINATED; 91 // check state 93 if (state == TERMINATED) { 95 } else if (state == FAILED) { // already failed to re-start by another thread 97 } else if (state == RE_CONNECTING) { 100 while(state == RE_CONNECTING) { 112 if (state == TERMINATED) { 114 } else if (state != CONNECTED) { 119 state 245 private int state = CONNECTED; field in class:ClientCommunicatorAdmin [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/ |
H A D | Code.java | 133 /** The current machine state (registers and stack). 135 State state; field in class:Code 213 state = new State(); 368 state.stacksize + ": " + 375 Assert.check(alive || state.stacksize == 0); 385 state.pop(ndims); 386 state.push(arrayType); 395 state.pop(1); // count 396 state.push(arrayType); 405 state 1151 entryPoint(State state) argument 1164 entryPoint(State state, Type pushed) argument 1374 Code.State state; field in class:Code.Chain 1383 Chain(int pc, Chain next, Code.State state) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ |
H A D | ValuePropertyLoader.java | 50 public void text(UnmarshallingContext.State state, CharSequence text) throws SAXException { argument 52 xacc.parse(state.target,text); 56 if(state.prev != null) { 57 if(state.prev.target instanceof JAXBElement) { 62 handleParseConversionException(state,e); 65 handleParseConversionException(state,e);
|
H A D | XsiNilLoader.java | 55 protected Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws SAXException { argument 62 onNil(state); 65 if (!(hasOtherAttributes && (state.prev.target instanceof JAXBElement))) { 86 protected void onNil(UnmarshallingContext.State state) throws SAXException { argument 97 protected void onNil(UnmarshallingContext.State state) throws SAXException { argument 99 acc.set(state.prev.target,null); 100 state.prev.nil = true; 114 protected void onNil(UnmarshallingContext.State state) { argument 116 state.target = null;
|
/openjdk7/jdk/src/share/classes/sun/net/ |
H A D | ProgressEvent.java | 48 private ProgressSource.State state; field in class:ProgressEvent 53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) { argument 60 this.state = state; 103 * Return state. 106 return state; 110 return getClass().getName() + "[url=" + url + ", method=" + method + ", state=" + state
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | State.java | 33 * <p>Represents a built in, or custom, state in Nimbus.</p> 49 * to allow this to be defined as a "state".</p> 53 * JComponent is "in this state", false otherwise. This method will be called 58 * "Indeterminate" state for JProgressBars:</p> 86 * <p>Create a new custom State. Specify the name for the state. The name should 88 * The name of the state should coincide with the name used in UIDefaults.</p> 96 * @param name a simple user friendly name for the state, such as "Indeterminate" 111 * constructs a SynthContext, it specifies the state that the component is 113 * will then take this state, and query each State instance in the style 122 * returns directly from that method after checking its state, an 159 private int state; field in class:State.StandardState 161 StandardState(int state) argument 181 toString(int state) argument [all...] |
H A D | PainterImpl.template | 37 //of ${PAINTER_NAME} to determine which region/state is being painted 41 private int state; //refers to one of the static final ints above 58 public ${PAINTER_NAME}(PaintContext ctx, int state) { 60 this.state = state; 68 //generate this entire method. Each state/bg/fg/border combo that has 70 switch(state) {
|
/openjdk7/jdk/make/tools/src/build/tools/jdwpgen/ |
H A D | Context.java | 39 int state = outer; field in class:Context 59 ctx.state = state; 66 ctx.state = state; 73 ctx.state = readingReply; 79 ctx.state = writingCommand; 94 return state == writingCommand; 98 return state == readingReply;
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkInliner.hpp | 36 static bool attempt_inline(ciMethod* target, SharkState* state);
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | SecureRandom.java | 38 * seed bytes to completely randomize the internal state of the generator 61 private byte[] state; field in class:SecureRandom 68 * state of the generator (20 bytes). Note, however, that our seed 137 if (state != null) { 138 digest.update(state); 139 for (int i = 0; i < state.length; i++) 140 state[i] = 0; 142 state = digest.digest(seed); 145 private static void updateState(byte[] state, byte[] output) { argument 151 // state( [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | ThemeReader.java | 112 public native static void paintBackground(int[] buffer, long theme, int part, int state, argument 116 int part, int state, int x, int y, int w, int h, int stride) { 119 paintBackground(buffer, getTheme(widget), part, state, x, y, w, h, stride); 125 public native static Insets getThemeMargins(long theme, int part, int state, argument 128 public static Insets getThemeMargins(String widget, int part, int state, int marginType) { argument 131 return getThemeMargins(getTheme(widget), part, state, marginType); 137 private native static boolean isThemePartDefined(long theme, int part, int state); argument 139 public static boolean isThemePartDefined(String widget, int part, int state) { argument 142 return isThemePartDefined(getTheme(widget), part, state); 148 public native static Color getColor(long theme, int part, int state, argument 115 paintBackground(int[] buffer, String widget, int part, int state, int x, int y, int w, int h, int stride) argument 151 getColor(String widget, int part, int state, int property) argument 160 getInt(long theme, int part, int state, int property) argument 163 getInt(String widget, int part, int state, int property) argument 172 getEnum(long theme, int part, int state, int property) argument 175 getEnum(String widget, int part, int state, int property) argument 184 getBoolean(long theme, int part, int state, int property) argument 187 getBoolean(String widget, int part, int state, int property) argument 208 getPoint(long theme, int part, int state, int property) argument 211 getPoint(String widget, int part, int state, int property) argument 220 getPosition(long theme, int part, int state, int property) argument 223 getPosition(String widget, int part, int state, int property) argument 233 getPartSize(long theme, int part, int state) argument 235 getPartSize(String widget, int part, int state) argument 264 getThemeBackgroundContentMargins(long theme, int part, int state, int boundingWidth, int boundingHeight) argument 266 getThemeBackgroundContentMargins(String widget, int part, int state, int boundingWidth, int boundingHeight) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaScrollRegionBorder.java | 55 JRSUIState state = JRSUIState.getInstance(); 56 state.set(Widget.FRAME_LIST_BOX); 57 return AquaPainter.<JRSUIState>create(state, 7, 7, 3, 3, 3, 3); 61 final State state = getState((JComponent)c); 62 painter.state.set(state); 63 painter.state.set(isFocused(c) && state == State.ACTIVE ? Focused.YES : Focused.NO);
|
H A D | AquaPainter.java | 43 static <T extends JRSUIState> AquaPainter<T> create(final T state) { argument 44 return new AquaSingleImagePainter<>(state); 47 static <T extends JRSUIState> AquaPainter<T> create(final T state, final int minWidth, final int minHeight, final int westCut, final int eastCut, final int northCut, final int southCut) { argument 48 return create(state, minWidth, minHeight, westCut, eastCut, northCut, southCut, true); 51 static <T extends JRSUIState> AquaPainter<T> create(final T state, final int minWidth, final int minHeight, final int westCut, final int eastCut, final int northCut, final int southCut, final boolean useMiddle) { argument 52 return create(state, minWidth, minHeight, westCut, eastCut, northCut, southCut, useMiddle, true, true); 55 static <T extends JRSUIState> AquaPainter<T> create(final T state, final int minWidth, final int minHeight, final int westCut, final int eastCut, final int northCut, final int southCut, final boolean useMiddle, final boolean stretchHorizontally, final boolean stretchVertically) { argument 56 return create(state, new NineSliceMetricsProvider() { 58 public NineSliceMetrics getNineSliceMetricsForState(JRSUIState state) { 64 static <T extends JRSUIState> AquaPainter<T> create(final T state, fina argument 72 T state; field in class:AquaPainter 73 AquaPainter(final JRSUIControl control, final T state) argument 99 AquaNineSlicingImagePainter(final T state) argument 103 AquaNineSlicingImagePainter(final T state, final NineSliceMetricsProvider metricsProvider) argument 134 AquaSingleImagePainter(final T state) argument 179 private final JRSUIState state; field in class:AquaPainter.RecyclableJRSUISlicedImageControl 181 RecyclableJRSUISlicedImageControl(final JRSUIControl control, final JRSUIState state, final NineSliceMetrics metrics) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | ByteToCharEUC.java | 37 private int firstByte, state; field in class:ByteToCharEUC 45 state = G0; 49 * flush out any residual data and reset the buffer state 54 if (state != G0) { 68 state = G0; 93 switch (state) { 109 state = G1; 115 state = G0; 126 if (state == G0) {
|
H A D | ByteToCharCp33722.java | 42 private int firstByte, state; field in class:ByteToCharCp33722 52 state = G0; 68 * flush out any residual data and reset the buffer state 73 if (state != G0) { 87 state = G0; 112 switch (state) { 115 state = G2; 117 state = G3; 125 state = G1; 130 state [all...] |
H A D | ByteToCharCp964.java | 44 private int firstByte, state; field in class:ByteToCharCp964 56 state = G0; 73 * flush out any residual data and reset the buffer state 78 if (state != G0) { 92 state = G0; 117 switch (state) { 120 state = G2; 132 state = G1; 137 state = G0; 156 state [all...] |
H A D | ByteToCharEUC_TW.java | 43 private byte firstByte = 0, state = G0; field in class:ByteToCharEUC_TW 54 if (state != G0) { 55 state = G0; 66 state = G0; 90 switch (state) { 96 state = G2; 99 state = G1; 114 state = G0; 122 state = G3; 132 state [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Shutdown.java | 39 /* Shutdown state */ 43 private static int state = RUNNING; field in class:Shutdown 75 * Add a new shutdown hook. Checks the shutdown state and the hook itself, 100 if (state > RUNNING) 103 if (state > HOOKS || (state == HOOKS && slot <= currentRunningHook)) 165 if (state != HOOKS) return; 170 state = FINALIZERS; 185 switch (state) { 187 state [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ |
H A D | ServerMgr.java | 71 ServerState state; 80 state = servers.get(inetAddress); 81 if (state == null) { 91 state = new ServerState(server); 92 servers.put(inetAddress, state); 96 server = state.getServer(); 99 state.oneMoreContext(); 113 ServerState state = servers.get(inetAddress); 114 int instances = state.noOfContexts(); 116 ((ExecutorService)state [all...] |
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jdhuff.h | 86 typedef struct { /* Bitreading state saved across MCUs */ 91 typedef struct { /* Bitreading working state within an MCU */ 129 * but the state struct might not be (jpeg_huff_decode needs this). 130 * CHECK_BIT_BUFFER(state,n,action); 142 #define CHECK_BIT_BUFFER(state,nbits,action) \ 144 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 146 get_buffer = (state).get_buffer; bits_left = (state).bits_left; } } 159 JPP((bitread_working_state * state, register bit_buf_type get_buffer, 180 #define HUFF_DECODE(result,state,htb [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/ |
H A D | SchemaValidatorConfiguration.java | 110 * Returns the state of a feature. 123 FeatureState state = getFeatureState(featureId); 124 if (state.isExceptional()) { 125 throw new XMLConfigurationException(state.status, featureId); 127 return state.state; 167 PropertyState state = getPropertyState(propertyId); 168 if (state.isExceptional()) { 169 throw new XMLConfigurationException(state.status, propertyId); 171 return state [all...] |