/external/googletest/googlemock/scripts/generator/cpp/ |
ast.py | 536 def DeclarationToParts(self, parts, needs_name_removed): 541 for i, t in enumerate(parts): 543 default = parts[i+1:] 544 name = parts[i-1].name 545 if name == ']' and parts[i-2].name == '[': 546 name = parts[i-3].name 548 parts = parts[:i-1] 551 if parts[-1].token_type == tokenize.NAME: 552 name = parts.pop().nam [all...] |
/external/v8/testing/gmock/scripts/generator/cpp/ |
ast.py | 536 def DeclarationToParts(self, parts, needs_name_removed): 541 for i, t in enumerate(parts): 543 default = parts[i+1:] 544 name = parts[i-1].name 545 if name == ']' and parts[i-2].name == '[': 546 name = parts[i-3].name 548 parts = parts[:i-1] 551 if parts[-1].token_type == tokenize.NAME: 552 name = parts.pop().nam [all...] |
/external/python/cpython3/Lib/http/ |
server.py | 153 recognizes three parts to a request: 188 The reply form of the HTTP 1.x protocol again has three parts: 663 parts = urllib.parse.urlsplit(self.path) 664 if not parts.path.endswith('/'): 667 new_parts = (parts[0], parts[1], parts[2] + '/', 668 parts[3], parts[4]) 863 head_parts.pop() # IndexError if more '..' than prior parts [all...] |
/external/tensorflow/tensorflow/tools/proto_text/ |
gen_proto_text_functions_lib.cc | 678 std::vector<string> parts = {""}; local 681 parts.resize(parts.size() + 1); 683 parts.back() += package[i]; 687 for (const auto& p : parts) { 691 for (auto it = parts.rbegin(); it != parts.rend(); ++it) {
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
pgen.go | 487 parts := varParts[n] 488 if parts == nil { 494 // Get the order the parts need to be in to represent the memory 496 sort.Sort(partsByVarOffset(parts)) 498 if dvar := createComplexVar(debugInfo, n, parts); dvar != nil { 675 func createComplexVar(debugInfo *ssa.FuncDebug, n *Node, parts []varPart) *dwarf.Var { 718 StackOffset: int32(stackOffset(slots[parts[0].slot])), 727 Ctxt.Logf("Building location list for %+v. Parts:\n", n) 728 for _, part := range parts { 733 // Given a variable that's been decomposed into multiple parts, [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
pgen.go | 487 parts := varParts[n] 488 if parts == nil { 494 // Get the order the parts need to be in to represent the memory 496 sort.Sort(partsByVarOffset(parts)) 498 if dvar := createComplexVar(debugInfo, n, parts); dvar != nil { 675 func createComplexVar(debugInfo *ssa.FuncDebug, n *Node, parts []varPart) *dwarf.Var { 718 StackOffset: int32(stackOffset(slots[parts[0].slot])), 727 Ctxt.Logf("Building location list for %+v. Parts:\n", n) 728 for _, part := range parts { 733 // Given a variable that's been decomposed into multiple parts, [all...] |
/external/devlib/devlib/utils/ |
android.py | 440 parts = [p.strip() for p in line.split()] 441 if len(parts) == 2: 442 devices.append(AdbDevice(*parts))
|
/external/v8/tools/testrunner/local/ |
execution.py | 162 parts = sancov_file.split(".") 164 parts[:-2] + 166 parts[-1:]
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
AdaptiveIconDrawableTest.java | 29 public static void L(String s, Object... parts) { 30 Log.d(TAG, (parts.length == 0) ? s : String.format(s, parts));
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
BandwidthMicroBenchMarkTest.java | 338 String[] parts = log.split("\n"); local 339 for (int i = parts.length - 1; i > 0; i--) { 340 String str = parts[i];
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
locale.py | 206 parts = formatted.split('.')
208 parts[0], seps = _group(parts[0], monetary=monetary)
211 formatted = decimal_point.join(parts)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
locale.py | 200 parts = formatted.split('.')
202 parts[0], seps = _group(parts[0], monetary=monetary)
205 formatted = decimal_point.join(parts)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/ |
pygettext.py | 296 parts = dotted_name.split('.', 1)
298 if len(parts) > 1:
301 file, pathname, description = imp.find_module(parts[0], pathlist)
308 # recursively handle the remaining name parts
309 pathname = _get_modpkg_path(parts[1], [pathname])
|
/device/linaro/bootloader/edk2/BaseTools/Scripts/ |
PatchCheck.py | 478 parts = list(pmail.walk())
479 assert(len(parts) == 1)
480 assert(parts[0].get_content_type() == 'text/plain')
481 content = parts[0].get_payload(decode=True).decode('utf-8', 'ignore')
|
/external/autotest/client/common_lib/cros/ |
autoupdater.py | 98 parts = re.search(re_pattern, update_url) 99 if not parts or len(parts.groups()) < 2: 101 return parts.groups() 689 # may persist from earlier parts of the test, or from problems
|
/external/autotest/client/common_lib/ |
software_manager.py | 340 parts = line.split() 341 if parts[0] == "ii": # only grab "installed" packages 342 installed_packages.append("%s-%s" % (parts[1], parts[2]))
|
/external/autotest/client/cros/cellular/wardmodem/ |
wardmodem.py | 287 parts = module_name.split('_') 288 parts = [x.title() for x in parts] 289 class_name = ''.join(parts)
|
/external/python/cpython2/Lib/ |
locale.py | 208 parts = formatted.split('.') 210 parts[0], seps = _group(parts[0], monetary=monetary) 213 formatted = decimal_point.join(parts) [all...] |
/external/python/cpython2/Tools/i18n/ |
pygettext.py | 295 parts = dotted_name.split('.', 1) 297 if len(parts) > 1: 300 file, pathname, description = imp.find_module(parts[0], pathlist) 307 # recursively handle the remaining name parts 308 pathname = _get_modpkg_path(parts[1], [pathname])
|
/external/python/cpython3/Lib/email/ |
feedparser.py | 111 parts = self._partial.readlines() 119 if not parts[-1].endswith('\n'): 120 self._partial.write(parts.pop()) 121 self.pushlines(parts) 371 # We saw a boundary separating two parts. Consume any 374 # body parts within such double boundaries.
|
/external/python/cpython3/Lib/ |
locale.py | 204 parts = formatted.split('.') 206 parts[0], seps = _group(parts[0], monetary=monetary) 209 formatted = decimal_point.join(parts) [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
EventRecurrence.java | 141 /** If set, validate the value of UNTIL parts. Minor performance impact. */ 554 * The rule parts are not ordered in any particular sequence. 561 * (1) Split the string at ';' boundaries to get an array of rule "parts". 581 * - allows (but ignores) X-* parts 594 String[] parts; local 596 parts = recur.toUpperCase().split(";"); 598 parts = recur.split(";"); 600 for (String part : parts) { [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsDispatchersController.java | 474 * @param parts an <code>ArrayList</code> of strings that, in order, 516 ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, 520 mImsSmsDispatcher.sendMultipartText(destAddr, scAddr, parts, sentIntents, 526 mCdmaDispatcher.sendMultipartText(destAddr, scAddr, parts, sentIntents, 530 mGsmDispatcher.sendMultipartText(destAddr, scAddr, parts, sentIntents,
|
/libcore/luni/src/test/java/libcore/java/lang/ |
StringTest.java | 482 String[] parts = input.split(" "); local 483 byte[] bytes = new byte[parts.length]; 484 for (int i = 0; i < parts.length; i++) { 485 int val = Integer.parseInt(parts[i], 16); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessageMime.java | 36 * sort the parts if needed */ 173 * @return the parts 498 * to use encoding schemes for non-text parts, it is still not clear what to do about non 519 /* We call encode on all parts, to include a tag, 650 String[] parts = partStr.split("\r\n\r\n", 2); // Split the header from the body local 655 String[] headers = parts[0].split("\r\n"); 660 if (parts.length != 2) { 711 body = parts[1]; 750 * 3) split on boundary to split into parts (or use the remaining as a part, [all...] |