/system/libvintf/ |
ManifestHal.cpp | 24 std::unordered_set<size_t> existing; local 26 if (existing.find(v.majorVer) != existing.end()) { 29 existing.insert(v.majorVer);
|
/external/toybox/tests/ |
mkfifo.test | 10 touch existing 11 testing "existing" \ 12 "mkfifo existing 2> /dev/null || [ -f existing ] && echo yes" "yes\n" "" "" 13 rm existing
|
mkdir.test | 10 touch existing 11 testing "existing" \ 12 "mkdir existing 2> /dev/null || [ -f existing ] && echo yes" "yes\n" "" "" 13 rm existing 26 mkdir existing 27 testing "-p existing" "mkdir -p existing && echo yes" "yes\n" "" "" 28 rmdir existing
|
/external/mockito/src/main/java/org/mockito/internal/util/collections/ |
IdentitySet.java | 15 for(Object existing:list) { 16 if (existing == o) {
|
/external/guice/core/src/com/google/inject/internal/ |
ScopeBindingProcessor.java | 52 ScopeBinding existing = injector.state.getScopeBinding(annotationType); local 53 if (existing != null) { 54 if (!scope.equals(existing.getScope())) { 55 errors.duplicateScopes(existing, annotationType, scope);
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/ |
histogram_set_json_output_formatter.py | 21 existing = self._output_stream.read() 23 if existing: 25 histograms += json.loads(existing) 27 logging.warn('Found existing histograms json but failed to parse it.')
|
/frameworks/rs/ |
rsProgramStore.cpp | 95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; local 96 if (existing->mHal.state.ditherEnable != ditherEnable) continue; 97 if (existing->mHal.state.colorRWriteEnable != colorMaskR) continue; 98 if (existing->mHal.state.colorGWriteEnable != colorMaskG) continue; 99 if (existing->mHal.state.colorBWriteEnable != colorMaskB) continue; 100 if (existing->mHal.state.colorAWriteEnable != colorMaskA) continue; 101 if (existing->mHal.state.blendSrc != srcFunc) continue; 102 if (existing->mHal.state.blendDst != destFunc) continue; 103 if (existing->mHal.state.depthWriteEnable != depthMask) continue; 104 if (existing->mHal.state.depthFunc != depthFunc) continue [all...] |
rsSampler.cpp | 88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; local 89 if (existing->mHal.state.magFilter != magFilter) continue; 90 if (existing->mHal.state.minFilter != minFilter ) continue; 91 if (existing->mHal.state.wrapS != wrapS) continue; 92 if (existing->mHal.state.wrapT != wrapT) continue; 93 if (existing->mHal.state.wrapR != wrapR) continue; 94 if (existing->mHal.state.aniso != aniso) continue; 95 returnRef.set(existing);
|
rsProgramRaster.cpp | 84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct]; local 85 if (existing->mHal.state.pointSprite != pointSprite) continue; 86 if (existing->mHal.state.cull != cull) continue; 87 returnRef.set(existing);
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
module.c | 125 struct module *new, *existing; local 131 existing = module_find_with_name(g_module_head, file); 132 if (existing) { 133 LOGE("found opened module %s with name\n", existing->name); 134 existing->ref_count++; 136 return existing; 158 existing = module_find_with_handle(g_module_head, new->handle); 159 if (existing) { 160 LOGE("found opened module %s with handle\n", existing->name); 161 existing->ref_count++ [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
DeclareStyleableInfo.java | 48 * as an existing one and only differs by name. 51 * @param existing The existing {@link DeclareStyleableInfo} to mirror. 53 public DeclareStyleableInfo(String styleName, DeclareStyleableInfo existing) { 56 mJavaDoc = existing.getJavaDoc(); 58 String[] parents = existing.getParents(); 64 AttributeInfo[] attrs = existing.getAttributes();
|
/external/mesa3d/src/glsl/ |
glsl_symbol_table.cpp | 87 symbol_table_entry *existing = get_entry(v->name); local 89 /* If there's already an existing function (not a constructor!) in 90 * the current scope, just update the existing entry to include 'v'. 92 if (existing->v == NULL && existing->t == NULL) { 93 existing->v = v; 97 /* If not declared at this scope, add a new entry. But if an existing 102 if (existing != NULL) 103 entry->f = existing->f; 127 symbol_table_entry *existing = get_entry(f->name) local [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
InterferenceRegisterMapper.java | 86 IntSet existing = newRegInterference.get(newReg); local 88 if (existing == null) { 91 return existing.has(oldReg); 93 return existing.has(oldReg)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
BaseLayoutRuleTest.java | 92 Set<String> existing = new HashSet<String>(); local 96 new BaseLayoutRule().collectExistingIds(node, existing); 98 assertEquals(2, existing.size()); 99 assertContainsSame(Arrays.asList("@+id/Button2", "@+id/Button012"), existing); 209 Set<String> existing = new HashSet<String>(); local 210 assertEquals("@+id/Widget01", baseLayout.findNewId("a.w.Widget", existing)); 212 existing.add("@+id/Widget01"); 213 assertEquals("@+id/Widget02", baseLayout.findNewId("a.w.Widget", existing)); 215 existing.add("@+id/Widget02"); 216 assertEquals("@+id/Widget03", baseLayout.findNewId("a.w.Widget", existing)); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidatorTest.java | 79 Set<String> existing = new HashSet<String>(); local 80 existing.add("foo1"); 81 existing.add("foo2"); 82 existing.add("foo3"); 84 ResourceNameValidator validator = ResourceNameValidator.create(true, existing,
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
Graph.java | 63 Node existing = nodes.get(a); local 64 if ( existing!=null ) return existing;
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
NativeBuffers.java | 108 NativeBuffer existing = buffers[i]; local 109 if (existing.size() < buffer.size()) { 110 existing.cleaner().clean();
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Striped.java | 359 L existing = existingRef == null ? null : existingRef.get(); 360 if (existing != null) { 361 return existing; 368 existing = existingRef == null ? null : existingRef.get(); 369 if (existing != null) { 370 return existing; 426 L existing = locks.get(index); 427 if (existing != null) { 428 return existing; 431 existing = locks.putIfAbsent(index, created) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableMap.java | 63 @Nullable ImmutableMapEntry<K, V> existing = table[tableIndex]; local 65 ImmutableMapEntry<K, V> newEntry = (existing == null) 67 : new NonTerminalMapEntry<K, V>(entry, existing); 70 checkNoConflictInBucket(key, newEntry, existing); 90 @Nullable ImmutableMapEntry<K, V> existing = table[tableIndex]; local 92 ImmutableMapEntry<K, V> newEntry = (existing == null) 94 : new NonTerminalMapEntry<K, V>(key, value, existing); 97 checkNoConflictInBucket(key, newEntry, existing);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidator.java | 44 /** Set of existing names to check for conflicts with */ 68 private ResourceNameValidator(boolean allowXmlExtension, Set<String> existing, 71 mExisting = existing; 202 * @param existing An optional set of names that already exist (and therefore will not 207 public static ResourceNameValidator create(boolean allowXmlExtension, Set<String> existing, 210 return new ResourceNameValidator(allowXmlExtension, existing, isFileType, 227 Set<String> existing = null; local 229 existing = new HashSet<String>(); 234 existing.add(item.getName()); 239 return new ResourceNameValidator(allowXmlExtension, existing, isFileType [all...] |
/art/compiler/dex/ |
verification_results.cc | 57 const VerifiedMethod* existing = nullptr; local 63 CHECK(atomic_verified_methods_.Get(ref, &existing)); 64 CHECK_NE(verified_method.get(), existing); 74 existing = it->second; 85 DCHECK_EQ(existing->GetSafeCastSet().size(), verified_method->GetSafeCastSet().size()); 87 // Let the unique_ptr delete the new verified method since there was already an existing one 88 // registered. It is unsafe to replace the existing one since the JIT may be using it to
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUManager.java | 187 OSUInfo existing = mOSUMap.get(entry.getKey()); local 190 if (existing == null) { 193 } else if (existing.getBSSID() != bssid) { 194 HSIconFileElement icon = mIconCache.getIcon(existing); 195 if (icon != null && icon.equals(existing.getIconFileElement())) { 197 existing.getOsuID()); 198 osuInfo.setIconFileElement(icon, existing.getIconFileName()); 205 // Maintain existing entries. 206 osus.put(entry.getKey(), existing); local 238 for (OSUInfo existing : mOSUMap.values()) [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkAgentInfo.java | 307 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId); local 308 if (existing == networkRequest) return false; 309 if (existing != null) { 313 networkRequest, existing, name())); 314 updateRequestCounts(REMOVE, existing); 325 NetworkRequest existing = mNetworkRequests.get(requestId); local 326 if (existing == null) return; 327 updateRequestCounts(REMOVE, existing); 329 if (existing.isRequest()) { 330 unlingerRequest(existing); [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
DataBinder.java | 117 final CallbackWrapper existing = uniqueWrappers.get(entry.getKey()); local 118 if (existing == null) { 129 .prepare(existing.getClassName(), existing.getListenerMethodName()); 147 private String makeUnique(Set<String> existing, String wanted) { 149 while (existing.contains(wanted)) { 153 existing.add(wanted);
|
/art/runtime/base/ |
bit_vector.cc | 162 uint32_t existing = storage_[idx]; local 163 uint32_t update = existing | src->GetRawStorageWord(idx); 164 if (existing != update) { 197 uint32_t existing = storage_[idx]; local 198 uint32_t update = existing | 200 if (existing != update) { 207 uint32_t existing = storage_[idx]; local 208 uint32_t update = existing | union_with->GetRawStorageWord(idx); 209 if (existing != update) {
|