/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_liteos_scann.py | 67 if re.compile(self.re_temp).match(line.strip()):
70 elif line.strip() == "[" and start_index > 0:
72 elif line.strip() == "]" and start_index > 0:
79 model_name = re.compile(self.re_temp_model).match(i.strip())
81 model_list.append(i.strip())
114 self.re_temp_loscfg, line.strip()).group()
142 if re.search(self.re_temp_module_switch, line.strip()):
144 line.strip()).group()
145 elif re.search(self.re_left_macro, line.strip()):
146 if line.strip() [all...] |
H A D | hdf_linux_scann.py | 63 obj_result = re.search(self.re_temp2_obj, lines.strip())
67 self.re_temp3_enable, lines.strip())
68 model_path = lines.split("+=")[-1].strip()
156 names = re.search(re_temp3, lines[list1_12[0]].strip()).group()
167 temp_result = re.search(re_temp3, temp_lines[i[0]].strip())
175 if j.strip().strip("\\").strip().split(".")[-1] == "o":
176 temp_list2.append(j.strip().strip("\\") [all...] |
/third_party/elfutils/tests/ |
H A D | run-strip-reloc.sh | 39 testrun ${abs_top_builddir}/src/strip -o $outfile1 -f $debugfile1 $infile || 40 { echo "*** failure strip $infile"; status=1; } 42 testrun ${abs_top_builddir}/src/strip --reloc-debug-sections -o $outfile2 \ 44 { echo "*** failure strip --reloc-debug-sections $infile"; status=1; } 73 testrun ${abs_top_builddir}/src/strip --reloc-debug-sections-only \ 75 { echo "*** failure strip --reloc-debug-sections-only $debugfile1"; \ 125 runtest ${abs_top_builddir}/src/strip 0 126 runtest ${abs_top_builddir}/src/strip.o 1 130 tempfiles strip-uncompressed.o strip [all...] |
/third_party/icu/tools/unicode/py/ |
H A D | parsescriptmetadata.py | 40 line = line.strip() 58 line = line.strip() 63 iso_code = fields[0].strip() 67 fields[2].strip(), fields[5].strip(), 69 fields[6].strip(), fields[7].strip(), fields[10].strip())
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/ |
H A D | gn_file_add_config.py | 32 elif line.strip().startswith(frameworks_model_name):
33 frameworks_model_value = line.split("=")[-1].strip()
105 str_split_list = i.strip().split(" = ")
107 temp_name = str_split_list[0].split(" ")[0].strip("=")
108 macro_definition_dict[temp_name] = date[index + 1].strip()
117 parent_path_temp = source_path.split(devices)[0].strip(
118 root).replace("\\", "/").strip("/")
121 parent_path_temp = head_path.split(devices)[0].strip(
122 root).replace("\\", "/").strip("/")
128 if values.startswith("drivers/hdf/framework") and head_path.strip() [all...] |
H A D | mk_file_add_config.py | 30 elif line.strip().startswith(file_end_flag):
32 elif line.strip().startswith(model_dir_name):
33 model_dir_value = line.split("=")[-1].strip()
101 include_model_info = model_dir_value.split("model")[-1].strip('"') + "/"
112 strip(os.path.sep).split(os.path.sep)))),
115 strip(os.path.sep).split(os.path.sep)))[:-1])}
121 split(os.path.sep)))[:-1]).strip(os.path.sep)}
126 list(filter(lambda x: x, head_path.split("model")[-1].strip(
132 if v.strip().startswith("endif"):
|
/third_party/libabigail/ |
H A D | gen-changelog.py | 35 lines = [x.strip() for x in lines if x.strip() and not x.startswith('git-svn-id')] 36 files = [x.strip() for x in files if x.strip()] 65 print(top_line.strip()) 69 print('\t%s' % lines[subject_line_index].strip()) 73 print('\t* %s:' % f.strip()) 80 print('\t%s' % l.strip()) 104 hash = lin[16:].strip()
|
/third_party/ffmpeg/libavcodec/ |
H A D | cinepak.c | 134 static int cinepak_decode_vectors (CinepakContext *s, cvid_strip *strip, in cinepak_decode_vectors() argument 146 for (y=strip->y1; y < strip->y2; y+=4) { in cinepak_decode_vectors() 150 (s->palette_video?strip->x1:strip->x1*3) + (y * s->frame->linesize[0]); in cinepak_decode_vectors() 165 for (x=strip->x1; x < strip->x2; x+=4) { in cinepak_decode_vectors() 190 p = strip->v1_codebook[*data++]; in cinepak_decode_vectors() 215 cb0 = strip->v4_codebook[*data++]; in cinepak_decode_vectors() 216 cb1 = strip in cinepak_decode_vectors() 268 cinepak_decode_strip(CinepakContext *s, cvid_strip *strip, const uint8_t *data, int size) cinepak_decode_strip() argument [all...] |
/third_party/nghttp2/ |
H A D | help2rst.py | 43 line = infile.readline().strip() 57 line = line.strip() 89 if not line.strip() and in_arg: 107 print(line.strip()) 122 print('{}'.format(format_arg_text(rest.strip()))) 132 print('{}'.format(format_arg_text(rest.strip()))) 144 rest = rest.strip() 152 subsec = line.strip()[:-1] 158 print(line.strip()) 178 if text.strip() [all...] |
/third_party/skia/third_party/externals/oboe/apps/OboeTester/scripts/ |
H A D | dsp_timing.py | 73 offsetText = getAndroidProperty(kPropertyOutputOffset).strip() 83 myvars[name.strip()] = var 91 myvars[name.strip()] = var 174 if pairs['in.mmap'].strip() != "yes": 177 if pairs['out.mmap'].strip() != "yes": 191 userName = subprocess.check_output(["adb", "shell", "whoami"]).strip() 195 userName = subprocess.check_output(["adb", "shell", "whoami"]).strip() 202 mmapPolicy = int(getAndroidProperty("aaudio.mmap_policy").strip()) 230 getAndroidProperty("ro.build.id").strip() 232 getAndroidProperty("ro.build.version.release").strip() [all...] |
/third_party/mesa3d/docs/_exts/ |
H A D | formatting.py | 11 envvar = envvar.strip().upper() 12 t = "Type: %s" % t.strip(" <>").lower() 13 default = "Default: %s" % default.strip(" ()") 23 opcode = opcode.strip().upper() 24 desc = " (%s)" % desc.strip()
|
/third_party/python/Lib/test/ |
H A D | test_launcher.py | 463 self.assertEqual("X.Y.exe -arg", data["stdout"].strip()) 470 self.assertEqual("X.Y-32.exe -arg", data["stdout"].strip()) 477 self.assertEqual("X.Y-arm64.exe -X fake_arg_for_test -arg", data["stdout"].strip()) 483 self.assertEqual("X.Y.exe -arg", data["stdout"].strip()) 489 self.assertEqual("X.Y-32.exe -arg", data["stdout"].strip()) 495 self.assertEqual("X.Y-arm64.exe -X fake_arg_for_test -arg", data["stdout"].strip()) 504 self.assertEqual(f'X.Y.exe --version', data["stdout"].strip()) 541 self.assertEqual(data1["stdout"].strip(), str(venv_exe)) 544 self.assertNotEqual(data2["stdout"].strip(), str(venv_exe)) 553 self.assertEqual(f"X.Y.exe -prearg {script} -postarg", data["stdout"].strip()) [all...] |
H A D | test_pydoc.py | 140 """.strip() 249 """.strip() 258 """.strip() 267 """.strip() 291 """.strip() 300 """.strip() 310 return out.strip() 318 return out.strip() 327 return output.strip(), loc 350 return output.strip(), lo [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | gen_format_layout.py | 171 self.name = line[0].strip() 174 self.bw = line[2].strip() 175 self.bh = line[3].strip() 176 self.bd = line[4].strip() 186 self.order = line[12].strip() 211 self.colorspace = line[13].strip().upper() 216 self.txc = line[14].strip().upper() or 'NONE'
|
/third_party/node/deps/v8/tools/release/ |
H A D | mergeinfo.py | 25 hash_to_search]).strip() 28 hash_to_search]).strip() 34 return git_execute(git_working_dir, cmd).strip().splitlines() 59 '-a']).strip() 61 return map(str.strip, branches) 106 '-r']).strip()
|
H A D | git_recipes.py | 59 for line in message.strip().splitlines(): 60 line = line.strip() 73 footers[m.group(1)] = m.group(2).strip() 87 return result.strip() 102 return self.Git("status -s -uno", **kwargs).strip() == "" 125 return map(str.strip, 151 return map(str.strip, files.splitlines()) 159 for line in self.Git("status -s -b -uno", **kwargs).strip().splitlines(): 295 return self.Git("rev-list -1 " + tag_name).strip().encode("ascii", "ignore")
|
/third_party/vk-gl-cts/external/vulkan-docs/src/xml/ |
H A D | generate-core-block.rb | 35 core_block = "\t"*2 + require.to_s.lines[0].strip + "\n" 36 alias_block = "\t"*3 + require.to_s.lines[0].strip + "\n" 59 core_block << "\t"*3 + element.to_s.strip + "\n" 69 alias_block << "\t"*4 + element.to_s.strip + "\n" 79 alias_block << "\t"*3 + require.to_s.lines[-1].strip 80 core_block << "\t"*2 + require.to_s.lines[-1].strip
|
/third_party/skia/tools/skqp/ |
H A D | make_apk_list.py | 55 m = regex.match(line.strip()) 78 for remote in check_output(['git', 'remote']).strip().split('\n'): 79 remote = remote.strip() 80 url = check_output(['git', 'remote', 'get-url', remote]).strip() 84 return check_output(['git', 'rev-parse', arg]).strip() 102 line = line.strip()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/ |
H A D | mk_file_add_config.py | 28 elif line.strip().startswith(file_end_flag):
31 elif line.strip().startswith(model_dir_name):
32 model_dir_value = line.split("=")[-1].strip()
50 'source_path').strip(".c")
85 'source_path').strip(".c")
186 include_model_info = model_dir_value.split("model")[-1].strip('"') + "/"
193 'head_file_path': '/'.join(head_path.split("model")[-1].strip(os.path.sep).split(os.path.sep)[:-1])
198 if v.strip().startswith("endif"):
|
/third_party/libabigail/src/ |
H A D | abg-viz-dot.cc | 91 std::string strip = R"_delimiter_([label="__label", height=__height, width=__width, color="black", fillcolor="white", style="filled"];)_delimiter_"; in add_node() local 93 string_replace(strip, label, __node._M_id); in add_node() 94 string_replace(strip, height, std::to_string(__node._M_y_space)); in add_node() 95 string_replace(strip, width, std::to_string(__node._M_x_space)); in add_node() 97 _M_sstream << strip << std::endl; in add_node()
|
H A D | abg-viz-common.cc | 132 std::string strip = R"(font-family="__name" font-size="__size" text-anchor="__anchor")"; in to_attribute() local 133 string_replace(strip, name, _M_face); in to_attribute() 134 string_replace(strip, size, std::to_string(_M_size)); in to_attribute() 135 string_replace(strip, anchor, anchor_to_string(__a)); in to_attribute() 138 return strip; in to_attribute()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-emoji-table.py | 22 line = line.strip() 25 rang, typ = [s.strip() for s in line.split('#')[0].split(';')[:2]] 51 print (" * %s" % (l.strip())) 88 line = line.strip()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | regcomp.c | 68 sop *strip; /* malloced strip */ member 69 sopno ssize; /* malloced strip size (allocated) */ 70 sopno slen; /* malloced strip length (used) */ 195 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp() 197 if (p->strip == NULL) { in llvm_regcomp() 400 assert(OP(p->strip[p->pbegin[backrefnum]]) != OLPAREN); in p_ere_exp() 401 assert(OP(p->strip[p->pend[backrefnum]]) != ORPAREN); in p_ere_exp() 599 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); in p_simp_re() 600 assert(OP(p->strip[ in p_simp_re() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | regcomp.c | 196 sop *strip; /* malloced strip */ member 197 sopno ssize; /* malloced strip size (allocated) */ 198 sopno slen; /* malloced strip length (used) */ 323 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp() 325 if (p->strip == NULL) { in llvm_regcomp() 528 assert(OP(p->strip[p->pbegin[backrefnum]]) != OLPAREN); in p_ere_exp() 529 assert(OP(p->strip[p->pend[backrefnum]]) != ORPAREN); in p_ere_exp() 727 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); in p_simp_re() 728 assert(OP(p->strip[ in p_simp_re() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | URLHandler.java | 166 public void guide(URLVisitor v, boolean recurse, boolean strip) { in guide() argument 168 process(v, recurse, strip, "/", file.listFiles()); in guide() 174 private void process(URLVisitor v, boolean recurse, boolean strip, String path, File[] files) { in process() argument 181 process(v, recurse, strip, path + f.getName()+ '/', f.listFiles()); in process() 184 v.visit(strip? f.getName() : path + f.getName()); in process() 226 public void guide(URLVisitor v, boolean recurse, boolean strip) { in guide() argument 242 if (strip && ix != -1) { in guide() 261 public abstract void guide(URLVisitor visitor, boolean recurse, boolean strip); in guide() argument
|