Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 3185) sorted by relevance

12345678910>>...128

/third_party/mesa3d/src/mesa/tnl/
Dt_split_inplace.c67 flush_vertex( struct split_context *split) in flush_vertex() argument
69 struct gl_context *ctx = split->ctx; in flush_vertex()
73 if (!split->dstprim_nr) in flush_vertex()
76 if (split->ib) { in flush_vertex()
77 ib = *split->ib; in flush_vertex()
79 ib.count = split->max_index - split->min_index + 1; in flush_vertex()
81 (split->min_index << ib.index_size_shift)); in flush_vertex()
84 for (i = 0; i < split->dstprim_nr; i++) in flush_vertex()
85 split->dstprim[i].start -= split->min_index; in flush_vertex()
88 assert(split->max_index >= split->min_index); in flush_vertex()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglstereosplit.c78 static GstFlowReturn stereosplit_chain (GstPad * pad, GstGLStereoSplit * split,
291 stereosplit_get_src_caps (GstGLStereoSplit * split, in stereosplit_get_src_caps() argument
327 GST_DEBUG_OBJECT (split, "Src pad %" GST_PTR_FORMAT " caps %" GST_PTR_FORMAT, in stereosplit_get_src_caps()
333 stereosplit_set_output_caps (GstGLStereoSplit * split, GstCaps * sinkcaps) in stereosplit_set_output_caps() argument
345 if (!ensure_context (split)) { in stereosplit_set_output_caps()
352 stereosplit_get_src_caps (split, split->left_pad, in stereosplit_set_output_caps()
357 stereosplit_get_src_caps (split, split->right_pad, in stereosplit_set_output_caps()
362 tridcaps = stereosplit_transform_caps (split, GST_PAD_SINK, sinkcaps, NULL); in stereosplit_set_output_caps()
365 GST_ERROR_OBJECT (split, in stereosplit_set_output_caps()
395 GST_DEBUG_OBJECT (split, "Attempting to set output caps %" GST_PTR_FORMAT, in stereosplit_set_output_caps()
[all …]
/third_party/jerryscript/tests/jerry/
Dstring-prototype-split.js15 var res = "".split();
18 res = "foo".split();
22 res = str.split("");
30 res = str.split("", "foo");
33 res = str.split("", "4");
40 res = str.split(undefined, undefined)
44 res = str.split("a", false);
47 res = str.split("a", true);
51 res = str.split("a", NaN);
54 res = str.split(["o"])
[all …]
/third_party/mindspore/mindspore/profiler/parser/
Daicpu_data_parser.py71 node_type_name = node_list[0].split(':')[-1]
74 node_type_name = node_list[0].split(':')[-1].split('/')[-1].split('-')[0]
81 run_start_counter = float(node_list[1].split(':')[-1].split(' ')[1]) / us_unit
82 run_end_counter = float(node_list[run_end_index].split(':')[-1].split(' ')[1]) / us_unit
83 run_start = node_list[1].split(':')[-1].split(' ')[0]
84 run_end = node_list[run_end_index].split(':')[-1].split(' ')[0]
86 … total_time = float(thread_list[self._total_time_index].split('=')[-1].split()[0]) / self._ms_unit
87 …dispatch_time = float(thread_list[self._dispatch_time_index].split('=')[-1].split()[0]) / self._ms…
105 ai_cpu_lines = ai_cpu_str.split(" ___ ")
118 node_line.split(','),
[all …]
/third_party/node/deps/brotli/c/enc/
Dmetablock_inc.h48 BlockSplit* split, HistogramType** histograms, size_t* histograms_size) { in FN()
58 self->split_ = split; in FN()
65 split->types, split->types_alloc_size, max_num_blocks); in FN()
67 split->lengths, split->lengths_alloc_size, max_num_blocks); in FN()
86 BlockSplit* split = self->split_; in FN() local
93 split->lengths[0] = (uint32_t)self->block_size_; in FN()
94 split->types[0] = 0; in FN()
99 ++split->num_types; in FN()
121 if (split->num_types < BROTLI_MAX_NUMBER_OF_BLOCK_TYPES && in FN()
125 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_; in FN()
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dmetablock_inc.h48 BlockSplit* split, HistogramType** histograms, size_t* histograms_size) { in FN()
58 self->split_ = split; in FN()
65 split->types, split->types_alloc_size, max_num_blocks); in FN()
67 split->lengths, split->lengths_alloc_size, max_num_blocks); in FN()
86 BlockSplit* split = self->split_; in FN() local
93 split->lengths[0] = (uint32_t)self->block_size_; in FN()
94 split->types[0] = 0; in FN()
99 ++split->num_types; in FN()
121 if (split->num_types < BROTLI_MAX_NUMBER_OF_BLOCK_TYPES && in FN()
125 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_; in FN()
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dsymbol-split.js15 var split = RegExp.prototype[Symbol.split]; variable
18 split.call (0, "string");
25 split.call (new RegExp(), {
38 split.call (o, "str");
50 split.call (o, "str");
57 split.call ({
68 split.call ({ toString: function () { return "s"; }, flags: "g"},
80 split.call ({ toString: function () { return "s"; }, flags: "g"},
92 split.call ({ toString: function () { return "s"; }, flags: "g"},
104 split.call ({ toString: function () { return "s"; }, flags: "g"},
/third_party/googletest/googlemock/scripts/generator/cpp/
Dkeywords.py33 TYPES = set('bool char int long short double float void wchar_t unsigned signed'.split())
34 TYPE_MODIFIERS = set('auto register const inline extern static virtual volatile mutable'.split())
35 ACCESS = set('public protected private friend'.split())
37 CASTS = set('static_cast const_cast dynamic_cast reinterpret_cast'.split())
39 OTHERS = set('true false asm class namespace using explicit this operator sizeof'.split())
40 OTHER_TYPES = set('new delete typedef struct union enum typeid typename template'.split())
42 CONTROL = set('case switch default if else return goto'.split())
43 EXCEPTION = set('try catch throw'.split())
44 LOOP = set('while do for break continue'.split())
/third_party/flutter/skia/infra/bots/
Dcheck_deps.py39 split = e.split(': ')
40 if len(split) != 2:
43 if split[0] == 'skia':
45 split = split[1].split('@')
46 if len(split) != 2:
49 repo = split[0]
50 rev = split[1]
/third_party/skia/infra/bots/
Dcheck_deps.py41 split = e.split(': ')
42 if len(split) != 2:
46 if split[0] == 'skia':
48 split = split[1].split('@')
49 if len(split) != 2:
53 repo = split[0]
54 rev = split[1]
/third_party/skia/src/pathops/
DSkOpEdgeBuilder.cpp283 Splitsville* split = &splits[index]; in walk() local
284 split->fT[0] = index ? splitT[index - 1] : 0; in walk()
285 split->fT[1] = index < breaks ? splitT[index] : 1; in walk()
286 SkDCubic part = SkDCubic::SubDivide(pointsPtr, split->fT[0], split->fT[1]); in walk()
287 if (!part.toFloatPoints(split->fPts)) { in walk()
290 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
291 SkPoint* curve = SkPath::kCubic_Verb == split->fVerb in walk()
292 ? split->fPts : split->fReduced; in walk()
293 split->fCanAdd = can_add_curve(split->fVerb, curve); in walk()
296 Splitsville* split = &splits[index]; in walk() local
[all …]
/third_party/node/deps/npm/node_modules/split-on-first/
Dreadme.md1 # split-on-first [![Build Status](https://travis-ci.com/sindresorhus/split-on-first.svg?branch=mast…
5 …s is similar to [`String#split()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Referen…
11 $ npm install split-on-first
18 const splitOnFirst = require('split-on-first');
42 The string to split.
48 The separator to split on.
53 - [split-at](https://github.com/sindresorhus/split-at) - Split a string at one or more indices
/third_party/flutter/skia/src/pathops/
DSkOpEdgeBuilder.cpp289 Splitsville* split = &splits[index]; in walk() local
290 split->fT[0] = index ? splitT[index - 1] : 0; in walk()
291 split->fT[1] = index < breaks ? splitT[index] : 1; in walk()
292 SkDCubic part = SkDCubic::SubDivide(pointsPtr, split->fT[0], split->fT[1]); in walk()
293 if (!part.toFloatPoints(split->fPts)) { in walk()
296 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
298 ? split->fPts : split->fReduced; in walk()
299 split->fCanAdd = can_add_curve(split->fVerb, curve); in walk()
302 Splitsville* split = &splits[index]; in walk() local
303 if (!split->fCanAdd) { in walk()
[all …]
/third_party/boost/libs/numeric/odeint/test/
Dsplit.cpp49 check_equal_range( irange(0, 12) | split(0, 3), irange(0, 4) ); in BOOST_AUTO_TEST_CASE()
50 check_equal_range( irange(0, 12) | split(1, 3), irange(4, 8) ); in BOOST_AUTO_TEST_CASE()
51 check_equal_range( irange(0, 12) | split(2, 3), irange(8, 12) ); in BOOST_AUTO_TEST_CASE()
57 check_equal_range( irange(0, 11) | split(0, 3), irange(0, 4) ); in BOOST_AUTO_TEST_CASE()
58 check_equal_range( irange(0, 11) | split(1, 3), irange(4, 8) ); in BOOST_AUTO_TEST_CASE()
59 check_equal_range( irange(0, 11) | split(2, 3), irange(8, 11) ); in BOOST_AUTO_TEST_CASE()
65 check_equal_range( irange(0, 10) | split(0, 3), irange(0, 4) ); in BOOST_AUTO_TEST_CASE()
66 check_equal_range( irange(0, 10) | split(1, 3), irange(4, 7) ); in BOOST_AUTO_TEST_CASE()
67 check_equal_range( irange(0, 10) | split(2, 3), irange(7, 10) ); in BOOST_AUTO_TEST_CASE()
/third_party/toybox/toys/pending/
Dfold.c42 int pos = 0, split = -1; local
54 split = -1;
73 split = pos;
80 if (!(toys.optflags & FLAG_s) || split < 0) split = pos;
81 xwrite(1, buf, split + 1);
83 bufsz -= split + 1;
84 buf += split + 1;
86 split = -1;
/third_party/mindspore/scripts/map_dump_file_to_code/
Dmap_file_to_code.py94 if "-op" in txt_context and txt_context.split("-op")[-1].split(")")[0].isdigit():
95 … single_op_info_dict["origin_op_name"] = txt_context.split("-op")[0].split("/")[-1]
96 … single_op_info_dict["op_name"] = txt_context.split("-op")[0].split("/")[-1].lower()
97 … single_op_info_dict["op_num"] = "op" + txt_context.split("-op")[-1].split(")")[0]
100 in_file_info = txt_context.split("#")[-1].strip().rstrip("/")
122 origin_dump_op_name = self.dump_op.split("-")[0]
124 dump_op_num = self.dump_op.split("-")[-1]
133 print(" {}".format(line.split(" ")[0]))
134 print(" {}".format(line.split(" ")[-1]))
/third_party/skia/third_party/externals/icu/scripts/
Dmake_data_assembly.py78 split = [binascii.hexlify(input_data[i:i + 4][::step]).decode('ascii').upper().lstrip('0') variable
81 for i in range(len(split)):
82 if (len(split[i]) == 0):
84 elif (len(split[i]) == 1):
85 if not any((c in '123456789') for c in split[i]):
86 value = '0x0' + split[i]
88 value = split[i]
89 elif (len(split[i]) % 2 == 1):
90 value = '0x0' + split[i]
92 value = '0x' + split[i]
/third_party/flutter/skia/third_party/externals/icu/scripts/
Dmake_data_assembly.py75 split = [binascii.hexlify(input_data[i:i + 4][::step]).upper().lstrip(b'0') variable
78 for i in range(len(split)):
79 if (len(split[i]) == 0):
81 elif (len(split[i]) == 1):
82 if not any((c in b'123456789') for c in split[i]):
83 value = b'0x0' + split[i]
85 value = split[i]
86 elif (len(split[i]) % 2 == 1):
87 value = b'0x0' + split[i]
89 value = b'0x' + split[i]
/third_party/skia/third_party/externals/libwebp/src/utils/
Dbit_reader_inl_utils.h118 const range_t split = (range * prob) >> 8; in VP8GetBit() local
120 const int bit = (value > split); in VP8GetBit()
122 range -= split; in VP8GetBit()
123 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBit()
125 range = split + 1; in VP8GetBit()
147 const range_t split = br->range_ >> 1; in VP8GetSigned() local
149 const int32_t mask = (int32_t)(split - value) >> 31; // -1 or 0 in VP8GetSigned()
153 br->value_ -= (bit_t)((split + 1) & mask) << pos; in VP8GetSigned()
170 const range_t split = (range * prob) >> 8; in VP8GetBitAlt() local
173 if (value > split) { in VP8GetBitAlt()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dbit_reader_inl_utils.h118 const range_t split = (range * prob) >> 8; in VP8GetBit() local
120 const int bit = (value > split); in VP8GetBit()
122 range -= split; in VP8GetBit()
123 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBit()
125 range = split + 1; in VP8GetBit()
146 const range_t split = br->range_ >> 1; in VP8GetSigned() local
148 const int32_t mask = (int32_t)(split - value) >> 31; // -1 or 0 in VP8GetSigned()
152 br->value_ -= (bit_t)((split + 1) & mask) << pos; in VP8GetSigned()
169 const range_t split = (range * prob) >> 8; in VP8GetBitAlt() local
172 if (value > split) { in VP8GetBitAlt()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtsptransport.c445 gchar **split, *down, **transp = NULL; in gst_rtsp_transport_parse() local
457 split = g_strsplit (down, ";", 0); in gst_rtsp_transport_parse()
461 if (split[0] == NULL) in gst_rtsp_transport_parse()
464 transp = g_strsplit (split[0], "/", 0); in gst_rtsp_transport_parse()
505 while (split[i]) { in gst_rtsp_transport_parse()
506 if (strcmp (split[i], "multicast") == 0) { in gst_rtsp_transport_parse()
511 } else if (strcmp (split[i], "unicast") == 0) { in gst_rtsp_transport_parse()
515 } else if (g_str_has_prefix (split[i], "destination=")) { in gst_rtsp_transport_parse()
517 transport->destination = g_strdup (split[i] + 12); in gst_rtsp_transport_parse()
518 } else if (g_str_has_prefix (split[i], "source=")) { in gst_rtsp_transport_parse()
[all …]
/third_party/boost/tools/build/src/util/
Dutility.py74 grist, split, value = feature.partition('>')
77 if not value and not split:
97 split = __re_grist_and_value.match (name)
98 if not split:
101 return split.group (1)
131 split = os.path.splitext (name)
132 return split [0] + new_suffix
146 split = id.split ('.', 1)
147 toolset = split [0]
149 if len (split) > 1:
[all …]
/third_party/jsframework/mock-generate/src/generate/
DgenerateCommonUtil.ts56 return `return ${returnType.returnKindName.split('<')[1].split('>')[0]}`;
108 const tmpReturn = returnType.returnKindName.split('<')[0];
115 return `return new ${returnType.returnKindName.split('<')[0]}()`;
130 const returnNames = returnType.returnKindName.split('|');
208 if (typeName.includes('.') && typeName.split('.')[0] === value.importElements) {
213 if (value.importElements.trimStart().trimEnd() === typeName.split('.')[0]) {
214 const tmpArr = value.importPath.split('.');
220 const splitReturnKindName = typeName.split('.');
243 …mportElements = importElementEntity[i].importElements.replace('{', '').replace('}', '').split(',');
246 if (`_${typeName}` === element.split('as')[1].trimStart().trimEnd()) {
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DSchema.java101 int split = key.indexOf(':'); in getColumn() local
103 if (split == -1) { in getColumn()
106 ColumnGroup<?, ?> group = groups().get(key.substring(0, split)); in getColumn()
108 column = group.getColumnFromId(key.substring(split + 1)); in getColumn()
116 int split = column.getName().indexOf(':'); in isValidColumn() local
117 if (split == -1) { in isValidColumn()
120 ColumnGroup<?, ?> group = groups().get(column.getName().substring(0, split)); in isValidColumn()
162 int split = column.getName().indexOf(':'); in getPrefix() local
163 return split != -1 ? column.getName().substring(0, split) : column.getName(); in getPrefix()
167 int split = column.getName().indexOf(':'); in getSuffix() local
[all …]
/third_party/mindspore/tests/ut/python/dataset/
Dtest_split.py32 _, _ = d.split([])
36 _, _ = d.split([5, 0.6])
40 _, _ = d.split([-1, 6])
44 _, _ = d.split([3, 1])
48 _, _ = d.split([5, 1])
52 _, _ = d.split([0.15, 0.15, 0.15, 0.15, 0.15, 0.25])
56 _, _ = d.split([-0.5, 0.5])
60 _, _ = d.split([1.5, 0.5])
64 _, _ = d.split([0.5, 0.6])
68 _, _ = d.split([0.3, 0.6])
[all …]

12345678910>>...128