| /xnu-11215/tools/lldbmacros/ |
| H A D | zonetriage.py | 63 values = re.search(zone_element_modified, panic_string) 64 if values is None or 'zone' not in values.group() or 'element' not in values.group(): 66 element = values.group('element') 67 zone = values.group('zone') 106 values = re.search(panic_string_regex, panic_string) 107 if values is None or 'zone' not in values.group(): 109 zone = values.group('zone')
|
| H A D | log.py | 30 def print(*values): argument 32 print(*values) 34 def kvprint(self, key, fmt, *values): argument 39 print(fmt.format(*values)) 258 def values(self, target=None): member in MsgBuffer 265 return len(self.values) 269 return self.values[i] 273 return iter(self.values)
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOReportMacros.h | 96 __vals = (IOSimpleReportValues*)&__elem->values; \ 116 __vals = (IOSimpleReportValues*)&__elem->values; \ 131 __vals = (IOSimpleReportValues*)&__elem->values; \ 202 (((IOSimpleReportValues*)&(((IOReportElement*)(simp_buf))->values)) \ 246 __rep = (IOStateReportValues *) &(__elem->values); \ 282 __rep = (IOStateReportValues*) &(__info->elem[(stateIdx)].values); \ 329 __state = (IOStateReportValues *)&__elem->values; \ 435 __rep = (IOSimpleArrayReportValues *) &(__elem->values); \ 466 __rep = (IOSimpleArrayReportValues *) &(__elem->values); \ 613 __rep = (IOHistogramReportValues *) &(__elem->values); \ [all …]
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOReporterDefs.h | 92 _elements[idx].values.v[0], \ 93 _elements[idx].values.v[1], \ 94 _elements[idx].values.v[2], \ 95 _elements[idx].values.v[3]); \
|
| H A D | IOStateReporter.cpp | 264 IOStateReportValues *values; in _getStateIndices() local 280 if (values == NULL) { in _getStateIndices() 285 if (values->state_id == state_id) { in _getStateIndices() 492 IOStateReportValues *values; in setState() local 504 if (values == NULL) { in setState() 509 if (values->state_id == new_state_id) { in setState() 746 IOStateReportValues *values = NULL; in _getStateValue() local 756 if (state_id == values->state_id) { in _getStateValue() 759 result = values->intransitions; in _getStateValue() 762 result = values->upticks; in _getStateValue() [all …]
|
| H A D | IOSimpleReporter.cpp | 138 IOSimpleReportValues *values = NULL; in getValue() local 145 values = (IOSimpleReportValues *)getElementValues(index); in getValue() 147 if (values != NULL) { in getValue() 148 simple_value = values->simple_value; in getValue()
|
| H A D | IOReporter.cpp | 765 IOReportElementValues *values, in setElementValues() argument 776 if (element_index >= _nElements || values == NULL) { in setElementValues() 781 memcpy(&_elements[element_index].values, values, sizeof(IOReportElementValues)); in setElementValues() 806 elementValues = &_elements[element_index].values; in getElementValues() 893 memcpy(elementValues, &_elements[element_index].values, sizeof(IOReportElementValues)); in copyElementValues()
|
| /xnu-11215/osfmk/voucher/ |
| H A D | ipc_pthread_priority.c | 75 mach_voucher_attr_value_handle_array_t values, 85 mach_voucher_attr_value_handle_array_t values, 218 mach_voucher_attr_value_handle_array_t values, in ipc_pthread_priority_extract_content() argument 232 ipc_pthread_priority_value = HANDLE_TO_IPC_PTHREAD_PRIORITY_VALUE(values[i]); in ipc_pthread_priority_extract_content() 263 mach_voucher_attr_value_handle_array_t __unused values, in ipc_pthread_priority_command() argument
|
| /xnu-11215/libsyscall/wrappers/ |
| H A D | thread_register_state.c | 31 …read_get_register_pointer_values(thread_t thread, uintptr_t *sp, size_t *length, uintptr_t *values) in thread_get_register_pointer_values() argument 36 if (*length > 0 && values == NULL) { in thread_get_register_pointer_values() 73 if (out_length < in_length && values) \ in thread_get_register_pointer_values() 74 values[out_length] = p; \ in thread_get_register_pointer_values()
|
| /xnu-11215/tools/tests/jitter/ |
| H A D | timer_jitter.c | 161 compute_stats(double *values, uint64_t count, double *average_magnitudep, double *maxp, double *min… in compute_stats() argument 171 _sum += fabs(values[i]); in compute_stats() 172 _max = values[i] > _max ? values[i] : _max; in compute_stats() 173 _min = values[i] < _min ? values[i] : _min; in compute_stats() 180 _dev += pow((values[i] - _avg), 2); in compute_stats()
|
| /xnu-11215/tests/ |
| H A D | queue.c | 23 check_queue(queue_t q, int *values, int count) in check_queue() argument 30 T_QUIET; T_EXPECT_EQ(values[i], e->a, "check elem"); in check_queue() 31 values++; in check_queue()
|
| /xnu-11215/doc/vm/ |
| H A D | sanitize.md | 3 Validating parameter values passed to virtual memory APIs primarily from user 23 mathematical operations on these opaque values without calling the 34 The functions that sanitize various types of input values are implemented 231 return their unwrapped safe values. In this function you should call the 281 times with many values for one sanitized parameter (or group of related 286 The trial values in these tests are generally intended to provoke bugs 287 that the sanitizers are supposed to catch. The list of trial values for 289 rounded. The list of trial values for flags like `vm_prot_t` includes at 290 least one trial for every possible set bit. The list of trial values for 368 should be tested. The trials should be exhaustive for small values, and [all …]
|
| /xnu-11215/libkern/c++/ |
| H A D | OSUnserializeXML.y | 465 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH] ) in getTag() 588 values[*attributeCount][length++] = c; in getTag() 597 values[*attributeCount][length] = 0; in getTag() 917 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH]; in yylex() local 942 tagType = getTag(STATE, tag, &attributeCount, attributes, values); in yylex() 963 object->idref = strtol(values[i], NULL, 0); in yylex() 968 object->idref = strtol(values[i], NULL, 0); in yylex() 1003 if (!strcmp(attributes[i], "format") && !strcmp(values[i], "hex")) { in yylex() 1034 object->size = strtoul(values[i], NULL, 0); in yylex() 1058 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END) in yylex() [all …]
|
| /xnu-11215/doc/observability/ |
| H A D | recount.md | 52 … each metric as a column and then uses rows for the groupings, like per-CPU or per-CPU kind values. 54 …default, it prints the times in seconds, but the `-M` flag switches the output to Mach time values. 107 … a generation count odd before updating any of the values and then set it back to even when all va… 108 Readers wait until the generation count becomes even before trying to read the values, and if the c… 121 Unlike the other metrics, the energy counters are not sampled directly by Recount so the values can…
|
| H A D | cpu_counters.md | 23 It can use PMIs from these counters to trigger kperf samples and counter values can be recorded in … 41 And CPU counter values can be sampled by kperf on other triggers, like timers or kdebug events.
|
| /xnu-11215/libsyscall/mach/mach/ |
| H A D | thread_state.h | 60 uintptr_t *sp, size_t *length, uintptr_t *values);
|
| /xnu-11215/iokit/System/ |
| H A D | OSUnserializeXMLSharedImplementation.h | 2076 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH] ) in getTag() 2199 values[*attributeCount][length++] = c; in getTag() 2208 values[*attributeCount][length] = 0; in getTag() 2528 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH]; in yylex() local 2553 tagType = getTag(STATE, tag, &attributeCount, attributes, values); in yylex() 2574 object->idref = strtol(values[i], NULL, 0); in yylex() 2579 object->idref = strtol(values[i], NULL, 0); in yylex() 2614 if (!strcmp(attributes[i], "format") && !strcmp(values[i], "hex")) { in yylex() 2645 object->size = strtoul(values[i], NULL, 0); in yylex() 2669 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END) in yylex() [all …]
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSUnserializeXMLSharedImplementation.h | 2076 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH] ) in getTag() 2199 values[*attributeCount][length++] = c; in getTag() 2208 values[*attributeCount][length] = 0; in getTag() 2528 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH]; in yylex() local 2553 tagType = getTag(STATE, tag, &attributeCount, attributes, values); in yylex() 2574 object->idref = strtol(values[i], NULL, 0); in yylex() 2579 object->idref = strtol(values[i], NULL, 0); in yylex() 2614 if (!strcmp(attributes[i], "format") && !strcmp(values[i], "hex")) { in yylex() 2645 object->size = strtoul(values[i], NULL, 0); in yylex() 2669 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END) in yylex() [all …]
|
| /xnu-11215/osfmk/mach/ |
| H A D | mach_voucher.defs | 54 /* extract a recipe array to reconstitue all the key values in a future voucher */ 67 /* extract a recipe array to reconstitue all the key values in a future voucher */
|
| /xnu-11215/osfmk/bank/ |
| H A D | bank.c | 155 mach_voucher_attr_value_handle_array_t values, 165 mach_voucher_attr_value_handle_array_t values, 646 mach_voucher_attr_value_handle_array_t values, in bank_extract_content() argument 663 bank_handle = values[i]; in bank_extract_content() 715 mach_voucher_attr_value_handle_array_t __unused values, in bank_command() argument 749 bank_handle = values[i]; in bank_command() 784 bank_handle = values[i]; in bank_command() 823 bank_handle = values[i]; in bank_command() 879 bank_handle = values[i]; in bank_command()
|
| /xnu-11215/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 925 compute_stats(uint64_t *values, uint64_t count, float *averagep, uint64_t *maxp, uint64_t *minp, fl… in compute_stats() argument 935 _sum += values[i]; in compute_stats() 936 _max = values[i] > _max ? values[i] : _max; in compute_stats() 937 _min = values[i] < _min ? values[i] : _min; in compute_stats() 944 _dev += powf((((float)values[i]) - _avg), 2); in compute_stats()
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_voucher.c | 518 mach_voucher_attr_value_handle_array_t values, in ivace_lookup_values() argument 535 values[0] = ivace->ivace_value; in ivace_lookup_values() 2417 mach_voucher_attr_value_handle_array_t values, 2427 mach_voucher_attr_value_handle_array_t values, 2666 mach_voucher_attr_value_handle_array_t values, in user_data_extract_content() argument 2681 elem = (user_data_element_t)values[i]; in user_data_extract_content() 2700 mach_voucher_attr_value_handle_array_t __unused values, in user_data_command() argument
|
| /xnu-11215/osfmk/tests/ |
| H A D | README.md | 90 …ort test case SUCCESS/FAILURE. See xnupost.h for `XT_RET* ` style return values. There are conveni… 107 …e determines what action is taken. For example a widget could return either of the following values
|
| /xnu-11215/doc/arm/ |
| H A D | sme.md | 98 immediate values `0` or `1`, which directly modify the specified bit(s) 111 instructions issued by that CPU. ARM guarantees that higher `SMPRI_EL1` values 154 `Z`, `P`, and `SVCR` values and then clears `PSTATE.SM`. xnu later restores 155 these values during kernel exit. These operations occur in an assembly-only
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOService.iig | 66 // values for OSNumber kIOSystemStateHaltDescriptionKey:kIOSystemStateHaltDescriptionHaltStateKey 239 * @param powerFlags The power capabilities of the new state. The values possible are: 252 * @param powerFlags The power capabilities of the new state. The values possible are: 319 …* @param propertyKeys If only certain property values are need, they may be passed in this a… 340 * Supported values are given by the kIOMaxBusStall* enum in IOTypes.h
|