/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | string_split.py | 2 print("a b".split()) 10 print("foo\nbar\n".split()) 14 "abc".split('') 19 print("abc".split("a")) 20 print("abc".split("b")) 21 print("abc".split("c")) 22 print("abc".split("z")) 23 print("abc".split("ab")) 24 print("abc".split("bc")) 25 print("abc".split("abc")) [all …]
|
A D | bytes_split.py | 2 print(b"a b".split()) 3 print(b" a b ".split(None)) 12 b"abc".split(b'') 17 print(b"abc".split(b"a")) 18 print(b"abc".split(b"b")) 19 print(b"abc".split(b"c")) 20 print(b"abc".split(b"z")) 21 print(b"abc".split(b"ab")) 22 print(b"abc".split(b"bc")) 23 print(b"abc".split(b"abc")) [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/ |
A D | bit_reader_inl_utils.h | 117 const range_t split = (range * prob) >> 8; in VP8GetBit() local 119 const int bit = (value > split); in VP8GetBit() 121 range -= split; in VP8GetBit() 122 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBit() 124 range = split + 1; in VP8GetBit() 144 const range_t split = br->range_ >> 1; in VP8GetSigned() local 165 const range_t split = (range * prob) >> 8; in VP8GetBitAlt() local 168 if (value > split) { in VP8GetBitAlt() 169 range -= split + 1; in VP8GetBitAlt() 170 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBitAlt() [all …]
|
A D | bit_writer_utils.c | 109 const int split = (bw->range_ * prob) >> 8; in VP8PutBit() local 111 bw->value_ += split + 1; in VP8PutBit() 112 bw->range_ -= split + 1; in VP8PutBit() 114 bw->range_ = split; in VP8PutBit() 127 const int split = bw->range_ >> 1; in VP8PutBitUniform() local 129 bw->value_ += split + 1; in VP8PutBitUniform() 130 bw->range_ -= split + 1; in VP8PutBitUniform() 132 bw->range_ = split; in VP8PutBitUniform()
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | ure_split.py | 11 s = r.split("a b c foobar") 15 s = r.split("a b c foobar") 19 s = r.split("a b c foobar", 1) 23 s = r.split("a b c foobar", 2) 27 s = r.split("0a3b9") 32 s = r.split(b"fooxbar")
|
A D | ure_split_empty.py | 14 s = r.split("a b c foobar") 18 s = r.split("foo") 22 s = r.split("axbc")
|
A D | ure1.py | 122 print(re.compile(r"[-a]").split("foo-bar")) 123 print(re.compile(r"[a-]").split("foo-bar")) 124 print(re.compile(r"[ax\-]").split("foo-bar")) 125 print(re.compile(r"[a\-x]").split("foo-bar")) 126 print(re.compile(r"[\-ax]").split("foo-bar"))
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/ |
A D | tiffcp-split-join.sh | 10 conjoined=o-tiffcp-split-join-conjoined.tif 11 reconjoined=o-tiffcp-split-join-reconjoined.tif 12 splitfile=o-tiffcp-split-join-split-
|
A D | tiffcp-split.sh | 9 conjoined=o-tiffcp-split-conjoined.tif 10 splitfile=o-tiffcp-split-split-
|
A D | CMakeLists.txt | 49 tiffcp-split.sh 50 tiffcp-split-join.sh 349 # tiffcp split/join 354 add_test(NAME "tiffcp-split" 357 "-DCONJOINED=${TEST_OUTPUT}/tiffcp-split-conjoined.tif" 358 "-DSPLITFILE=${TEST_OUTPUT}/tiffcp-split-split-" 361 add_test(NAME "tiffcp-split-join" 364 "-DCONJOINED=${TEST_OUTPUT}/tiffcp-split-join-conjoined.tif" 365 "-DSPLITFILE=${TEST_OUTPUT}/tiffcp-split-join-split-" 366 "-DRECONJOINED=${TEST_OUTPUT}/tiffcp-split-join-reconjoined.tif"
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/ |
A D | test_builtin.js | 258 assert(",b,c".split(","), ["","b","c"]); 259 assert("a,b,".split(","), ["a","b",""]); 261 assert("aaaa".split(), [ "aaaa" ]); 262 assert("aaaa".split(undefined, 0), [ ]); 264 assert("aaaa".split("", 0), [ ]); 265 assert("aaaa".split("", 1), [ "a" ]); 268 assert("aaaa".split("a", 2), [ "", "" ]); 270 assert("aaaa".split("aa", 0), [ ]); 271 assert("aaaa".split("aa", 1), [ "" ]); 273 assert("aaaa".split("aaa"), [ "", "a" ]); [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/ |
A D | options.awk | 572 split("", list) # clear 'list' 575 split(requires[opt] iffs[opt] enabledby[opt], r) 600 nreqs = split(requires[opt], r) 615 nreqs = split(enabledby[opt], r) 639 nreqs = split(tree[i], r) 676 nreqs = split(requires[i], r) 691 nreqs = split(iffs[i], r) 718 nreqs = split(enabledby[i], r) 760 nreqs = split(sets[i], r) 796 nreqs = split(tree[i], r) [all …]
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | dfu.py | 14 return dict(zip(names.split(), tuple)) 23 return string.split("\0", 1)[0] 90 v, d = map(lambda x: int(x, 0) & 0xFFFF, device.split(":", 1)) 132 address, binfile = arg.split(":", 1) 150 v, d = map(lambda x: int(x, 0) & 0xFFFF, device.split(":", 1))
|
A D | gen-cpydiff.py | 86 x.rstrip() for x in list(filter(None, re.split(SPLIT, text))) 147 for line in block.split("\n"): 159 lines = entry.split("\n") 166 ymax = max(ymax, len(contents[j][i].split("\n"))) 173 row = [entry + "\n" * (ylengths[i] - len(entry.split("\n"))) for entry in row] 174 row = [entry.split("\n") for entry in row] 199 section = output.class_.split(",")
|
A D | upip.py | 52 comps = name.rstrip("/").split("/")[:-1] 130 proto, _, host, urlpath = url.split("/", 3) 134 host, port = host.split(":") 156 protover, status, msg = l.split(None, 2) 247 deps = deps.decode("utf-8").split("\n")
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/cmake/ |
A D | bazel_to_cmake.py | 126 after_last_slash = name.split('/')[-1] 155 split = filename[2:].split(':') 156 filename = os.path.join(bazel_workspace_dir, split[0], split[1])
|
/AliOS-Things-master/components/py_engine/tests/micropython/ |
A D | emg_exc.py | 30 for l in buf.getvalue().split("\n"): 32 print(l.split('"')[2])
|
A D | heapalloc_traceback.py | 37 for l in buf.getvalue().split("\n"): 40 l = l.split('"')
|
/AliOS-Things-master/components/SDL2/test/nacl/ |
A D | common.js | 428 var pairs = window.location.search.substr(1).split('&'); 430 var keyValue = pairs[key_ix].split('='); 437 var toolchains = body.dataset.tools.split(' '); 438 var configs = body.dataset.configs.split(' '); 442 var attr_list = body.dataset.attrs.split(' '); 444 var attr = attr_list[key].split('=');
|
/AliOS-Things-master/components/py_engine/tests/ |
A D | run-perfbench.py | 77 time, norm, result = output.split(None, 2) 160 n, m, _ = params.strip().split() 161 n = int(n.split("=")[1]) 162 m = int(m.split("=")[1]) 166 name, values = l.strip().split(": ") 167 values = tuple(float(v) for v in values.split())
|
/AliOS-Things-master/hardware/chip/haas1000/ |
A D | _haas1000_alios_lds.py | 8 params = fh.read().split("\n") 80 data_list = key_value["macro_list"].split('-D') 83 k_list = item.split('=')
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/swig/ |
A D | setup.py | 13 package_path = os.path.join(tmpdir, *package.split(".")) 18 for d in package.split("."):
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | mkrules.mk | 107 $(HEADER_BUILD)/qstr.split: $(HEADER_BUILD)/qstr.i.last 109 $(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py split qstr $< $(HEADER_BUILD)/qstr _ 112 $(QSTR_DEFS_COLLECTED): $(HEADER_BUILD)/qstr.split 117 $(HEADER_BUILD)/compressed.split: $(HEADER_BUILD)/qstr.i.last 119 $(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py split compress $< $(HEADER_BUILD)/compress _ 122 $(HEADER_BUILD)/compressed.collected: $(HEADER_BUILD)/compressed.split
|
/AliOS-Things-master/components/py_engine/engine/tools/mpremote/mpremote/ |
A D | main.py | 109 cmd = cmd.split() 113 args = tuple(c.split("=") for c in cmd[1:]) 115 sub = sub.split() 137 value = args.pop(0).split("=", 1)[1] 153 arg = args[last_arg_idx].split("=", 1)[0] 231 files.append(os.path.split(path)) 244 dir_parts = dir.split("/")
|
/AliOS-Things-master/components/py_engine/tests/misc/ |
A D | print_exception.py | 24 for l in s.split("\n"): 27 l = l.split('"')
|