/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 16 line-by-line syntax: strip comments (as long as "#" is your 18 escaping the newline (ie. backslash at end of line), strip 41 strip from "#" to end-of-line, as well as any whitespace 44 strip leading whitespace from each line before returning it 46 strip trailing whitespace (including line terminator!) from 60 strip leading whitespace from lines that are joined to their 63 Note that since 'rstrip_ws' can strip the trailing newline, the 193 # strip the comment, strip whitespace before it, and 221 if line.strip() == "" [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/ |
_tnhelper.py | 66 cmd_str.strip(self.tx_cmd_separator) 80 ret_text = ret_text.strip(self.tx_cmd_separator + self.rx_cmd_separator + self.prompt)
|
/build/tools/ |
parsedeps.py | 95 line = line.strip() 99 pos = pos[1:].strip() 100 tgt = tgt.strip() 104 tgt = tgt.strip() 105 prereq = prereq.strip() 112 if not line.strip():
|
/external/autotest/client/bin/ |
xen.py | 149 args = open('/proc/cmdline', 'r').readline().strip() 169 version = line[start:].strip() + "-xen" 183 xenguest = line[start:].strip() 199 version = line[start:].strip() 202 sublevel = line[start:].strip() 205 extraversion = line[start:].strip()
|
/external/autotest/client/cros/cellular/wardmodem/ |
at_channel_unittest.py | 68 self.assertEqual(payload.strip(), received_command.strip()) 78 self.assertEqual(payload.strip(), 79 received_command.strip('$$').strip('##')) 90 self._mox_task_loop.post_task(callback, payload.strip())
|
/external/clang/docs/tools/ |
dump_format_style.py | 37 self.comment = comment.strip() 54 self.comment = comment.strip() 63 self.comment = comment.strip() 71 self.comment = comment.strip() 80 self.comment = comment.strip() 109 line = line.strip()
|
/external/v8/test/mjsunit/ |
fun-name.js | 28 function strip(s) { function 32 assertEquals('function(){}', strip((function () { }).toString())); 33 assertEquals('functionanonymous(){}', strip(new Function().toString()));
|
/external/v8/test/webkit/ |
testcfg.py | 70 flags += match.strip().split() 77 files_list += files_match.group(1).strip().split() 129 if line.startswith("#") or not line.strip(): continue 130 yield line.strip() 134 if self._IgnoreLine(line.strip()): continue 135 yield line.strip()
|
/external/v8/tools/release/ |
search_related_commits.py | 78 git_working_dir, git_args(start_hash), verbose).strip() 84 git_working_dir, git_args(commit_position), verbose).strip() 94 git_working_dir, git_args(title), verbose).strip() 120 return commits_between.strip() 156 return pre_text + text_to_print.strip() 170 options.verbose)).strip()
|
/system/core/healthd/ |
Android.mk | 37 ifeq ($(strip $(BOARD_CHARGER_DISABLE_INIT_BLANK)),true) 41 ifeq ($(strip $(BOARD_CHARGER_ENABLE_SUSPEND)),true) 49 ifeq ($(strip $(BOARD_CHARGER_ENABLE_SUSPEND)),true)
|
/toolchain/binutils/binutils-2.25/binutils/testsuite/config/ |
default.exp | 51 if ![info exists STRIP] then { 52 set STRIP [findfile $base_dir/strip-new $base_dir/strip-new [transform strip]]
|
/external/llvm/lib/Support/ |
regengine.inc | 316 switch (OP(m->g->strip[es])) { 319 es += OPND(m->g->strip[es]); 322 while (OP(m->g->strip[es]) != O_CH) 323 es += OPND(m->g->strip[es]); 329 switch (OP(m->g->strip[ss])) { 429 esub = ss + OPND(m->g->strip[ss]) - 1; 430 assert(OP(m->g->strip[esub]) == OOR1); 435 assert(OP(m->g->strip[esub]) == OOR1); 437 assert(OP(m->g->strip[esub]) == OOR2); 439 esub += OPND(m->g->strip[esub]) [all...] |
regcomp.c | 68 sop *strip; /* malloced strip */ member in struct:parse 69 sopno ssize; /* malloced strip size (allocated) */ 70 sopno slen; /* malloced strip length (used) */ 195 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); 197 if (p->strip == NULL) { 400 assert(OP(p->strip[p->pbegin[backrefnum]]) != OLPAREN); 401 assert(OP(p->strip[p->pend[backrefnum]]) != ORPAREN); 599 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); 600 assert(OP(p->strip[p->pend[i]]) == ORPAREN) [all...] |
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
engine.c | 385 switch (OP(m->g->strip[es])) { 388 es += OPND(m->g->strip[es]); 391 while (OP(m->g->strip[es]) != O_CH) 392 es += OPND(m->g->strip[es]); 398 switch (OP(m->g->strip[ss])) { 504 esub = ss + OPND(m->g->strip[ss]) - 1; 505 assert(OP(m->g->strip[esub]) == OOR1); 510 assert(OP(m->g->strip[esub]) == OOR1); 512 assert(OP(m->g->strip[esub]) == OOR2); 514 esub += OPND(m->g->strip[esub]) [all...] |
/ndk/sources/host-tools/ndk-stack/regex/ |
engine.c | 311 switch (OP(m->g->strip[es])) { 314 es += OPND(m->g->strip[es]); 317 while (OP(m->g->strip[es]) != O_CH) 318 es += OPND(m->g->strip[es]); 324 switch (OP(m->g->strip[ss])) { 422 esub = ss + OPND(m->g->strip[ss]) - 1; 423 assert(OP(m->g->strip[esub]) == OOR1); 428 assert(OP(m->g->strip[esub]) == OOR1); 430 assert(OP(m->g->strip[esub]) == OOR2); 432 esub += OPND(m->g->strip[esub]) [all...] |
/ndk/build/core/ |
init.mk | 39 NDK_LOG := $(strip $(NDK_LOG)) 56 NDK_ROOT := $(strip $(NDK_ROOT)) 148 HOST_OS := $(strip $(HOST_OS)) 199 ifneq (,$(strip $(wildcard /bin/uname.exe))) 234 HOST_ARCH := $(strip $(HOST_ARCH)) 310 HOST_PREBUILT := $(strip $(wildcard $(HOST_TOOLS_ROOT)/bin)) 311 HOST_AWK := $(strip $(NDK_HOST_AWK)) 312 HOST_MAKE := $(strip $(NDK_HOST_MAKE)) 313 HOST_PYTHON := $(strip $(NDK_HOST_PYTHON)) 333 HOST_ECHO := $(strip $(NDK_HOST_ECHO) [all...] |
/external/autotest/client/cros/ |
cryptohome.py | 23 ignore_status=True).strip() 107 items = line.strip().split(':') 108 if items[1].strip() == 'false': 110 elif items[1].strip() == 'true': 112 elif items[1].strip().isdigit(): 113 value = int(items[1].strip()) 115 value = items[1].strip(' "')
|
/external/autotest/client/site_tests/network_EthernetStressPlug/ |
network_EthernetStressPlug.py | 57 link_status = link_file.readline().strip() 65 duplex_status = duplex_file.readline().strip() 150 val = fp.readline().strip() 213 val= int(fp.readline().strip(), 16) 388 current_line = line.strip().partition(':') 406 parameters[current_key] = current_line[2].strip() 413 parameters[current_key]+=current_line[0].strip()
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
tDomain_Elements.py | 139 element_name = f_DomainElements.readline().strip('\r\n') 140 element_name_backup = f_DomainElements_Backup.readline().strip('\r\n') 144 element_name = f_DomainElements.readline().strip('\r\n') 225 element_name = f_DomainElements.readline().strip('\r\n') 226 element_name_backup = f_DomainElements_Backup.readline().strip('\r\n') 303 element_name = f_DomainElements.readline().strip('\r\n') 304 element_name_backup = f_DomainElements_Backup.readline().strip('\r\n')
|
tDomain_rename.py | 136 domain_renamed = f_domains.readline().strip('\n') 221 domain_name = f_domains.readline().strip('\n') 222 domain_backup_name = f_init_domains.readline().strip('\n') 253 domain_name = f_domains.readline().strip('\n') 254 domain_backup_name = f_init_domains.readline().strip('\n') 329 domain_name = f_domains.readline().strip('\n') 330 domain_backup_name = f_init_domains.readline().strip('\n')
|
/external/elfutils/tests/ |
Makefile.am | 78 newscn run-strip-test.sh run-strip-test2.sh \ 79 run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \ 80 run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \ 81 run-strip-test9.sh run-strip-test10.sh [all...] |
/build/core/combo/ |
TARGET_linux-arm.mk | 32 ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT)),) 39 ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),) 46 ifeq ($(strip $(wildcard $(TARGET_ARCH_SPECIFIC_MAKEFILE))),) 54 ifeq ($(strip $($(combo_2nd_arch_prefix)TARGET_TOOLS_PREFIX)),) 65 $(combo_2nd_arch_prefix)TARGET_STRIP := $($(combo_2nd_arch_prefix)TARGET_TOOLS_PREFIX)strip
|
TARGET_linux-mips.mk | 32 ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT)),) 39 ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),) 46 ifeq ($(strip $(wildcard $(TARGET_ARCH_SPECIFIC_MAKEFILE))),) 54 ifeq ($(strip $($(combo_2nd_arch_prefix)TARGET_TOOLS_PREFIX)),) 65 $(combo_2nd_arch_prefix)TARGET_STRIP := $($(combo_2nd_arch_prefix)TARGET_TOOLS_PREFIX)strip
|
TARGET_linux-x86.mk | 21 ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT)),) 28 ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),) 39 ifeq ($(strip $(wildcard $(TARGET_ARCH_SPECIFIC_MAKEFILE))),) 47 ifeq ($(strip $($(combo_2nd_arch_prefix)TARGET_TOOLS_PREFIX)),) 58 $(combo_2nd_arch_prefix)TARGET_STRIP := $($(combo_2nd_arch_prefix)TARGET_TOOLS_PREFIX)strip
|
/external/chromium-trace/catapult/perf_insights/perf_insights/ |
corpus_query.py | 116 # strip() the operator in case we get " IN ", just so that it's not 119 _OperatorToString(self.op).strip(), 139 lvalue = lvalue.strip() 140 rvalue = rvalue.strip() 184 _OperatorToString(f.op).strip(), 189 # strip() the final GQL in case it's just " LIMIT 1", just so that it looks 191 return (gql.strip(), args)
|