Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 1589) sorted by relevance

12345678910>>...64

/third_party/grpc/test/core/slice/
Dslice_string_helpers_test.cc64 grpc_slice_buffer* parts; in test_strsplit() local
69 parts = in test_strsplit()
71 grpc_slice_buffer_init(parts); in test_strsplit()
74 grpc_slice_split(str, ", ", parts); in test_strsplit()
75 GPR_ASSERT(4 == parts->count); in test_strsplit()
76 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[0], "one")); in test_strsplit()
77 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[1], "two")); in test_strsplit()
78 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[2], "three")); in test_strsplit()
79 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[3], "four")); in test_strsplit()
80 grpc_slice_buffer_reset_and_unref(parts); in test_strsplit()
[all …]
/third_party/cef/tests/ceftests/
Dparser_unittest.cc10 CefURLParts parts; in TEST() local
12 CefString(&parts.spec) in TEST()
16 EXPECT_TRUE(CefCreateURL(parts, url)); in TEST()
24 CefURLParts parts; in TEST() local
26 CefString(&parts.scheme).FromASCII("http"); in TEST()
27 EXPECT_FALSE(CefCreateURL(parts, url)); in TEST()
32 CefURLParts parts; in TEST() local
34 CefString(&parts.host).FromASCII("www.example.com"); in TEST()
35 EXPECT_FALSE(CefCreateURL(parts, url)); in TEST()
40 CefURLParts parts; in TEST() local
[all …]
/third_party/skia/infra/bots/gen_tasks_logic/
Dschema.go20 type parts map[string]string type
24 func (p parts) equal(part string, eq ...string) bool {
38 func (p parts) role(eq ...string) bool {
43 func (p parts) os(eq ...string) bool {
49 func (p parts) compiler(eq ...string) bool {
54 func (p parts) model(eq ...string) bool {
60 func (p parts) frequency(eq ...string) bool {
67 func (p parts) cpu(eq ...string) bool {
80 func (p parts) gpu(eq ...string) bool {
92 func (p parts) arch(eq ...string) bool {
[all …]
/third_party/flutter/skia/infra/bots/recipe_modules/builder_name_schema/
Dbuilder_name_schema.py77 def MakeBuilderName(**parts): argument
78 for v in parts.itervalues():
84 def process(depth, parts): argument
88 role = parts.get(role_key)
95 del parts[role_key]
98 value = parts.get(key)
102 del parts[key]
107 sub_role = parts.get(sub_role_key)
115 parts = process(depth+1, parts)
121 if parts.get(key):
[all …]
/third_party/skia/infra/bots/recipe_modules/builder_name_schema/
Dbuilder_name_schema.py81 def MakeBuilderName(**parts): argument
82 for v in parts.values():
88 def process(depth, parts): argument
92 role = parts.get(role_key)
99 del parts[role_key]
102 value = parts.get(key)
106 del parts[key]
111 sub_role = parts.get(sub_role_key)
119 parts = process(depth+1, parts)
125 if parts.get(key):
[all …]
/third_party/flutter/skia/infra/bots/gen_tasks_logic/
Dgen_tasks_logic.go259 InternalHardwareLabel func(parts map[string]string) *int `json:"-"`
281 SwarmDimensions func(parts map[string]string) []string `json:"-"`
474 func (b *builder) internalHardwareLabel(parts map[string]string) *int {
476 return b.cfg.InternalHardwareLabel(parts)
505 func (b *builder) deriveCompileTaskName(jobName string, parts map[string]string) string {
506 if parts["role"] == "Test" || parts["role"] == "Perf" || parts["role"] == "Calmbench" {
507 task_os := parts["os"]
509 if val := parts["extra_config"]; val != "" {
548 "compiler": parts["compiler"],
549 "target_arch": parts["arch"],
[all …]
/third_party/cef/libcef/common/
Dparser_impl.cc16 bool CefParseURL(const CefString& url, CefURLParts& parts) { in CefParseURL() argument
21 CefString(&parts.spec).FromString(gurl.spec()); in CefParseURL()
22 CefString(&parts.scheme).FromString(gurl.scheme()); in CefParseURL()
23 CefString(&parts.username).FromString(gurl.username()); in CefParseURL()
24 CefString(&parts.password).FromString(gurl.password()); in CefParseURL()
25 CefString(&parts.host).FromString(gurl.host()); in CefParseURL()
26 CefString(&parts.origin).FromString(gurl.DeprecatedGetOriginAsURL().spec()); in CefParseURL()
27 CefString(&parts.port).FromString(gurl.port()); in CefParseURL()
28 CefString(&parts.path).FromString(gurl.path()); in CefParseURL()
29 CefString(&parts.query).FromString(gurl.query()); in CefParseURL()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/bin/
Dgenerate_language_headers.py123 parts = []
125 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright])
126 parts.append('')
130 parts.append('#ifndef {}'.format(guard))
131 parts.append('#define {}'.format(guard))
132 parts.append('')
134 parts.append(self.cpp_guard_preamble())
137 parts.append(self.const_definition(grammar.name, 'Version', grammar.version))
140 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision))
142 parts.append('')
[all …]
/third_party/spirv-headers/tools/buildHeaders/bin/
Dgenerate_language_headers.py123 parts = []
125 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright])
126 parts.append('')
130 parts.append('#ifndef {}'.format(guard))
131 parts.append('#define {}'.format(guard))
132 parts.append('')
134 parts.append(self.cpp_guard_preamble())
137 parts.append(self.const_definition(grammar.name, 'Version', grammar.version))
140 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision))
142 parts.append('')
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/bin/
Dgenerate_language_headers.py123 parts = []
125 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright])
126 parts.append('')
130 parts.append('#ifndef {}'.format(guard))
131 parts.append('#define {}'.format(guard))
132 parts.append('')
134 parts.append(self.cpp_guard_preamble())
137 parts.append(self.const_definition(grammar.name, 'Version', grammar.version))
140 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision))
142 parts.append('')
[all …]
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/
Drfc4253.js63 var parts = key.parts = [];
71 var partCount = algs.info[key.type].parts.length;
73 partCount = algs.privInfo[key.type].parts.length;
75 while (!sshbuf.atEnd() && parts.length < partCount)
76 parts.push(sshbuf.readPart());
78 parts.push(sshbuf.readPart());
80 assert.ok(parts.length >= 1,
87 if (type === 'private' || algInfo.parts.length !== parts.length) {
91 assert.strictEqual(algInfo.parts.length, parts.length);
96 assert.strictEqual(res[1], parts[0].data.toString());
[all …]
/third_party/spirv-tools/utils/
Dgenerate_language_headers.py84 parts = []
86 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright])
87 parts.append('')
91 parts.append('#ifndef {}'.format(guard))
92 parts.append('#define {}'.format(guard))
93 parts.append('')
95 parts.append(self.cpp_guard_preamble())
98 parts.append(self.const_definition(grammar.name, 'Version', grammar.version))
101 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision))
103 parts.append('')
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/
Dgenerate_language_headers.py84 parts = []
86 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright])
87 parts.append('')
91 parts.append('#ifndef {}'.format(guard))
92 parts.append('#define {}'.format(guard))
93 parts.append('')
95 parts.append(self.cpp_guard_preamble())
98 parts.append(self.const_definition(grammar.name, 'Version', grammar.version))
101 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision))
103 parts.append('')
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_language_headers.py84 parts = []
86 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright])
87 parts.append('')
91 parts.append('#ifndef {}'.format(guard))
92 parts.append('#define {}'.format(guard))
93 parts.append('')
95 parts.append(self.cpp_guard_preamble())
98 parts.append(self.const_definition(grammar.name, 'Version', grammar.version))
101 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision))
103 parts.append('')
[all …]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_container.c36 blob_init(&c->parts); in dxil_container_init()
43 blob_finish(&c->parts); in dxil_container_finish()
51 assert(c->parts.size < UINT_MAX); in add_part_header()
52 unsigned offset = (unsigned)c->parts.size; in add_part_header()
53 if (!blob_write_bytes(&c->parts, &fourcc, sizeof(fourcc)) || in add_part_header()
54 !blob_write_bytes(&c->parts, &part_size, sizeof(part_size))) in add_part_header()
68 blob_write_bytes(&c->parts, part_data, part_size); in add_part()
163 !blob_write_bytes(&c->parts, &header, sizeof(header))) { in dxil_container_add_io_signature()
171 if (!blob_write_bytes(&c->parts, &io_data[i].elements[j], in dxil_container_add_io_signature()
180 if (!blob_write_bytes(&c->parts, names->buf, names->length)) in dxil_container_add_io_signature()
[all …]
/third_party/node/deps/npm/node_modules/sshpk/lib/
Ddhe.js200 var parts = [];
205 parts.push({name: 'p', data: this._p.data});
206 parts.push({name: 'q', data: this._key.part.q.data});
207 parts.push({name: 'g', data: this._g.data});
208 parts.push({name: 'y', data: this._dh.getPublicKey()});
209 parts.push({name: 'x', data: this._dh.getPrivateKey()});
212 parts: parts property
221 parts.push({name: 'curve',
223 parts.push({name: 'Q', data: this._dh.getPublicKey()});
224 parts.push({name: 'd', data: this._dh.getPrivateKey()});
[all …]
Dfingerprint.js86 var parts = fp.split(':');
87 if (parts.length == 2) {
88 alg = parts[0].toLowerCase();
91 if (!base64RE.test(parts[1]))
94 hash = Buffer.from(parts[1], 'base64');
98 } else if (parts.length > 2) {
100 if (parts[0].toLowerCase() === 'md5')
101 parts = parts.slice(1);
102 parts = parts.join('');
105 if (!md5RE.test(parts))
[all …]
/third_party/node/deps/npm/node_modules/concat-stream/
Dindex.js81 function stringConcat (parts) { argument
84 for (var i = 0; i < parts.length; i++) {
85 var p = parts[i]
96 if (Buffer.isBuffer(parts[0])) {
105 function bufferConcat (parts) { argument
107 for (var i = 0; i < parts.length; i++) {
108 var p = parts[i]
120 function arrayConcat (parts) { argument
122 for (var i = 0; i < parts.length; i++) {
123 res.push.apply(res, parts[i])
[all …]
/third_party/boost/boost/numeric/odeint/util/
Dsplit_adaptor.hpp34 split_offsets( std::size_t total_length, std::size_t index, std::size_t parts ) in split_offsets() argument
36 BOOST_ASSERT( parts > 0 ); in split_offsets()
37 BOOST_ASSERT( index < parts ); in split_offsets()
39 slice = total_length / parts, in split_offsets()
40 partial = total_length % parts, in split_offsets()
60 make_split_range( RandomAccessRange& rng, std::size_t index, std::size_t parts ) in make_split_range() argument
62 const std::pair<std::size_t, std::size_t> off = split_offsets(boost::size(rng), index, parts); in make_split_range()
68 make_split_range( const RandomAccessRange& rng, std::size_t index, std::size_t parts ) in make_split_range() argument
70 const std::pair<std::size_t, std::size_t> off = split_offsets(boost::size(rng), index, parts); in make_split_range()
77 split(std::size_t index, std::size_t parts) in split()
[all …]
/third_party/lwip/src/core/ipv4/
Dip4_addr.c150 u32_t parts[4]; in ip4addr_aton() local
151 u32_t *pp = parts; in ip4addr_aton()
194 if (pp >= parts + 3) { in ip4addr_aton()
213 switch (pp - parts + 1) { in ip4addr_aton()
225 if (parts[0] > 0xff) { in ip4addr_aton()
228 val |= parts[0] << 24; in ip4addr_aton()
235 if ((parts[0] > 0xff) || (parts[1] > 0xff)) { in ip4addr_aton()
238 val |= (parts[0] << 24) | (parts[1] << 16); in ip4addr_aton()
245 if ((parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) { in ip4addr_aton()
248 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in ip4addr_aton()
/third_party/grpc/src/core/lib/surface/
Dcall_log_batch.cc52 std::vector<std::string> parts; in grpc_op_string() local
55 parts.push_back("SEND_INITIAL_METADATA"); in grpc_op_string()
57 op->data.send_initial_metadata.count, &parts); in grpc_op_string()
60 parts.push_back(absl::StrFormat("SEND_MESSAGE ptr=%p", in grpc_op_string()
64 parts.push_back("SEND_CLOSE_FROM_CLIENT"); in grpc_op_string()
67 parts.push_back( in grpc_op_string()
73 parts.push_back(dump); in grpc_op_string()
76 parts.push_back("(null)"); in grpc_op_string()
80 &parts); in grpc_op_string()
83 parts.push_back(absl::StrFormat( in grpc_op_string()
[all …]
/third_party/typescript/tests/baselines/reference/
DtaggedTemplatesInDifferentScopes.types2 export function tag(parts: TemplateStringsArray, ...values: any[]) {
3 >tag : (parts: TemplateStringsArray, ...values: any[]) => string
4 >parts : TemplateStringsArray
7 return parts[0];
8 >parts[0] : string
9 >parts : TemplateStringsArray
17 >tag : (parts: TemplateStringsArray, ...values: any[]) => string
22 >tag : (parts: TemplateStringsArray, ...values: any[]) => string
31 >tag : (parts: TemplateStringsArray, ...values: any[]) => string
36 >tag : (parts: TemplateStringsArray, ...values: any[]) => string
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-math.c543 hb_ot_math_glyph_part_t parts[20]; in test_get_glyph_assembly() local
544 unsigned partsSize = sizeof (parts) / sizeof (parts[0]); in test_get_glyph_assembly()
622 parts, in test_get_glyph_assembly()
628 g_assert_cmpint(parts[0].glyph, ==, glyph); in test_get_glyph_assembly()
629 g_assert_cmpint(parts[0].start_connector_length, ==, 800); in test_get_glyph_assembly()
630 g_assert_cmpint(parts[0].end_connector_length, ==, 384); in test_get_glyph_assembly()
631 g_assert_cmpint(parts[0].full_advance, ==, 2000); in test_get_glyph_assembly()
632 g_assert(!(parts[0].flags & HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER)); in test_get_glyph_assembly()
634 g_assert_cmpint(parts[1].glyph, ==, glyph); in test_get_glyph_assembly()
635 g_assert_cmpint(parts[1].start_connector_length, ==, 524); in test_get_glyph_assembly()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-math.c543 hb_ot_math_glyph_part_t parts[20]; in test_get_glyph_assembly() local
544 unsigned partsSize = sizeof (parts) / sizeof (parts[0]); in test_get_glyph_assembly()
622 parts, in test_get_glyph_assembly()
628 g_assert_cmpint(parts[0].glyph, ==, glyph); in test_get_glyph_assembly()
629 g_assert_cmpint(parts[0].start_connector_length, ==, 800); in test_get_glyph_assembly()
630 g_assert_cmpint(parts[0].end_connector_length, ==, 384); in test_get_glyph_assembly()
631 g_assert_cmpint(parts[0].full_advance, ==, 2000); in test_get_glyph_assembly()
632 g_assert(!(parts[0].flags & HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER)); in test_get_glyph_assembly()
634 g_assert_cmpint(parts[1].glyph, ==, glyph); in test_get_glyph_assembly()
635 g_assert_cmpint(parts[1].start_connector_length, ==, 524); in test_get_glyph_assembly()
[all …]
/third_party/harfbuzz/test/api/
Dtest-ot-math.c543 hb_ot_math_glyph_part_t parts[20]; in test_get_glyph_assembly() local
544 unsigned partsSize = sizeof (parts) / sizeof (parts[0]); in test_get_glyph_assembly()
622 parts, in test_get_glyph_assembly()
628 g_assert_cmpint(parts[0].glyph, ==, glyph); in test_get_glyph_assembly()
629 g_assert_cmpint(parts[0].start_connector_length, ==, 800); in test_get_glyph_assembly()
630 g_assert_cmpint(parts[0].end_connector_length, ==, 384); in test_get_glyph_assembly()
631 g_assert_cmpint(parts[0].full_advance, ==, 2000); in test_get_glyph_assembly()
632 g_assert(!(parts[0].flags & HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER)); in test_get_glyph_assembly()
634 g_assert_cmpint(parts[1].glyph, ==, glyph); in test_get_glyph_assembly()
635 g_assert_cmpint(parts[1].start_connector_length, ==, 524); in test_get_glyph_assembly()
[all …]

12345678910>>...64