/openjdk7/jdk/src/share/sample/nio/file/ |
H A D | Copy.java | 63 * Copy source file to target location. If {@code prompt} is true then 64 * prompt user to overwrite target if it exists. The {@code preserve} 67 static void copyFile(Path source, Path target, boolean prompt, boolean preserve) { argument 71 if (!prompt || Files.notExists(target) || okayToOverwrite(target)) { 73 Files.copy(source, target, options); 85 private final Path target; field in class:Copy.TreeCopier 89 TreeCopier(Path source, Path target, boolean prompt, boolean preserve) { argument 91 this.target = target; [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_DrawingSurface.c | 58 * Lock the surface of the target component for native rendering. 75 jobject target, peer; local 86 target = ds->target; 88 /* Make sure the target is a java.awt.Component */ 90 if (!(*env)->IsInstanceOf(env, target, componentClass)) { 102 /* Get the peer of the target component */ 103 peer = (*env)->GetObjectField(env, target, componentIDs.peer); 126 jobject target, peer; local 141 target 200 jobject target, peer; local 328 awt_GetDrawingSurface(JNIEnv* env, jobject target) argument 391 jobject target = NULL; local [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | CopyMoveHelper.java | 33 * Helper class to support copying or moving files when the source and target 97 * Simple copy for use when source and target are associated with different 100 static void copyToForeignTarget(Path source, Path target, argument 115 // delete target if it exists and REPLACE_EXISTING is specified 117 Files.deleteIfExists(target); 118 } else if (Files.exists(target)) 119 throw new FileAlreadyExistsException(target.toString()); 123 Files.createDirectory(target); 126 Files.copy(in, target); 130 // copy basic attributes to target 154 moveToForeignTarget(Path source, Path target, CopyOption... options) argument [all...] |
/openjdk7/jdk/test/java/util/PluggableLocale/ |
H A D | CurrencyNameProviderTest.java | 49 for (Locale target: availloc) { 51 OpenListResourceBundle rb = (OpenListResourceBundle)LocaleData.getCurrencyNames(target); 52 boolean jreHasBundle = rb.getLocale().equals(target); 65 // the localized symbol for the target locale 66 String currencyresult = c.getSymbol(target); 68 // the localized name for the target locale 69 String nameresult = c.getDisplayName(target); 74 if (providerloc.contains(target)) { 75 providerscurrency = cnp.getSymbol(c.getCurrencyCode(), target); 76 providersname = cnp.getDisplayName(c.getCurrencyCode(), target); [all...] |
H A D | NumberFormatProviderTest.java | 64 for (Locale target: availloc) { 66 ResourceBundle rb = LocaleData.getNumberFormatData(target); 67 boolean jreSupportsLocale = jreloc.contains(target); 78 String resultCur = getPattern(NumberFormat.getCurrencyInstance(target)); 79 String resultInt = getPattern(NumberFormat.getIntegerInstance(target)); 80 String resultNum = getPattern(NumberFormat.getNumberInstance(target)); 81 String resultPer = getPattern(NumberFormat.getPercentInstance(target)); 88 if (providerloc.contains(target)) { 89 NumberFormat dfCur = nfp.getCurrencyInstance(target); 93 NumberFormat dfInt = nfp.getIntegerInstance(target); [all...] |
H A D | CollatorProviderTest.java | 63 for (Locale target: availloc) { 65 ResourceBundle rb = LocaleData.getCollationData(target); 66 boolean jreSupportsLocale = jreloc.contains(target); 69 Collator result = Collator.getInstance(target); 73 if (providerloc.contains(target)) { 74 providersResult = cp.getInstance(target); 89 checkValidity(target, jresResult, providersResult, result, jreSupportsLocale);
|
H A D | DecimalFormatSymbolsProviderTest.java | 61 for (Locale target: availloc) { 63 ResourceBundle rb = LocaleData.getNumberFormatData(target); 64 boolean jreSupportsLocale = jreloc.contains(target); 77 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(target); 85 if (providerloc.contains(target)) { 86 providersDfs = dfsp.getInstance(target); 92 checkValidity(target, jres[i], providers[i], result[i], jreSupportsLocale);
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | HToolkit.java | 62 public WindowPeer createWindow(Window target) argument 67 public FramePeer createFrame(Frame target) argument 72 public DialogPeer createDialog(Dialog target) argument 77 public ButtonPeer createButton(Button target) argument 82 public TextFieldPeer createTextField(TextField target) argument 87 public ChoicePeer createChoice(Choice target) argument 92 public LabelPeer createLabel(Label target) argument 97 public ListPeer createList(List target) argument 102 public CheckboxPeer createCheckbox(Checkbox target) argument 107 public ScrollbarPeer createScrollbar(Scrollbar target) argument 112 createScrollPane(ScrollPane target) argument 117 createTextArea(TextArea target) argument 122 createFileDialog(FileDialog target) argument 127 createMenuBar(MenuBar target) argument 132 createMenu(Menu target) argument 137 createPopupMenu(PopupMenu target) argument 142 createMenuItem(MenuItem target) argument 147 createCheckboxMenuItem(CheckboxMenuItem target) argument 158 createRobot(Robot target, GraphicsDevice screen) argument 168 createTrayIcon(TrayIcon target) argument 173 createSystemTray(SystemTray target) argument 352 createDesktopPeer(Desktop target) argument [all...] |
H A D | OrientableFlowLayout.java | 131 * components in the specified target container. 133 * @param target the component which needs to be laid out. 138 public Dimension preferredLayoutSize(Container target) { argument 140 return super.preferredLayoutSize(target); 145 int n = target.countComponents(); 147 Component c = target.getComponent(i); 158 Insets insets = target.insets();; 168 * contained in the specified target container. 170 * @param target the component which needs to be laid out. 173 public Dimension minimumLayoutSize(Container target) { argument 209 layoutContainer(Container target) argument 273 moveComponents(Container target, int x, int y, int width, int height, int colStart, int colEnd) argument [all...] |
H A D | HeadlessToolkit.java | 72 public CanvasPeer createCanvas(Canvas target) { argument 73 return (CanvasPeer)createComponent(target); 76 public PanelPeer createPanel(Panel target) { argument 77 return (PanelPeer)createComponent(target); 84 public WindowPeer createWindow(Window target) argument 89 public FramePeer createFrame(Frame target) argument 94 public DialogPeer createDialog(Dialog target) argument 99 public ButtonPeer createButton(Button target) argument 104 public TextFieldPeer createTextField(TextField target) argument 109 public ChoicePeer createChoice(Choice target) argument 114 createLabel(Label target) argument 119 createList(List target) argument 124 createCheckbox(Checkbox target) argument 129 createScrollbar(Scrollbar target) argument 134 createScrollPane(ScrollPane target) argument 139 createTextArea(TextArea target) argument 144 createFileDialog(FileDialog target) argument 149 createMenuBar(MenuBar target) argument 154 createMenu(Menu target) argument 159 createPopupMenu(PopupMenu target) argument 164 createMenuItem(MenuItem target) argument 169 createCheckboxMenuItem(CheckboxMenuItem target) argument 180 createRobot(Robot target, GraphicsDevice screen) argument 190 createTrayIcon(TrayIcon target) argument 195 createSystemTray(SystemTray target) argument 468 createDesktopPeer(Desktop target) argument [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | awt_DrawingSurface.m | 36 jobject target = ds->target; 40 jobject peer = JNFGetObjectField(env, target, jf_peer); 60 dsi->bounds.x = JNFGetIntField(env, target, jf_x); 61 dsi->bounds.y = JNFGetIntField(env, target, jf_y); 62 dsi->bounds.width = JNFGetIntField(env, target, jf_width); 63 dsi->bounds.height = JNFGetIntField(env, target, jf_height); 91 (JNIEnv* env, jobject target) 95 // TODO: "target instanceof" check 98 ds->target [all...] |
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jutils.c | 105 #define FMEMZERO(target,size) MEMZERO(target,size) 109 #define FMEMZERO(target,size) _fmemset((void FAR *)(target), 0, (size_t)(size)) 169 jzero_far (void FAR * target, size_t bytestozero) argument 174 FMEMZERO(target, bytestozero); 176 register char FAR * ptr = (char FAR *) target;
|
/openjdk7/jdk/test/java/awt/Toolkit/Headless/ExceptionContract/ |
H A D | ExceptionContract.java | 117 protected DesktopPeer createDesktopPeer(Desktop target) throws HeadlessException { argument 122 protected ButtonPeer createButton(Button target) throws HeadlessException { argument 127 protected TextFieldPeer createTextField(TextField target) throws HeadlessException { argument 132 protected LabelPeer createLabel(Label target) throws HeadlessException { argument 137 protected ListPeer createList(List target) throws HeadlessException { argument 142 protected CheckboxPeer createCheckbox(Checkbox target) throws HeadlessException { argument 147 protected ScrollbarPeer createScrollbar(Scrollbar target) throws HeadlessException { argument 152 protected ScrollPanePeer createScrollPane(ScrollPane target) throws HeadlessException { argument 157 protected TextAreaPeer createTextArea(TextArea target) throws HeadlessException { argument 162 protected ChoicePeer createChoice(Choice target) throw argument 167 createFrame(Frame target) argument 172 createCanvas(Canvas target) argument 177 createPanel(Panel target) argument 182 createWindow(Window target) argument 187 createDialog(Dialog target) argument 192 createMenuBar(MenuBar target) argument 197 createMenu(Menu target) argument 202 createPopupMenu(PopupMenu target) argument 207 createMenuItem(MenuItem target) argument 212 createFileDialog(FileDialog target) argument 217 createCheckboxMenuItem(CheckboxMenuItem target) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ |
H A D | Internalizer.java | 115 // start by the inherited target 116 Node target = inheritedTarget; 139 target = forest.get(wsdlLocation); 141 if (target == null) { 147 //if the target node is xs:schema, declare the jaxb version on it as latter on it will be 150 Element element = DOMUtil.getFirstElementChild(target); 173 targetNodes = evaluateXPathMultiNode(bindings, target, bindings.getAttribute("node"), new NamespaceContextImpl(bindings)); 178 if (isGlobalBinding(bindings) && !isWSDLDefinition(target) && isTopLevelBinding(bindings.getParentNode())) { 179 targetNodes = getWSDLDefintionNode(bindings, target); 182 //if target i 213 insertBinding(@otNull Element bindings, @NotNull Node target) argument 317 getWSDLDefintionNode(Node bindings, Node target) argument 334 isWSDLDefinition(Node target) argument 381 evaluateXPathNode(Node bindings, Node target, String expression, NamespaceContext namespaceContext) argument 409 evaluateXPathMultiNode(Node bindings, Node target, String expression, NamespaceContext namespaceContext) argument 471 moveUnder(Element decl, Element target) argument 567 refineSchemaTarget(Element target) argument 583 refineWSDLTarget(Element target) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | SWITCH.java | 86 * @param target the default target 90 InstructionHandle target, int max_gap) { 95 instruction = new TABLESWITCH(match, targets, target); 100 fillup(max_gap, target); 102 instruction = new TABLESWITCH(this.match, this.targets, target); 105 instruction = new LOOKUPSWITCH(this.match, this.targets, target); 110 InstructionHandle target) { 111 this(match, targets, target, 1); 114 private final void fillup(int max_gap, InstructionHandle target) { argument 89 SWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target, int max_gap) argument 109 SWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/logging/ |
H A D | MemoryHandler.java | 35 * contents to a target <tt>Handler</tt>, which will typically publish 67 * <li> java.util.logging.MemoryHandler.target 68 * specifies the name of the target <tt>Handler </tt> class. 79 private Handler target; field in class:MemoryHandler 112 name = manager.getProperty("java.util.logging.MemoryHandler.target"); 114 target = (Handler) clz.newInstance(); 135 * @param target the Handler to which to publish output. 141 public MemoryHandler(Handler target, int size, Level pushLevel) { argument 142 if (target == null || pushLevel == null) { 151 this.target [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WChoicePeer.java | 40 FontMetrics fm = getFontMetrics(((Choice)target).getFont()); 41 Choice c = (Choice)target; 81 WChoicePeer(Choice target) { argument 82 super(target); 88 Choice opt = (Choice)target; 101 Window parentWindow = SunToolkit.getContainingWindow((Component)target); 122 Window parentWindow = SunToolkit.getContainingWindow((Component)target); 135 final Choice c = (Choice)target; 146 Choice c = (Choice)target;
|
H A D | WPrintDialogPeer.java | 47 WPrintDialogPeer(WPrintDialog target) { argument 48 super(target); 61 WToolkit.targetDisposedPeer(target, this); 70 ((WPrintDialog)target).setRetVal(_show()); 76 ((WPrintDialog)target).hide(); 85 window.modalDisable((Dialog)target, hwnd); 87 window.modalEnable((Dialog)target); 95 window.modalDisable((Dialog)target, hwnd); 101 window.modalEnable((Dialog)target);
|
H A D | WTextComponentPeer.java | 43 setBackground(((TextComponent)target).getBackground()); 53 WTextComponentPeer(TextComponent target) { argument 54 super(target); 58 TextComponent tc = (TextComponent)target; 100 postEvent(new TextEvent(target, TextEvent.TEXT_VALUE_CHANGED));
|
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | FillRect.java | 115 FillRect target; field in class:FillRect.TraceFillRect 117 public TraceFillRect(FillRect target) { argument 118 super(target.getSourceType(), 119 target.getCompositeType(), 120 target.getDestType()); 121 this.target = target; 131 tracePrimitive(target); 132 target.FillRect(sg2d, dest, x, y, w, h);
|
H A D | ScaledBlit.java | 130 ScaledBlit target; field in class:ScaledBlit.TraceScaledBlit 132 public TraceScaledBlit(ScaledBlit target) { argument 133 super(target.getSourceType(), 134 target.getCompositeType(), 135 target.getDestType()); 136 this.target = target; 150 tracePrimitive(target); 151 target.Scale(src, dst, comp, clip,
|
H A D | TransformBlit.java | 133 TransformBlit target; field in class:TransformBlit.TraceTransformBlit 135 public TraceTransformBlit(TransformBlit target) { argument 136 super(target.getSourceType(), 137 target.getCompositeType(), 138 target.getDestType()); 139 this.target = target; 152 tracePrimitive(target); 153 target.Transform(src, dst, comp, clip, at, hint,
|
/openjdk7/jdk/make/common/internal/ |
H A D | NativeCompileRules.gmk | 46 @$(prep-target) 54 @$(prep-target) 74 @$(prep-target) 79 @$(prep-target) 111 # The compile line for the current target 116 @$(prep-target) 131 @$(prep-target) 171 @$(prep-target) 174 @$(prep-target) 182 @$(prep-target) [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | RegularExpression.java | 322 * where in target text a group matched with methods of a <code>Match</code> instance 329 * and target text is 666 * Checks whether the <var>target</var> text <strong>contains</strong> this pattern or not. 668 * @return true if the target is matched to this regular expression. 670 public boolean matches(char[] target) { argument 671 return this.matches(target, 0, target .length , (Match)null); 675 * Checks whether the <var>target</var> text <strong>contains</strong> this pattern 680 * @return true if the target is matched to this regular expression. 682 public boolean matches(char[] target, in argument 692 matches(char[] target, Match match) argument 706 matches(char[] target, int start, int end, Match match) argument 856 matches(String target) argument 868 matches(String target, int start, int end) argument 878 matches(String target, Match match) argument 891 matches(String target, int start, int end, Match match) argument 1444 matchAnchor(ExpressionTarget target, Op op, Context con, int offset, int opts) argument 1535 getPreviousWordType(ExpressionTarget target, int begin, int end, int offset, int opts) argument 1543 getWordType(ExpressionTarget target, int begin, int end, int offset, int opts) argument 1555 matches(CharacterIterator target) argument 1566 matches(CharacterIterator target, Match match) argument 1759 private String target; field in class:RegularExpression.StringTarget 1761 StringTarget(String target) argument 1765 resetTarget(String target) argument 1793 char[] target; field in class:RegularExpression.CharArrayTarget 1795 CharArrayTarget(char[] target) argument 1799 resetTarget(char[] target) argument 1885 CharacterIterator target; field in class:RegularExpression.CharacterIteratorTarget 1887 CharacterIteratorTarget(CharacterIterator target) argument 1891 resetTarget(CharacterIterator target) argument 2025 ExpressionTarget target; field in class:RegularExpression.Context 2047 reset(CharacterIterator target, int start, int limit, int nofclosures) argument 2060 reset(String target, int start, int limit, int nofclosures) argument 2073 reset(char[] target, int start, int limit, int nofclosures) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_PopupMenu.cpp | 73 jobject target = NULL; local 81 target = env->GetObjectField(self, AwtObject::targetID); 82 JNI_CHECK_NULL_GOTO(target, "null target", done); 91 env->DeleteLocalRef(target); 100 env->DeleteLocalRef(target); 105 env->DeleteLocalRef(target); 115 * as the event's target. 194 jobject target = p->GetTarget(env); local 195 BOOL isTrayIconPopup = env->GetBooleanField(target, isTrayIconPopupI 212 jobject target = GetTarget(env); local 230 jobject target = GetTarget(env); local 256 jobject target = GetTarget(env); local [all...] |