/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sysconfig.py | 297 test_platform = p.communicate()[0].strip() 317 test_platform = p.communicate()[0].strip()
|
test_bytes.py | 415 self.assertEqual(b.strip(b'i'), b'mississipp') 416 self.assertEqual(b.strip(b'm'), b'ississippi') 417 self.assertEqual(b.strip(b'pi'), b'mississ') 418 self.assertEqual(b.strip(b'im'), b'ssissipp') 419 self.assertEqual(b.strip(b'pim'), b'ssiss') 420 self.assertEqual(b.strip(b), b'') 440 self.assertEqual(b.strip(), b'abc') 445 self.assertEqual(self.type2test(b'abc').strip(memoryview(b'ac')), b'b') 450 self.assertRaises(TypeError, self.type2test(b'abc').strip, u'b') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_osx_support.py | 71 return fp.read().decode('utf-8').strip() if not os.system(cmd) else None 300 This function will strip '-isysroot PATH' and '-arch ARCH' from the 323 # Strip this argument and the next one: 337 # Strip this argument and the next one: 448 '-arch' in cflags.strip()):
|
rfc822.py | 167 x = (self.dict[headerseen] + "\n " + line.strip()) 168 self.dict[headerseen] = x.strip() 180 self.dict[headerseen] = line[len(headerseen)+1:].strip() 213 rules, e.g. to strip trailing whitespace, or to recognize MH template 308 current = "%s\n %s" % (current, s.strip()) 310 current = s.strip() 314 current = s[s.find(":") + 1:].strip() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_recno.py | 236 text = text.strip() 258 text = text.strip()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
conv.py | 72 if not mo and line.strip(): 74 line.strip())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sysconfig.py | 297 test_platform = p.communicate()[0].strip() 317 test_platform = p.communicate()[0].strip()
|
test_bytes.py | 415 self.assertEqual(b.strip(b'i'), b'mississipp') 416 self.assertEqual(b.strip(b'm'), b'ississippi') 417 self.assertEqual(b.strip(b'pi'), b'mississ') 418 self.assertEqual(b.strip(b'im'), b'ssissipp') 419 self.assertEqual(b.strip(b'pim'), b'ssiss') 420 self.assertEqual(b.strip(b), b'') 440 self.assertEqual(b.strip(), b'abc') 445 self.assertEqual(self.type2test(b'abc').strip(memoryview(b'ac')), b'b') 450 self.assertRaises(TypeError, self.type2test(b'abc').strip, u'b') [all...] |
/tools/test/connectivity/acts/framework/acts/bin/ |
act.py | 122 test_case_name = elem.strip() 243 line = line.strip()
|
/device/generic/goldfish/opengl/ |
common.mk | 163 $(foreach _list_item,$(strip $1),$(info . $(_list_item))) 177 $(info . EXPORT.$(_type) := $(strip $(_emugl.$(_emugl_MODULE).export.$(_type))))\ 178 $(info . LOCAL_$(_type) := $(strip $(LOCAL_$(_type))))\
|
/external/autotest/client/bin/ |
kernel.py | 612 version = line[line.index('=') + 1:].strip() 614 patchlevel = line[line.index('=') + 1:].strip() 616 sublevel = line[line.index('=') + 1:].strip() 618 extraversion = line[line.index('=') + 1:].strip() 835 return path.strip() 854 kernel_paths = [p.strip() for p in open(kernel_list).readlines()]
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
template.py | 548 expr = expr.strip() 637 first = first[3:].strip() 649 v.strip() for v in first[:match.start()].split(',') 650 if v.strip()]) 672 var = parts[0].strip() 681 expr = parts[1].strip()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
rfc822.py | 167 x = (self.dict[headerseen] + "\n " + line.strip()) 168 self.dict[headerseen] = x.strip() 180 self.dict[headerseen] = line[len(headerseen)+1:].strip() 213 rules, e.g. to strip trailing whitespace, or to recognize MH template 308 current = "%s\n %s" % (current, s.strip()) 310 current = s.strip() 314 current = s[s.find(":") + 1:].strip() [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
rfc822.py | 167 x = (self.dict[headerseen] + "\n " + line.strip()) 168 self.dict[headerseen] = x.strip() 180 self.dict[headerseen] = line[len(headerseen)+1:].strip() 213 rules, e.g. to strip trailing whitespace, or to recognize MH template 308 current = "%s\n %s" % (current, s.strip()) 310 current = s.strip() 314 current = s[s.find(":") + 1:].strip() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rfc822.py | 167 x = (self.dict[headerseen] + "\n " + line.strip()) 168 self.dict[headerseen] = x.strip() 180 self.dict[headerseen] = line[len(headerseen)+1:].strip() 213 rules, e.g. to strip trailing whitespace, or to recognize MH template 308 current = "%s\n %s" % (current, s.strip()) 310 current = s.strip() 314 current = s[s.find(":") + 1:].strip() [all...] |
/build/core/ |
main.mk | 41 ifneq (1,$(strip $(shell expr $(MAKE_VERSION) \>= 3.81))) 198 ifeq ($(strip $(java_version)),) 252 ifeq ($(strip $(javac_version)),) 419 ifeq (true,$(strip $(enable_target_debugging))) 452 sdk_repo_goal := $(strip $(filter sdk_repo,$(MAKECMDGOALS))) 453 MAKECMDGOALS := $(strip $(filter-out sdk_repo,$(MAKECMDGOALS))) 573 ifneq ($(filter-out $(GRANDFATHERED_ALL_PREBUILT),$(strip $(notdir $(ALL_PREBUILT)))),) 583 $(foreach bad_prebuilt,$(filter-out $(GRANDFATHERED_ALL_PREBUILT),$(strip $(notdir $(ALL_PREBUILT)))),$(warning * unexpected $(bad_prebuilt) in ALL_PREBUILT)) 616 $(strip $(foreach m,$(1),\ 623 $(strip $(foreach m,$(1), [all...] |
envsetup.mk | 35 ifeq ($(strip $(TARGET_BUILD_VARIANT)),) 145 $(strip $(sort $(wildcard \ 198 ifeq (,$(strip $(OUT_DIR))) 199 ifeq (,$(strip $(OUT_DIR_COMMON_BASE))) 444 ifeq (,$(strip $(DIST_DIR)))
|
/external/selinux/policycoreutils/semanage/ |
semanage | 778 ret.append(l[i].strip(dquote)) 782 quote = [l[i].strip(dquote)] 788 quote.append(l[i].strip(dquote)) [all...] |
/ndk/build/core/ |
definitions-graph.mk | 52 -ndk-mod-filter = $(strip \ 77 -ndk-mod-filter-out = $(strip \ 172 $(eval _ndk_mod_wq := $(strip $(_ndk_mod_wq) $1)) 203 -ndk-mod-get-closure = $(strip \ 318 -ndk-mod-get-topo-list = $(strip \ 448 -ndk-mod-get-bfs-list = $(strip \ 449 $(eval _ndk_mod_wq := $(call strip-lib-prefix,$1)) \
|
/build/tools/releasetools/ |
common.py | 161 "META/mkyaffs2-extra-flags.txt").strip() 169 "META/recovery-api-version.txt").strip() 175 d["tool_extensions"] = read_helper("META/tool-extensions.txt").strip() 281 line = line.strip() 308 line = line.strip() 343 line = line.strip() 462 if args and args.strip(): 466 if args and args.strip(): 778 line = line.strip() 944 answer = raw_input("try to edit again? [y]> ").strip() [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/ |
__init__.py | 202 hopbyhop.extend([x.strip() for x in response.get('connection', '').split(',')]) 264 return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip()) for (key, value) in headers.iteritems()]) 270 parts_with_args = [tuple([x.strip().lower() for x in part.split("=", 1)]) for part in parts if -1 != part.find("=")] 271 parts_wo_args = [(name.strip().lower(), 1) for name in parts if -1 == name.find("=")] 296 authenticate = headers[headername].strip() 314 authenticate = the_rest.strip() 455 return base64.b64encode(_sha("%s%s%s" % (cnonce, iso_now, password)).digest()).strip() 507 headers['authorization'] = 'Basic ' + base64.b64encode("%s:%s" % self.credentials).strip() 518 self.challenge['qop'] = ('auth' in [x.strip() for x in qop.split()]) and 'auth' or None [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/ |
__init__.py | 132 hopbyhop.extend([x.strip() for x in response.get('connection', '').split(',')]) 195 return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip()) for (key, value) in headers.items()]) 201 parts_with_args = [tuple([x.strip().lower() for x in part.split("=", 1)]) for part in parts if -1 != part.find("=")] 202 parts_wo_args = [(name.strip().lower(), 1) for name in parts if -1 == name.find("=")] 226 authenticate = headers[headername].strip() 244 authenticate = the_rest.strip() 405 return base64.b64encode(_sha(("%s%s%s" % (cnonce, iso_now, password)).encode('utf-8')).digest()).strip() 477 headers['authorization'] = 'Basic ' + base64.b64encode(("%s:%s" % self.credentials).encode('utf-8')).strip().decode('utf-8') 488 self.challenge['qop'] = ('auth' in [x.strip() for x in qop.split()]) and 'auth' or None [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_bytes.py | 415 self.assertEqual(b.strip(b'i'), b'mississipp') 416 self.assertEqual(b.strip(b'm'), b'ississippi') 417 self.assertEqual(b.strip(b'pi'), b'mississ') 418 self.assertEqual(b.strip(b'im'), b'ssissipp') 419 self.assertEqual(b.strip(b'pim'), b'ssiss') 420 self.assertEqual(b.strip(b), b'') 440 self.assertEqual(b.strip(), b'abc') 445 self.assertEqual(self.type2test(b'abc').strip(memoryview(b'ac')), b'b') 450 self.assertRaises(TypeError, self.type2test(b'abc').strip, u'b') [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_bytes.py | 415 self.assertEqual(b.strip(b'i'), b'mississipp') 416 self.assertEqual(b.strip(b'm'), b'ississippi') 417 self.assertEqual(b.strip(b'pi'), b'mississ') 418 self.assertEqual(b.strip(b'im'), b'ssissipp') 419 self.assertEqual(b.strip(b'pim'), b'ssiss') 420 self.assertEqual(b.strip(b), b'') 440 self.assertEqual(b.strip(), b'abc') 445 self.assertEqual(self.type2test(b'abc').strip(memoryview(b'ac')), b'b') 450 self.assertRaises(TypeError, self.type2test(b'abc').strip, u'b') [all...] |
/external/autotest/client/common_lib/ |
base_packages.py | 48 repo = repo.strip() 98 repo_run_command(repo, 'touch %s' % repo_testfile).stdout.strip() 148 dest_file_path = self.run_command(mktemp).stdout.strip() 692 if not checksum_file_contents.strip(): [all...] |