/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
MonitorBasedPriorityBlockingQueue.java | 61 * tie-breaking to comparable elements. To use it, you would insert a 318 * if it is present. More formally, removes an element {@code e} such 359 * <p>The returned array will be "safe" in that no references to it are 462 * If the queue fits in the specified array, it is returned therein. 487 * be stored, if it is big enough; otherwise, a new array of the 545 // array comes from q.toArray() and so should have only E's in it 561 for (Iterator<E> it = q.iterator(); it.hasNext(); ) { 562 if (it.next() == x) { 563 it.remove() [all...] |
/external/icu/icu4c/source/test/intltest/ |
dtfmapts.cpp | 20 // This is an API test, not a unit test. It doesn't test very many cases, and doesn't 21 // try to test the full functionality. It just calls each function in the class and 22 // verifies that it works on a basic level. 139 DateFormat *it = DateFormat::createDateInstance(DateFormat::MEDIUM, Locale::getItalian()); local 142 if (def == NULL || fr == NULL || it == NULL || de == NULL){ 151 if( *fr == *it ) { 157 if (fr != NULL && it != NULL && de != NULL) 174 res2 = it->format(d, res2, pos2); 209 if (fr != NULL && it != NULL && de != NULL) 222 fr->setLenient(it->isLenient()) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CanonicalIterator.java | 39 * since it has not been optimized for that situation. 59 * @return gets the source: NOTE: it is the NFD form of the source originally passed in 170 // if zero or one character, just return a set with it 185 // don't permute it 247 // we have a segment, in NFD. Find all the strings that are canonically equivalent to it. 256 Iterator<String> it = basic.iterator(); local 257 while (it.hasNext()) { 258 String item = it.next(); 342 // we know that there are no strings in it 349 Iterator it = remainder.iterator() [all...] |
IdentifierInfo.java | 22 * This class analyzes a possible identifier for script and identifier status. Use it by calling setIdentifierProfile 27 * <li>call getAlternates to get cases where a character is not limited to a single script. For example, it could be 116 // Just store the zero character as a representative for comparison. Unicode guarantees it is cp - value 129 // Single script, record it. 146 for (Iterator<BitSet> it = scriptSetSet.iterator(); it.hasNext();) { 147 final BitSet next = it.next(); 150 it.remove(); 156 it.remove(); 264 // time it is created, in setIdentifier() [all...] |
ListFormatter.java | 205 Iterator<?> it = items.iterator(); local 211 return new FormattedListBuilder(it.next(), index == 0); 213 return new FormattedListBuilder(it.next(), index == 0).append(two, it.next(), index == 1); 215 FormattedListBuilder builder = new FormattedListBuilder(it.next(), index == 0); 216 builder.append(start, it.next(), index == 1); 218 builder.append(middle, it.next(), index == idx); 220 return builder.append(end, it.next(), index == count - 1);
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
AnyTransliterator.java | 24 * output script. It is named Any-T or Any-T/V, where T is the target 29 * After determining the script of each run, it transliterates from 30 * that script to the given target/variant. It does so by 81 ScriptRunIterator it = local 84 while (it.next()) { 86 if (it.limit <= allStart) continue; 88 // Try to instantiate transliterator from it.scriptCode to 90 Transliterator t = getTransliterator(it.scriptCode); 95 pos.start = it.limit; 102 boolean incremental = isIncremental && (it.limit >= allLimit) [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
AnyScriptTest.java | 159 for (UnicodeSetIterator it = new UnicodeSetIterator(set); it.next();) { 160 result.append(it.getString());
|
/external/javassist/src/main/javassist/expr/ |
Expr.java | 110 * Although the list is cached in a CtClass object, it might be 172 Iterator it = list.iterator(); local 173 while (it.hasNext()) 174 if (it.next() == c) 181 * Returns the index of the bytecode corresponding to the expression. It is
|
/external/javassist/src/main/javassist/scopedpool/ |
ScopedClassPool.java | 190 Iterator it = registeredCLs.values().iterator(); local 191 while (it.hasNext()) { 192 ScopedClassPool pool = (ScopedClassPool)it.next(); 297 // it's parent 304 // JasperLoader does NOT delegate to its parent if it cannot find them.
|
/external/javassist/src/main/javassist/util/ |
HotSwapper.java | 31 * the Java Platform Debugger Architecture (JPDA), or <it>HotSwap</code>. 32 * It works only with JDK 1.4 and later. 172 Iterator it = set.iterator(); local 175 while (it.hasNext()) { 176 Map.Entry e = (Map.Entry)it.next();
|
/external/jsoncpp/src/lib_json/ |
json_writer.cpp | 160 // slash is also legal, so I see no reason to escape it. 257 for ( Value::Members::iterator it = members.begin(); 258 it != members.end(); 259 ++it ) 261 const std::string &name = *it; 262 if ( it != members.begin() ) 336 Value::Members::iterator it = members.begin(); local 339 const std::string &name = *it; 345 if ( ++it == members.end() ) 613 Value::Members::iterator it = members.begin() local [all...] |
/external/libmtp/src/ |
playlist-spl.c | 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public 13 * This library is distributed in the hope that it will be useful, 109 * and convert it to a playlist_t object. 174 * Push a playlist_t onto the device after converting it to a .spl format 190 char tmpname[] = "/tmp/mtp-spl2pl-XXXXXX"; // must be a var since mkstemp modifies it 240 // release the memory when we're done with it 270 // check to see if we found it 284 // if not, kill the playlist and replace it 337 char* it = t; // iterator on local [all...] |
/external/ltrace/ |
library.c | 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as 12 * This program is distributed in the hope that it will be useful, but 350 struct library_symbol *it; local 352 for (it = lib->symbols; it != NULL; it = it->next) { 355 || library_symbol_clone(*nsymp, it) < 0) { 372 struct library_exported_name *it; local 418 struct library_exported_name *it; local 451 struct library_symbol *it = start_after == NULL ? lib->symbols local [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/ |
BeanMapEmitter.java | 61 for (Iterator it = allProps.keySet().iterator(); it.hasNext();) { 62 String name = (String)it.next(); 65 it.remove();
|
/external/nist-sip/java/gov/nist/core/ |
DuplicateNameValueList.java | 37 * The parsing and encoding logic for it is the same as that of NameValueList. Only the HashMap 149 * Do a lookup on a given name and return value associated with it. 191 Iterator<NameValue> it = this.nameValueMap.values().iterator(); local 192 while (it.hasNext()) { 193 retval.set((NameValue) ((NameValue) it.next()).clone());
|
NameValueList.java | 170 * Do a lookup on a given name and return value associated with it. 218 Iterator<NameValue> it = this.hmap.values().iterator(); local 219 while (it.hasNext()) { 220 retval.set((NameValue) ((NameValue) it.next()).clone());
|
/external/objenesis/tck/src/org/objenesis/tck/ |
TextReporter.java | 99 // HT: in case the same reporter is reused, I'm guessing that it will 106 for(Iterator it = allInstantiators.iterator(); it.hasNext();) { 107 objenesisResults.put(it.next(), new HashMap()); 162 for(Iterator it = allInstantiators.iterator(); it.hasNext();) { 163 String desc = (String) it.next(); 171 for(Iterator it = allCandidates.iterator(); it.hasNext();) { 172 String candidateDesc = (String) it.next() [all...] |
/external/openfst/src/include/fst/ |
bi-table.h | 48 // // Lookup integer ID from entry. If it doesn't exist and 'insert' 49 // / is true, then add it. Otherwise return -1. 90 if (insert) { // store and assign it a new ID 172 typename KeyHashSet::const_iterator it = keys_.find(kCurrentKey); local 173 if (it == keys_.end()) { // T not found 174 if (insert) { // store and assign it a new ID 183 return *it; 271 // It is passed a function object FP that should fingerprint entries 299 if (insert) { // store and assign it a new ID 376 if (insert) { // store and assign it a new I 386 typename KeyHashSet::const_iterator it = keys_.find(kCurrentKey); local 510 typename unordered_map<T, I, F>::iterator it = local [all...] |
flags.h | 86 typename std::map< string, FlagDescription<T> >::const_iterator it = local 88 return it != flag_table_.end() ? it->second : 0; 129 for (typename std::map< string, FlagDescription<T> >::const_iterator it = 131 it != flag_table_.end(); 132 ++it) { 133 const string &name = it->first; 134 const FlagDescription<T> &desc = it->second; 143 FlagDescription<T> >::const_iterator it = 145 it != flag_table_.end() [all...] |
relabel.h | 83 typename unordered_map<Label, Label>::iterator it = local 85 if (it != input_map.end()) { 86 if (it->second == kNoLabel) { 92 arc.ilabel = it->second; 96 it = output_map.find(arc.olabel); 97 if (it != output_map.end()) { 98 if (it->second == kNoLabel) { 104 arc.olabel = it->second; 349 typename unordered_map<Label, Label>::iterator it = local 351 if (it != input_map_.end()) { arc.ilabel = it->second; 356 typename unordered_map<Label, Label>::iterator it = local [all...] |
synchronize.h | 108 typename StringSet::iterator it = string_set_.begin(); local 109 for (; it != string_set_.end(); ++it) 110 strings.push_back(*it); 212 typename StringSet::iterator it = string_set_.find(s); local 213 if (it != string_set_.end()) { 215 return (*it);
|
/external/parameter-framework/bindings/c/ |
ParameterFramework.cpp | 75 * for it to log. This function provide a reference to a string that 204 // Create criterion and add it to the pfw 251 pfw::Criteria::const_iterator it = criteria.find(name); local 252 return it == criteria.end() ? NULL : it->second; 292 return status.failure("Can not get criterion " + string(name) + " as it does not exist");
|
/external/parameter-framework/parameter/ |
ConfigurableDomains.cpp | 141 "\" because it already exists and overwrite was not requested."; 321 std::set<const CConfigurableElement*>::const_iterator it; local 323 for (it = configurableElementSet.begin(); it != configurableElementSet.end(); ++it) { 325 const CConfigurableElement* pConfigurableElement = *it; 345 std::set<const CConfigurableElement*>::const_iterator it; local 347 for (it = configurableElementSet.begin(); it != configurableElementSet.end(); ++it) { [all...] |
ConfigurableElement.cpp | 58 CXmlElement::CChildIterator it(xmlConfigurationSettingsElementContent); 68 if (!it.next(xmlChildConfigurableElementSettingsElement)) { 101 if (it.next(xmlChildConfigurableElementSettingsElement)) { 143 parameterAccessContext.setError((bSet ? "Can't set " : "Can't get ") + pathNavigator.getCurrentPath() + " because it is not a parameter"); 344 std::list<const CConfigurableElement*>::const_iterator it; local 346 for (it = rogueElementList.begin(); it != rogueElementList.end(); ++it) { 348 const CConfigurableElement* pConfigurableElement = *it; 382 ConfigurableDomainListConstIterator it; local 423 ConfigurableDomainListConstIterator it; local 450 ConfigurableDomainListConstIterator it; local [all...] |
DomainConfiguration.cpp | 52 AreaConfigurationListIterator it; local 54 for (it = _areaConfigurationList.begin(); it != _areaConfigurationList.end(); ++it) { 56 delete *it; 82 CXmlElement::CChildIterator it(xmlConfigurationSettingsElement); 86 while (it.next(xmlConfigurableElementSettingsElement)) { 119 AreaConfigurationListIterator it; local 121 for (it = _orderedAreaConfigurationList.begin(); it != _orderedAreaConfigurationList.end(); ++it) 277 AreaConfigurationListIterator it; local 345 AreaConfigurationListIterator it; local 365 AreaConfigurationListIterator it; local 381 AreaConfigurationListIterator it; local 406 AreaConfigurationListIterator it; local 442 AreaConfigurationListIterator it, itAgainst; local 498 AreaConfigurationListIterator it; local 524 AreaConfigurationListIterator it; local 546 AreaConfigurationListIterator it; local 561 AreaConfigurationListIterator it; local 580 AreaConfigurationListIterator it; local 637 AreaConfigurationListIterator it; local 686 AreaConfigurationListIterator it; local [all...] |