Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 53) sorted by relevance

123

/xnu-11215/tools/trace/
H A Dwqtrace.lua20 local prefix
22 prefix = "→"
24 prefix = "←"
26 prefix = "↔"
110 local prefix = get_prefix(buf)
119 local prefix = get_prefix(buf)
128 local prefix = get_prefix(buf)
134 local prefix = get_prefix(buf)
145 local prefix = get_prefix(buf)
241 prefix, buf[2])
[all …]
H A Dbridgetime.lua41 local prefix = get_prefix(buf, "X")
60 local prefix = get_prefix(buf, ">")
75 local prefix = get_prefix(buf, "-")
82 local prefix = get_prefix(buf, "<")
86 prefix, format_timestamp_arm(buf[1]), format_timestamp_intel(buf[2]))
89 prefix, format_timestamp_arm(buf[1]), format_timestamp_intel(buf[2]))
105 local prefix = get_prefix(buf, "*")
113 prefix, format_timestamp_arm(buf[1]), format_timestamp_arm(buf[3]),
120 local prefix = get_prefix(buf, "?")
131 local prefix = get_prefix(buf, "=")
[all …]
H A Dkqtrace.lua31 local prefix = string.format("%s %6.9f %-17s [%05d.%06x] %-28s\t",
34 prefix = prefix .. string.format(" 0x%16x", buf.arg1)
37 return prefix
214 local prefix = event_prefix_string(buf, workq)
222 printf("%s QoS = %s\n", prefix, qos_string(qos))
224 printf("%s request thread = 0x%x, kqrequest state = %s\n", prefix,
/xnu-11215/libsyscall/xcodescripts/
H A Dfilter_mig.awk27 prefix = ""
35 if (parse_prefix && length(prefix)) {
36 prefix = sprintf("%s\n%s", prefix, $0)
38 prefix = $0
40 templates[$0] = sprintf("%s\n%s", templates[$0], prefix)
42 templates[$0] = prefix
/xnu-11215/osfmk/kern/
H A Dwaitq.h225 #define WAITQ_FLAGS(prefix, ...) \ argument
227 waitq_type_t prefix##_type:3; \
229 prefix##_fifo:1, /* fifo wakeup policy? */ \
230 prefix##_preposted:1 /* queue was preposted */ \
272 #define WAITQ_HDR(prefix, ...) \ argument
273 WAITQ_FLAGS(prefix, __VA_ARGS__); \
274 hw_lck_ticket_t prefix##_interlock; \
275 uint8_t prefix##_padding[sizeof(waitq_flags_t) - \
278 circle_queue_head_t prefix##_queue; \
279 struct priority_queue_sched_max prefix##_prio_queue; \
[all …]
H A Dprintf.c640 const char *prefix = NULL; in __doprnt() local
671 prefix = "0"; in __doprnt()
673 prefix = "0x"; in __doprnt()
687 if (prefix) { in __doprnt()
688 length -= (int)strlen(prefix); in __doprnt()
702 if (prefix) { in __doprnt()
703 while (*prefix) { in __doprnt()
704 (*putc)(*prefix++, arg); in __doprnt()
/xnu-11215/tests/
H A Difnet_overflow.c7 create_interfaces(const char *prefix, int num) in create_interfaces() argument
18 sprintf(ifr.ifr_name, "%s%d", prefix, i); in create_interfaces()
25 sprintf(ifr.ifr_name, "%s%d", prefix, i); in create_interfaces()
29 printf("created %s%d\n", prefix, i); in create_interfaces()
H A Dcarplay_mode.c105 get_coal_debuginfo(uint64_t coal_id, char* prefix) in get_coal_debuginfo() argument
113 prefix, coal_id, in get_coal_debuginfo()
H A Dgame_mode.c106 get_coal_debuginfo(uint64_t coal_id, char* prefix) in get_coal_debuginfo() argument
114 prefix, coal_id, in get_coal_debuginfo()
/xnu-11215/bsd/net/
H A Dcontent_filter_crypto.c24 prefix, name, ptr[0], ptr[1], ptr[2], ptr[3])
29 prefix, name, ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7])
34 …prefix, name, ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7], ptr[8], ptr[9], ptr[…
39 …prefix, name, ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7], ptr[8], ptr[9], ptr[…
41 #define CFIL_CRYPTO_LOG_32BYTES(name, prefix) \ argument
44 …prefix, name, ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7], ptr[8], ptr[9], ptr[…
47 cfil_crypto_print_data(cfil_crypto_data_t data, const char *prefix) in cfil_crypto_print_data() argument
50 CFIL_CRYPTO_LOG(LOG_DEBUG, "%s NE Filter crypto data:", prefix); in cfil_crypto_print_data()
H A Dtrie_utility.c358 uint16_t prefix = trie_node_alloc(trie); in net_trie_insert() local
359 if (prefix == NULL_TRIE_IDX) { in net_trie_insert()
368 TRIE_NODE(trie, prefix).start = TRIE_NODE(trie, current).start; in net_trie_insert()
371 TRIE_NODE(trie, prefix).is_leaf = true; in net_trie_insert()
378 TRIE_NODE(trie, prefix).metadata_length = (uint16_t)metadata_length; in net_trie_insert()
386 TRIE_NODE(trie, prefix).child_map = trie_child_map_alloc(trie); in net_trie_insert()
387 if (TRIE_NODE(trie, prefix).child_map == NULL_TRIE_IDX) { in net_trie_insert()
391 TRIE_CHILD_SET(trie, prefix, TRIE_BYTE(trie, node_idx), current); in net_trie_insert()
394 TRIE_CHILD_SET(trie, parent, TRIE_BYTE(trie, TRIE_NODE(trie, prefix).start), prefix); in net_trie_insert()
398 TRIE_NODE(trie, current).length -= TRIE_NODE(trie, prefix).length; in net_trie_insert()
[all …]
/xnu-11215/bsd/dev/dtrace/
H A Dlockprof.c65 const char *prefix; member
127 snprintf(name, sizeof(name), "%s%llu%s", probes[kind].prefix, count, suffix ?: ""); in probe_create()
167 for (j = 0; probes[j].prefix != NULL; j++) { in lockprof_provide()
174 for (j = 0; probes[j].prefix != NULL; j++) { in lockprof_provide()
201 for (event_id = 0; probes[event_id].prefix != NULL; event_id++) { in lockprof_provide()
202 len = strlen(probes[event_id].prefix); in lockprof_provide()
204 if (strncmp(name, probes[event_id].prefix, len) != 0) { in lockprof_provide()
210 if (probes[event_id].prefix == NULL) { in lockprof_provide()
H A Dprofile_prvd.c310 const char *prefix; in profile_provide() member
371 for (i = 0; types[i].prefix != NULL; i++) { in profile_provide()
372 len = strlen(types[i].prefix); in profile_provide()
374 if (strncmp(name, types[i].prefix, len) != 0) { in profile_provide()
380 if (types[i].prefix == NULL) { in profile_provide()
/xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/
H A DQueryHelpers.h87 …hPrefix(prefix) (CEQueryOperation_t){.opcode = kCEOpMatchStringPrefix, .parameters = {.stringParam… argument
88 …namicPrefix(prefix, len) (CEQueryOperation_t){.opcode = CEDynamic(kCEOpMatchStringPrefix), .parame… argument
/xnu-11215/tools/lldbmacros/
H A Dutils.py360 def GetEnumName(enum_name, value, prefix = ''): argument
394 if name.startswith(prefix):
395 return name[len(prefix):]
398 def GetOptionString(enum_name, value, prefix = ''): argument
433 if name.startswith(prefix):
434 name = name[len(prefix):]
566 def print_hex_data(data, start=0, desc="", marks={}, prefix=" "): argument
597 print("{}{:#016x} {} |{}|".format(prefix, row, line, chars))
H A Dipcimportancedetail.py55 def GetChildSummaries(self, prefix="\t"): argument
58 retval.append(prefix + str(i))
59 retval.append(i.GetChildSummaries(prefix+"\t"))
128 print(base_node.GetChildSummaries(prefix="\t\t"))
H A Dxnu.py539 def GetThreadBackTrace(thread_obj, verbosity = vHUMAN, prefix = ""): argument
559 out_string += prefix + "continuation ="
574 out_string += prefix
597 out_string += prefix
1311 prefix = 's'
1313 prefix = ''
1504 def IterateSysctls(root_oid, prefix="", depth = 0, parent = ""): argument
1508 if prefix != "":
1512 if node_str.startswith(prefix):
1526 prefix_len = min(len(prefix), len(next_parent))
[all …]
H A Dioreg.py750 def ShowRegistryEntryRecurse(entry, prefix, printProps): argument
756 plen = (len(prefix)//2)
761 print("{0:s}{1:s}".format(prefix, GetRegistryEntrySummary(entry)))
764 print(GetRegDictionary(propertyTable, prefix + " | "))
778 …ShowRegistryEntryRecurse(CastIOKitClass(ca.array[idx], 'IORegistryEntry *'), prefix + "| ", printP…
780 …ShowRegistryEntryRecurse(CastIOKitClass(ca.array[idx], 'IORegistryEntry *'), prefix + " ", printP…
1391 def GetRegDictionary(osdict, prefix): argument
1396 out_string = prefix + "{\n"
1401 …out_string += prefix + " " + GetObjectSummary(osdict.dictionary[idx].key) + " = " + GetObjectSumm…
1403 out_string += prefix + "}\n"
H A Dkmtriage.py55 print(GetThreadBackTrace(thread_obj, prefix=" ") + "\n")
H A Dmbufs.py197 def ShowMbuf(prefix, mp, count, total, dump_data_len): argument
217 out_string += mbuf_walk_format.format(prefix, count[0], mp, mhlen, mhtype, mhdata)
232 def WalkMufNext(prefix, mp, count, total, dump_data_len): argument
242 ShowMbuf(prefix, mp, count, total, remaining_len)
269 prefix = "{0:d}.".format(count_packet)
272 WalkMufNext(prefix, mp, count, total, dump_data_len)
299 prefix = ""
300 WalkMufNext(prefix, mp, count, total, dump_data_len)
/xnu-11215/bsd/sys/
H A Dcode_signing_internal.h64 #define __CSM_PREFIX(prefix, name) prefix##_##name argument
65 #define _CSM_PREFIX(prefix, name) __CSM_PREFIX(prefix, name) argument
/xnu-11215/pexpert/gen/
H A Dpe_gen.c151 char const prefix[] = "randseed"; in PE_get_random_seed() local
152 size_t const prefix_len = sizeof(prefix) - 1; in PE_get_random_seed()
168 if (memcmp(random_seed, prefix, prefix_len) != 0) { in PE_get_random_seed()
/xnu-11215/osfmk/i386/
H A Dcpu.c53 const char *processor_to_datastring(const char *prefix, processor_t target_processor);
257 processor_to_datastring(const char *prefix, processor_t target_processor) in processor_to_datastring() argument
270 prefix, in processor_to_datastring()
/xnu-11215/tools/lldbmacros/kmemory/
H A Dbtlog.py79 def symbolicated_frames(self, prefix=" "): argument
80 return (prefix + GetSourceInformationForAddress(pc) for pc in self.frames)
94 print(*self.symbolicated_frames(prefix=" "), sep="\n")
/xnu-11215/bsd/netinet6/
H A Dnd6.c1922 SOCKADDR_COPY(&itr->pr.ndpr_prefix, &nd6_ra_msg_data.prefix.prefix, in nd6_post_msg()
1923 sizeof(nd6_ra_msg_data.prefix.prefix)); in nd6_post_msg()
1924 nd6_ra_msg_data.prefix.raflags = itr->pr.ndpr_raf; in nd6_post_msg()
1926 nd6_ra_msg_data.prefix.origin = PR_ORIG_RA; in nd6_post_msg()
1941 bzero(&nd6_ra_msg_data.prefix, sizeof(nd6_ra_msg_data.prefix)); in nd6_post_msg()
4771 p.prefix = pr->ndpr_prefix;
4772 if (in6_recoverscope(&p.prefix,
4776 &p.prefix.sin6_addr, pbuf, sizeof(pbuf)));
4821 p.prefix = pr->ndpr_prefix;
4822 if (in6_recoverscope(&p.prefix,
[all …]

123