Home
last modified time | relevance | path

Searched refs:labels (Results 1 - 25 of 146) sorted by relevance

123456

/third_party/node/deps/cares/src/lib/
H A Dares_dns_name.c136 static void ares_dns_labels_free(ares_dns_labels_t *labels) in ares_dns_labels_free() argument
140 if (labels == NULL) { in ares_dns_labels_free()
144 for (i = 0; i < labels->num; i++) { in ares_dns_labels_free()
145 ares__buf_destroy(labels->label[i]); in ares_dns_labels_free()
146 labels->label[i] = NULL; in ares_dns_labels_free()
148 ares_free(labels->label); in ares_dns_labels_free()
149 labels->label = NULL; in ares_dns_labels_free()
150 labels->num = 0; in ares_dns_labels_free()
153 static ares__buf_t *ares_dns_labels_add(ares_dns_labels_t *labels) in ares_dns_labels_add() argument
157 if (labels in ares_dns_labels_add()
179 ares_dns_labels_get_last(const ares_dns_labels_t *labels) ares_dns_labels_get_last() argument
188 ares_dns_name_labels_del_last(ares_dns_labels_t *labels) ares_dns_name_labels_del_last() argument
251 ares_split_dns_name(ares_dns_labels_t *labels, ares_bool_t validate_hostname, const char *name) ares_split_dns_name() argument
366 ares_dns_labels_t labels; ares__dns_name_write() local
[all...]
/third_party/python/Lib/encodings/
H A Didna.py160 labels = result.split(b'.')
161 for label in labels[:-1]:
164 if len(labels[-1]) >= 64:
169 labels = dots.split(input)
170 if labels and not labels[-1]:
172 del labels[-1]
175 for label in labels:
202 labels = input.split(b".")
204 if labels an
[all...]
/third_party/gn/src/gn/
H A Dfunction_filter_labels_unittest.cc15 Value labels(nullptr, Value::LIST); in TEST()
16 labels.list_value().push_back(Value(nullptr, "//foo:bar")); in TEST()
17 labels.list_value().push_back(Value(nullptr, "//baz:bar")); in TEST()
23 args.push_back(labels); in TEST()
41 Value labels(nullptr, Value::LIST); in TEST()
42 labels.list_value().push_back(Value(nullptr, "//foo:bar")); in TEST()
43 labels.list_value().push_back(Value(nullptr, "//bar")); in TEST()
44 labels.list_value().push_back(Value(nullptr, "//baz:bar")); in TEST()
50 args.push_back(labels); in TEST()
70 Value labels(nullpt in TEST()
[all...]
H A Dfunction_filter_labels.cc33 // Validate "labels" and "patterns" are both lists in RunFilterLabels()
35 *err = Err(args[0], "First argument must be a list of target labels."); in RunFilterLabels()
61 // Iterate over "labels", resolving and matching against the list of patterns. in RunFilterLabels()
71 *err = Err(value, "First argument must be a list of target labels."); in RunFilterLabels()
93 "filter_labels_include: Remove labels that do not match a set of patterns.";
95 R"(filter_labels_include: Remove labels that do not match a set of patterns.
97 filter_labels_include(labels, include_patterns)
99 The argument labels must be a list of strings.
102 "gn help label_pattern"). Only elements from labels matching at least
106 labels
[all...]
H A Danalyzer.cc51 std::set<Label> labels; in LabelsFor() local
53 labels.insert(target->label()); in LabelsFor()
54 return labels; in LabelsFor()
97 const std::set<Label>& labels) { in WriteLabels()
100 for (const auto& l : labels) in WriteLabels()
370 std::set<Label> Analyzer::InvalidLabels(const std::set<Label>& labels) const { in InvalidLabels()
372 for (const Label& label : labels) { in InvalidLabels()
379 TargetSet Analyzer::TargetsFor(const std::set<Label>& labels) const { in TargetsFor()
381 for (const auto& label : labels) { in TargetsFor()
94 WriteLabels(const Label& default_toolchain, base::DictionaryValue& dict, const std::string& key, const std::set<Label>& labels) WriteLabels() argument
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_debug_utils.c198 (void)util_dynarray_pop(&command_buffer->labels, VkDebugUtilsLabelEXT); in vk_common_CmdBeginDebugUtilsLabelEXT()
200 util_dynarray_append(&command_buffer->labels, VkDebugUtilsLabelEXT, in vk_common_CmdBeginDebugUtilsLabelEXT()
214 (void)util_dynarray_pop(&command_buffer->labels, VkDebugUtilsLabelEXT); in vk_common_CmdEndDebugUtilsLabelEXT()
216 (void)util_dynarray_pop(&command_buffer->labels, VkDebugUtilsLabelEXT); in vk_common_CmdEndDebugUtilsLabelEXT()
231 (void)util_dynarray_pop(&command_buffer->labels, VkDebugUtilsLabelEXT); in vk_common_CmdInsertDebugUtilsLabelEXT()
233 util_dynarray_append(&command_buffer->labels, VkDebugUtilsLabelEXT, in vk_common_CmdInsertDebugUtilsLabelEXT()
249 (void)util_dynarray_pop(&queue->labels, VkDebugUtilsLabelEXT); in vk_common_QueueBeginDebugUtilsLabelEXT()
251 util_dynarray_append(&queue->labels, VkDebugUtilsLabelEXT, *pLabelInfo); in vk_common_QueueBeginDebugUtilsLabelEXT()
264 (void)util_dynarray_pop(&queue->labels, VkDebugUtilsLabelEXT); in vk_common_QueueEndDebugUtilsLabelEXT()
266 (void)util_dynarray_pop(&queue->labels, VkDebugUtilsLabelEX in vk_common_QueueEndDebugUtilsLabelEXT()
[all...]
H A Dvk_log.c193 if (cmd_buffer->labels.size > 0) { in __vk_log_impl()
195 &cmd_buffer->labels, VkDebugUtilsLabelEXT); in __vk_log_impl()
196 cb_data.pCmdBufLabels = cmd_buffer->labels.data; in __vk_log_impl()
205 if (queue->labels.size > 0) { in __vk_log_impl()
207 util_dynarray_num_elements(&queue->labels, VkDebugUtilsLabelEXT); in __vk_log_impl()
208 cb_data.pQueueLabels = queue->labels.data; in __vk_log_impl()
H A Dvk_command_buffer.c43 util_dynarray_init(&command_buffer->labels, NULL); in vk_command_buffer_init()
57 util_dynarray_clear(&command_buffer->labels); in vk_command_buffer_reset()
67 util_dynarray_fini(&command_buffer->labels); in vk_command_buffer_finish()
/third_party/ltp/testcases/realtime/func/gtod_latency/
H A Dgtod_latency.c82 char *labels[] = { "scatter plot x-axis", variable
163 labels[SCATTER_LABELX] = argv[++i]; in stats_cmdline()
172 labels[SCATTER_LABELY] = argv[++i]; in stats_cmdline()
181 labels[HIST_LABELX] = argv[++i]; in stats_cmdline()
190 labels[HIST_LABELY] = argv[++i]; in stats_cmdline()
337 labels[SCATTER_LABELX], labels[SCATTER_LABELY], in main()
340 labels[HIST_LABELX], labels[HIST_LABELY], &hist, in main()
/third_party/node/tools/actions/
H A Dcommit-queue.sh35 gh pr view "$pr" --json labels --jq ".labels" > labels.json
37 if jq -e 'map(.name) | index("request-ci")' < labels.json; then
51 if jq -e 'map(.name) | index("commit-queue-squash")' < labels.json; then
53 elif jq -e 'map(.name) | index("commit-queue-rebase")' < labels.json; then
115 rm -f labels.json
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_statusbar.py25 self.assertEqual(bar.labels, {})
30 self.assertIn('left', bar.labels)
31 left = bar.labels['left']
37 self.assertEqual(bar.labels['right']['text'], 'correct text')
/third_party/notofonts/scripts/
H A Dissue-stats.py128 lines, labels = ax1.get_legend_handles_labels()
130 ax2.legend(lines + lines2, labels + labels2, loc="lower left")
137 labels, values = list(zip(*top_10))
139 bars = ax.bar(labels, values)
164 labels = [1, 2, 3, 4, 5] variable
165 values = [open_per_tier.get(l, 0) for l in labels]
167 bars = ax.bar(labels, values)
/third_party/node/deps/npm/node_modules/color-convert/
H A Dconversions.js15 rgb: {channels: 3, labels: 'rgb'},
16 hsl: {channels: 3, labels: 'hsl'},
17 hsv: {channels: 3, labels: 'hsv'},
18 hwb: {channels: 3, labels: 'hwb'},
19 cmyk: {channels: 4, labels: 'cmyk'},
20 xyz: {channels: 3, labels: 'xyz'},
21 lab: {channels: 3, labels: 'lab'},
22 lch: {channels: 3, labels: 'lch'},
23 hex: {channels: 1, labels: ['hex']},
24 keyword: {channels: 1, labels
[all...]
/third_party/python/Tools/scripts/
H A Dgprof2html.py37 labels = {}
44 labels[fname] = fname
59 if fname not in labels:
70 if part in labels:
/third_party/python/Lib/idlelib/
H A Dstatusbar.py8 self.labels = {}
11 if name not in self.labels:
14 self.labels[name] = label
16 label = self.labels[name]
/third_party/python/Lib/lib2to3/pgen2/
H A Dgrammar.py61 labels -- a list of (x, y) pairs where x is either a token
70 keywords -- a dict mapping keyword strings to arc labels.
72 tokens -- a dict mapping token numbers to arc labels.
81 self.labels = [(0, "EMPTY")]
110 new.labels = self.labels[:]
126 print("labels")
127 pprint(self.labels)
H A Dconv.py96 3) a table defining labels
198 # Parse the labels
199 labels = []
201 mo = re.match(r"static label labels\[(\d+)\] = {$", line)
214 labels.append((x, y))
217 self.labels = labels
230 mo = re.match(r"\s+{(\d+), labels},$", line)
233 assert nlabels == len(self.labels), (lineno, line)
251 self.keywords = {} # map from keyword strings to arc labels
[all...]
/third_party/node/deps/v8/tools/ignition/
H A Dbytecode_dispatches_report.py132 labels = sorted(dispatches_table.keys())
134 counters_matrix = numpy.empty([len(labels), len(labels)], dtype=int)
135 for from_index, from_name in enumerate(labels):
137 for to_index, to_name in enumerate(labels):
141 xlabels = labels
/third_party/rust/crates/codespan/codespan-reporting/src/
H A Ddiagnostic.rs116 /// The position of a Diagnostic is considered to be the position of the [`Label`] that has the earliest starting position and has the highest style which appears in all the labels of the diagnostic.
128 /// sense on its own, without additional context provided by labels and notes.
130 /// Source labels that describe the cause of the diagnostic.
131 /// The order of the labels inside the vector does not have any meaning.
132 /// The labels are always arranged in the order they appear in the source code.
133 pub labels: Vec<Label<FileId>>,
146 labels: Vec::new(), in new()
198 /// Add some labels to the diagnostic.
199 pub fn with_labels(mut self, labels: Vec<Label<FileId>>) -> Diagnostic<FileId> { in with_labels()
200 self.labels in with_labels()
[all...]
/third_party/node/deps/v8/src/interpreter/
H A Dcontrol-flow-builders.h65 void EmitJump(BytecodeLabels* labels);
67 BytecodeLabels* labels);
69 BytecodeLabels* labels);
70 void EmitJumpIfUndefined(BytecodeLabels* labels);
71 void EmitJumpIfNull(BytecodeLabels* labels);
76 // Unbound labels that identify jumps for break statements in the code.
135 // Unbound labels that identify jumps for continue statements in the code and
139 // Unbound labels that identify jumps for nested inner loops which share the
187 // Unbound labels that identify jumps for case statements in the code.
257 // Unbound labels tha
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_dnn_classify.c43 char **labels; member
57 { "labels", "path to labels file", OFFSET2(labels_filename), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS },
108 if (ctx->labels && label_id < ctx->label_count) { in dnn_classify_post_proc()
109 av_strlcpy(bbox->classify_labels[bbox->classify_count], ctx->labels[label_id], sizeof(bbox->classify_labels[bbox->classify_count])); in dnn_classify_post_proc()
122 av_freep(&ctx->labels[i]); in free_classify_labels()
125 av_freep(&ctx->labels); in free_classify_labels()
174 if (av_dynarray_add_nofree(&ctx->labels, &ctx->label_count, label) < 0) { in read_classify_label_file()
H A Dvf_dnn_detect.c42 char **labels; member
59 { "labels", "path to labels file", OFFSET2(labels_filename), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS },
127 if (ctx->labels && label_id < ctx->label_count) { in dnn_detect_post_proc_ov()
128 av_strlcpy(bbox->detect_label, ctx->labels[label_id], sizeof(bbox->detect_label)); in dnn_detect_post_proc_ov()
203 if (ctx->labels && label_id[i] < ctx->label_count) { in dnn_detect_post_proc_tf()
204 av_strlcpy(bbox->detect_label, ctx->labels[(int)label_id[i]], sizeof(bbox->detect_label)); in dnn_detect_post_proc_tf()
235 av_freep(&ctx->labels[i]); in free_detect_labels()
238 av_freep(&ctx->labels); in free_detect_labels()
287 if (av_dynarray_add_nofree(&ctx->labels, in read_detect_label_file()
[all...]
/third_party/vixl/test/
H A Dtest-pool-manager.cc655 TestBranchObject *labels[], in AddNBranches()
662 labels[i] = new TestBranchObject(veneer_size, veneer_alignment); in AddNBranches()
670 labels[i]->AddReference(ref); in AddNBranches()
672 VIXL_ASSERT(!pool_manager->MustEmit(pc, branch_size, ref, labels[i])); in AddNBranches()
673 pool_manager->AddObjectReference(ref, labels[i]); in AddNBranches()
690 TestBranchObject *labels[kNumBranches]; in TEST() local
696 labels, in TEST()
768 // Finally, bind the labels. in TEST()
770 pc = pool_manager.Bind(&masm, labels[i], pc); in TEST()
771 delete labels[ in TEST()
653 AddNBranches(PoolManager<int32_t> *pool_manager, int32_t pc, TestBranchObject *labels[], int num_branches, int branch_size, int veneer_size, int veneer_alignment, int branch_range) AddNBranches() argument
789 TestBranchObject *labels[kNumBranches]; TEST() local
[all...]
/third_party/node/test/parallel/
H A Dtest-whatwg-encoding-custom-internals.js265 const labels = i[1];
267 labels.forEach((l) => assert.strictEqual(getEncodingFromLabel(l), enc));
/third_party/skia/docs/examples/
H A DPath_Convexity.cpp10 const char* labels[] = { "unknown", "convex", "concave" }; in REG_FIDDLE() local
16 canvas->drawString(labels[(int) path.getConvexity()], 30, 100, paint); in REG_FIDDLE()

Completed in 14 milliseconds

123456