Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 65) sorted by relevance

123

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DBootSector.java135 public abstract void setSectorsPerFat(long v); in setSectorsPerFat() argument
238 int v = get8(0x3 + i); in getOemName() local
239 if (v == 0) break; in getOemName()
240 b.append((char) v); in getOemName()
282 public void setBytesPerSector(int v) { in setBytesPerSector() argument
283 if (v == getBytesPerSector()) return; in setBytesPerSector()
285 switch (v) { in setBytesPerSector()
287 set16(0x0b, v); in setBytesPerSector()
324 public void setSectorsPerCluster(int v) { in setSectorsPerCluster() argument
325 if (v == getSectorsPerCluster()) return; in setSectorsPerCluster()
[all …]
DFat16BootSector.java151 public void setSectorsPerFat(long v) { in setSectorsPerFat() argument
152 if (v == getSectorsPerFat()) return; in setSectorsPerFat()
153 if (v > 0x7FFF) throw new IllegalArgumentException( in setSectorsPerFat()
156 set16(SECTORS_PER_FAT_OFFSET, (int)v); in setSectorsPerFat()
208 public void setRootDirEntryCount(int v) throws IllegalArgumentException { in setRootDirEntryCount() argument
209 if (v < 0) throw new IllegalArgumentException(); in setRootDirEntryCount()
210 if (v == getRootDirEntryCount()) return; in setRootDirEntryCount()
212 set16(ROOT_DIR_ENTRIES_OFFSET, v); in setRootDirEntryCount()
DFat32BootSector.java139 public void setSectorsPerFat(long v) { in setSectorsPerFat() argument
140 if (getSectorsPerFat() == v) return; in setSectorsPerFat()
142 set32(SECTORS_PER_FAT_OFFSET, v); in setSectorsPerFat()
DFatType.java41 final int v = (b2 << 8) | b1; in readEntry() local
44 return v & 0xFFF; in readEntry()
46 return v >> 4; in readEntry()
/tools/repohooks/rh/
Dshell_unittest.py119 for v in (None,):
120 self.assertTrue(rh.shell.boolean_shell_value(v, True))
121 self.assertFalse(rh.shell.boolean_shell_value(v, False))
123 for v in (1234, '', 'akldjsf', '"'):
124 self.assertRaises(ValueError, rh.shell.boolean_shell_value, v, True)
126 for v in ('yes', 'YES', 'YeS', 'y', 'Y', '1', 'true', 'True', 'TRUE',):
127 self.assertTrue(rh.shell.boolean_shell_value(v, True))
128 self.assertTrue(rh.shell.boolean_shell_value(v, False))
130 for v in ('no', 'NO', 'nO', 'n', 'N', '0', 'false', 'False', 'FALSE',):
131 self.assertFalse(rh.shell.boolean_shell_value(v, True))
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt488 private fun appendSourceLiteral(v: Any?, sb: StringBuilder, owner: Item): Boolean { in appendSourceLiteral()
489 if (v == null) { in appendSourceLiteral()
493 when (v) { in appendSourceLiteral()
495 sb.append(v.toString()) in appendSourceLiteral()
499 sb.append(v.toString()).append('L') in appendSourceLiteral()
503 sb.append('"').append(javaEscapeString(v)).append('"') in appendSourceLiteral()
508 v == Float.POSITIVE_INFINITY -> { in appendSourceLiteral()
512 v == Float.NEGATIVE_INFINITY -> { in appendSourceLiteral()
515 java.lang.Float.isNaN(v) -> { in appendSourceLiteral()
519 sb.append(canonicalizeFloatingPointString(v.toString()) + "f") in appendSourceLiteral()
[all …]
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Drenderer.cpp36 const char *v = (const char *) glGetString(s); in printGLString() local
37 LOGI("GL %s = %s\n", name, v); in printGLString()
156 for (auto& v : state.velocities) { in initDisplay() local
157 v = Vec2( in initDisplay()
185 Vec2& v = state.velocities[i]; in update() local
186 circle.setPosition(circle.getPosition() + Vec3(v, 0.0f)); in update()
195 v.Value(vx, vy); in update()
202 v = Vec2(vx, vy); in update()
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py208 for k, v in gathered_extras.items():
210 new_signal.extras[k] = v
215 new_signal.extras[k].insert(0, v)
249 for k, v in self.keyed_info.items():
250 if v and k not in extras:
251 extras[k] = v
252 elif v and k in extras:
255 extras[k].insert(0, v)
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_constants.py174 FREQUENCY_MAP = {v: k for k, v in CHANNEL_MAP.items()}
231 v: k
232 for k, v in N_CAPABILITIES_MAPPING.items()
311 v: k
312 for k, v in AC_CAPABILITIES_MAPPING.items()
Dhostapd.py186 pairs = ('%s=%s' % (k, v) for k, v in interface_configs.items())
192 config_pairs = ('%s=%s' % (k, v)
193 for k, v in packaged_config.items()
194 if v is not None)
Dhostapd_config.py638 for k, v in self._security.generate_dict().items():
639 conf[k] = v
645 for k, v in (bss.generate_dict()).items():
646 bss_conf[k] = v
Dhostapd_bss_settings.py49 for k, v in security_settings.items():
50 settings[k] = v
/tools/external_updater/
Dcrates_updater.py79 for v in data["versions"]:
80 version = v["num"]
81 if (not v["yanked"] and not ALPHA_BETA_RE.match(version) and
83 self._new_ver, last_id, version, int(v["id"]))):
84 last_id = int(v["id"])
86 self.download_url = "https://crates.io" + v["dl_path"]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dui_utils.py30 return ' '.join(['%s="%s"' % (k, v) for k, v in kv_pairs.items()])
91 for k, v in matcher.items():
100 match_list.append(v in node.attributes[key].value)
102 match_list.append(node.attributes[key].value == v)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRttManagerTest.py182 for k, v in target_params.items():
187 v = v.lower()
188 if network_info[k] != v:
473 for k, v in expected_caps.items():
475 asserts.assert_true(v == caps[k], "Expected %s for %s, got %s." %
476 (v, k, caps[k]))
/tools/treble/build/sandbox/
Drbe.py85 for k,v in os.environ.items():
87 prepared_env[k] = v
100 return ['%s=%s' % (k,v) for k,v in prepared_env.items()]
Drbe_action.py49 shell_env = ' '.join(['%s=%s' % (k,v) for k, v in env.items()])
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_monitor.py41 for k, v in registry.items():
43 if v == _REGISTRY[k]:
48 'with %s.' % (k, _REGISTRY[k], v))
49 _REGISTRY[k] = v
/tools/platform-compat/java/com/android/annotationvisitor/
DRepeatedAnnotationHandler.java56 for (ElementValue v : array.getElementValuesArray()) { in handleAnnotation()
57 Preconditions.checkArgument(v instanceof AnnotationElementValue); in handleAnnotation()
58 AnnotationElementValue aev = (AnnotationElementValue) v; in handleAnnotation()
/tools/asuite/atest-py2/
Datest_execution_info.py110 summary_str = ', '.join([k+':'+str(v)
111 for k, v in total_summary.items()])
135 print(', '.join([(k+':'+str(v))
136 for k, v in total_summary.items()]))
/tools/asuite/atest/
Datest_execution_info.py121 summary_str = ', '.join([k[:1]+':'+str(v)
122 for k, v in total_summary.items()])
162 print(', '.join([(k+':'+str(v))
163 for k, v in total_summary.items()]))
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt319 val v: Any = value.value() ?: value.toSource() in <lambda>() constant
320 if (v == CARRIER_PRIVILEGES_MARKER) { in <lambda>()
325 findPermissionField(codebase, v) in <lambda>()
328 val v = value.value()?.toString() ?: value.toSource() in <lambda>() constant
329 if (editDistance(CARRIER_PRIVILEGES_MARKER, v, 3) < 3) { in <lambda>()
332 … "Unrecognized permission `$v`; did you mean `$CARRIER_PRIVILEGES_MARKER`?" in <lambda>()
/tools/dexter/slicer/export/slicer/
Dbuffer.h113 size_t Push(const std::vector<T>& v) { in Push() argument
114 return Push(v.data(), v.size() * sizeof(T)); in Push()
/tools/aadevtools/dev/resource/
Dsysui_gcar_android10-qpr3-release_android11-release.txt22 …3-release remotes/aosp/android11-release -- `find . -name '*.java' | egrep -v 'test' | egrep 'pack…
102 …3-release remotes/aosp/android11-release -- `find . -name '*.java' | egrep -v 'test' | egrep 'car/…
157 …r3-release remotes/aosp/android11-release -- `find . -name '*.xml' | egrep -v '/rro/' | egrep 'res…
171 Query does not return any files: "find . -name '*.xml' | egrep -v '/rro/' | egrep 'res/values' | eg…
/tools/test/connectivity/acts_tests/tests/google/wifi/wifi6/
DWifiSoftApAcs11axTest.py89 self.chan_map = {v: k for k, v in hostapd_constants.CHANNEL_MAP.items()}

123