Searched refs:word (Results 1 - 25 of 59) sorted by relevance

123

/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMSafeStringPool.java64 String[] word={
83 for(i=0;i<word.length;++i)
85 int j=pool.stringToIndex(word[i]);
91 for(i=0;i<word.length;++i)
93 int j=pool.stringToIndex(word[i]);
99 for(i=0;i<word.length;++i)
102 if(!word[i].equals(w))
H A DDTMStringPool.java145 String[] word={
164 for(i=0;i<word.length;++i)
166 int j=pool.stringToIndex(word[i]);
172 for(i=0;i<word.length;++i)
174 int j=pool.stringToIndex(word[i]);
180 for(i=0;i<word.length;++i)
183 if(!word[i].equals(w))
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DConfig.java386 String word = st.sval;
387 if (word.equals("name")) {
388 name = parseStringEntry(word);
389 } else if (word.equals("library")) {
390 library = parseLibrary(word);
391 } else if (word.equals("description")) {
392 parseDescription(word);
393 } else if (word.equals("slot")) {
394 parseSlotID(word);
395 } else if (word
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DPangoFonts.java90 String word = tok.nextToken();
92 if (word.equalsIgnoreCase("italic")) {
94 } else if (word.equalsIgnoreCase("bold")) {
96 } else if (CHARS_DIGITS.indexOf(word.charAt(0)) != -1) {
98 size = Integer.parseInt(word);
106 family += word;
221 String word = tok.nextToken();
223 if (CHARS_DIGITS.indexOf(word.charAt(0)) != -1) {
225 size = Integer.parseInt(word);
/openjdk7/jdk/test/java/util/PriorityQueue/
H A DRemoveContains.java85 for (String word : words)
86 check(q.contains(word));
90 for (String word : words)
91 check(q.contains(word) ^ word.equals("fi"));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJJavaName.java78 * <b>Experimental API:</b> converts an English word into a plural form.
80 * @param word
81 * a word, such as "child", "apple". Must not be null.
82 * It accepts word concatanation forms
97 public static String getPluralForm(String word) { argument
98 // remember the casing of the word
101 // check if the word looks like an English word.
103 for(int i=0; i<word.length(); i++ ) {
104 char ch = word
205 apply(String word) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DFileHandler.java465 String word = "";
478 file = new File(word);
480 file = new File(file, word);
482 word = "";
492 word = "";
502 word = "";
505 word = word + generation;
510 word = word
[all...]
H A DLogManager.java782 String word = names[i];
784 Class clz = ClassLoader.getSystemClassLoader().loadClass(word);
788 String levs = getProperty(word + ".level");
795 System.err.println("Can't set level for " + word);
801 System.err.println("Can't load log handler \"" + word + "\"");
1170 String word = hands.substring(ix, end);
1172 word = word.trim();
1173 if (word.length() == 0) {
1176 result.add(word);
[all...]
/openjdk7/hotspot/src/share/vm/libadt/
H A Dvectset.hpp120 uint word = elem >> 5; // Get the longword offset local
121 if( word >= size ) // Beyond the last?
124 uint32 datum = data[word] & mask;// Get bit
125 data[word] |= mask; // Set bit
135 uint word = elem >> 5; // Get the longword offset local
136 if( word >= size ) return 0; // Beyond the last?
138 return data[word] & mask; // Get bit
143 uint word = elem >> 5; // Get the longword offset local
144 if( word >= size ) { // Beyond the last?
148 data[word] |
[all...]
H A Dvectset.cpp108 register uint word = elem >> 5; // Get the longword offset local
111 if( word >= size ) // Need to grow set?
113 data[word] |= mask; // Set new bit
121 register uint word = elem >> 5; // Get the longword offset local
122 if( word >= size ) // Beyond the last?
125 data[word] &= ~mask; // Clear bit
293 register uint word = elem >> 5; // Get the longword offset local
294 if( word >= size ) // Beyond the last?
297 return ((data[word] & mask))!=0; // Return the sense of the bit
308 uint32 word local
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DBits.java61 public static boolean isSetNthBit(int word, int n) { argument
62 return maskBits(word, nthBit(n)) != NoBits;
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLESwaps.h94 * casting a pointer to a word to a pointer to a byte. On
105 const le_uint16 word = 0xFF00; local
107 return *((le_uint8 *) &word);
113 * to correctly access a (16-bit) word.
115 * @param value - the word to be byte swapped
117 * @return the byte swapped word
H A DDeviceTables.cpp56 le_uint16 word = SWAPW(deltaValues[sizeIndex / count]); local
59 le_uint16 field = (word >> shift) & fieldMasks[format];
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/algorithm/
H A DBuiltInEncodingAlgorithm.java46 public void word(int start, int end); method in interface:BuiltInEncodingAlgorithm.WordListener
56 wl.word(i, s);
61 wl.word(i, cb.length());
/openjdk7/jdk/src/share/demo/applets/Blink/
H A DBlink.java107 String word = t.nextToken();
108 int w = fm.stringWidth(word) + space;
111 y += fontSize; //move word to next line if it doesn't fit
119 g.drawString(word, x, y);
120 x += w; //shift to the right to draw the next word
/openjdk7/langtools/test/tools/javac/StringsInSwitch/
H A DOneCaseSwitches.java204 for(String word : words) {
205 zeroCasesNoDefault(word, noDefaultSet, false);
213 for(String word : words) {
214 zeroCasesWithDefault(word, defaultSet, true);
237 for(String word : words) {
238 oneCaseNoDefault(word, testSet, false);
251 for(String word : words) {
252 failures += oneCaseBreakOnly(word, emptyStringSet, true);
253 failures += oneCaseDefaultBreakOnly(word, emptyStringSet, true);
/openjdk7/corba/make/common/shared/
H A DDefs.gmk61 # Checks an ALT value for spaces (should be one word),
64 $(if $(word 2,$($1)),$(warning "WARNING: Value of $1 contains a space: '$($1)', check or set ALT_$1")Check_ALT_$1,$($1))
123 $(if $(word 1, $(subst ., ,$1)),$(word 1, $(subst ., ,$1)),0)
126 $(if $(word 2, $(subst ., ,$1)),$(word 2, $(subst ., ,$1)),0)
129 $(if $(word 3, $(subst ., ,$1)),$(word 3, $(subst ., ,$1)),0)
/openjdk7/hotspot/src/share/vm/utilities/
H A DbitMap.hpp41 typedef size_t idx_t; // Type used for bit and word indices.
52 bm_word_t* _map; // First word in bitmap
60 // Return the position of bit within the word that contains it (e.g., if
64 // Return a mask that will select the specified bit, when applied to the word
68 // Return the index of the word containing the specified bit.
71 // Return the bit number of the first bit in the specified word.
72 static idx_t bit_index(idx_t word) { return word << LogBitsPerWord; } argument
74 // Return the array of bitmap words, or a specific word from it.
76 bm_word_t map(idx_t word) cons
82 set_word(idx_t word, bm_word_t val) argument
83 set_word(idx_t word) argument
84 clear_word(idx_t word) argument
[all...]
/openjdk7/langtools/test/tools/javap/
H A DT4501661.java114 for (String word: words) {
115 if (log.indexOf(word) != -1)
116 error("\"" + word + "\" unexpectedly found in output");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DMimeUtility.java92 * words start at the beginning of a whitespace separated word. Some
93 * mailers incorrectly include encoded words in the middle of a word.
525 // Check if token is an 'encoded-word' ..
526 String word;
528 word = decodeWord(s);
529 // Yes, this IS an 'encoded-word'.
531 // if the previous word was also encoded, we
538 // This is NOT an 'encoded-word'.
539 word = s;
542 word
576 encodeWord(String word) argument
603 encodeWord(String word, String charset, String encoding) argument
812 decodeInnerWords(String word) argument
853 quote(String word, String specials) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DBitSet.java65 * BitSets are packed into arrays of "words." Currently a word is
67 * The choice of word size is determined purely by performance concerns.
73 /* Used to shift left or right for a partial word mask */
107 * Given a bit index, return word index containing it.
128 // Traverse the bitset until a used word is found
169 * The last word (if there is one) must be non-zero.
408 // Case 1: One word
412 // Handle first word
419 // Handle last word
486 // Case 1: One word
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DFreeChunk.java91 long word = dbg.getAddressValue(prev);
92 return (word & 0x1L) == 0x1L;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextArea.java328 * lines. If set to true the lines will be wrapped at word
334 * @param word indicates if word boundaries should be used
340 * description: should wrapping occur at word boundaries
342 public void setWrapStyleWord(boolean word) { argument
343 boolean old = this.word;
344 this.word = word;
345 firePropertyChange("wrapStyleWord", old, word);
350 * lines. If set to true the lines will be wrapped at word
813 private boolean word; field in class:JTextArea
[all...]
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_proc.c275 char * word[6]; local
276 int nwords = split_n_str(buf, 6, word, ' ', '\0');
277 if (nwords > 5 && find_lib(ph, word[5]) == false) {
281 sscanf(word[0], "%lx", &base);
283 sscanf(word[0], "%x", &base);
285 if ((lib = add_lib_info(ph, word[5], (uintptr_t)base)) == NULL)
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DBits.java192 int word = bits[windex] & ~((1 << (x & wordmask))-1);
194 if (word != 0)
195 return (windex << wordshift) + trailingZeroBits(word);
198 word = bits[windex];

Completed in 96 milliseconds

123