Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 52) sorted by relevance

123

/xnu-11215/libkern/stdio/
H A Dscanf.c170 width = 0; in vsscanf()
217 width = width * 10 + c - '0'; in vsscanf()
328 width = 1; in vsscanf()
336 width -= n; in vsscanf()
344 inr -= width; in vsscanf()
345 inp += width; in vsscanf()
352 inr -= width; in vsscanf()
353 inp += width; in vsscanf()
354 nread += width; in vsscanf()
453 if (width <= 0 || width > (ssize_t)(sizeof(buf) - 1)) { in vsscanf()
[all …]
/xnu-11215/osfmk/arm64/
H A Diofilter.c38 int io_filter_main(uint64_t addr, uint64_t value, uint64_t width, unsigned int io_attr_index, unsig…
42 io_filter_write(uint64_t addr, uint64_t value, uint64_t width, unsigned int io_attr_index, unsigned… in io_filter_write() argument
72 if (__improbable(pa < io_range->addr || (pa + width) > (io_range->addr + io_range->len))) { in io_filter_write()
84 const uint16_t pa_length = (uint16_t) width; in io_filter_write()
91 switch (width) { in io_filter_write()
113 io_filter_main(uint64_t addr, uint64_t value, uint64_t width, unsigned int io_attr_index, unsigned … in io_filter_main() argument
116 if ((width != 1) && (width != 2) && (width != 4) && (width != 8)) { in io_filter_main()
121 if ((width != 1) && ((addr & (width - 1)) != 0)) { in io_filter_main()
125 return io_filter_write(addr, value, width, io_attr_index, io_filter_entry_index); in io_filter_main()
/xnu-11215/libsyscall/mach/
H A Dstring.c59 int width = _mach_strlen(cp); in _mach_hex() local
60 while (width > 0 && length > 0) { in _mach_hex()
63 width--; in _mach_hex()
71 int width, max = length; in _mach_vsnprintf() local
92 width = _mach_strlen(cp); in _mach_vsnprintf()
93 while (width > 0 && length > 0) { in _mach_vsnprintf()
95 width--; in _mach_vsnprintf()
/xnu-11215/osfmk/console/art/
H A Dscalegear.c46 vs.width = kGearWidth * 2; in main()
48 vs.rowBytes = vs.width * sizeof(uint32_t); in main()
51 vd.width = 1.5 * vs.width; in main()
53 vd.rowBytes = vd.width * sizeof(uint32_t); in main()
56 for (i = 0; i < vs.width * vs.height; i++) { in main()
70 for (i = 0; i < vd.width * vd.height; i++) { in main()
H A Dprogress.m46 void print_buffer (uint8_t * buffer, size_t width, size_t height, size_t row)
52 for (int x = 0; x < width; x++)
78 size_t image_length = (int)imageSize.width * (int)imageSize.height;
88 for (int x = 0; x < imageSize.width; x++) {
118 assert(w <= imageSize.width);
121 print_buffer (uncompressed_alpha_buffer, w, h, imageSize.width);
/xnu-11215/san/memory/
H A Dkasan-report.c103 kasan_report_internal(uptr p, uptr width, access_t access, violation_t reason, bool dopanic) in kasan_report_internal() argument
111 n += kasan_impl_decode_issue(buf, len, p, width, access, reason); in kasan_report_internal()
118 kasan_panic_report_internal(uptr p, uptr width, access_t access, violation_t reason) in kasan_panic_report_internal() argument
120 kasan_report_internal(p, width, access, reason, true); in kasan_panic_report_internal()
124 kasan_log_report_internal(uptr p, uptr width, access_t access, violation_t reason) in kasan_log_report_internal() argument
126 kasan_report_internal(p, width, access, reason, false); in kasan_log_report_internal()
132 kasan_crash_report(uptr p, uptr width, access_t access, violation_t reason) in kasan_crash_report() argument
135 kasan_panic_report_internal(p, width, access, reason); in kasan_crash_report()
141 kasan_log_report(uptr p, uptr width, access_t access, violation_t reason) in kasan_log_report() argument
150 kasan_log_report_internal(p, width, access, reason); in kasan_log_report()
H A Dkasan-tbi.c172 kasan_impl_decode_issue(char *logbuf, size_t bufsize, uptr p, uptr width, access_t access, violatio… in kasan_impl_decode_issue() argument
177 width, kasan_tbi_decode_access(access), p); in kasan_impl_decode_issue()
187 uptr width = KASAN_TBI_GET_SIZE(esr); in kasan_handle_brk_failure() local
197 kasan_crash_report(addr, width, access, REASON_MOD_OOB); in kasan_handle_brk_failure()
/xnu-11215/iokit/Kernel/
H A DIOHibernateRestoreKernel.c1008 width = 0; in hibkvprintf()
1038 if (width < 0) { in hibkvprintf()
1040 width = -width; in hibkvprintf()
1063 width = n; in hibkvprintf()
1101 if (!width) { in hibkvprintf()
1102 width = 16; in hibkvprintf()
1104 while (width--) { in hibkvprintf()
1108 if (width) { in hibkvprintf()
1187 width -= n; in hibkvprintf()
1293 if (!ladjust && width && (width -= tmp) > 0) { in hibkvprintf()
[all …]
/xnu-11215/osfmk/console/
H A Dvideo_console.c1866 int width, int height,
2251 uint32_t width; member
2419 width = desc->width; in vc_display_icon()
2427 vc_blit_rect( x, y, 0, width, height, width, height, width, 0, data, NULL, kDataIndexed ); in vc_display_icon()
2664 width = (vc_progress->width * vc_uiscale); in vc_progress_task()
2693 x -= (width / 2); in vc_progress_task()
2714 width, height, width, height, width, width, in vc_progress_task()
3151 rectH = width; in vc_draw_progress_meter()
3158 rectW = width; in vc_draw_progress_meter()
3167 rectH = width; in vc_draw_progress_meter()
[all …]
H A Dvideo_console.h110 int width; member
/xnu-11215/tools/lldbmacros/
H A Dmacho.py266 def __init__(self, name, width=40): argument
268 self.width = 40
272 return '+' + '-' * (self.width - 2) + '+'
275 return '|' + ' ' * (self.width - 2) + '|'
278 return '|' + '-' * (self.width - 2) + '|'
281 return '|' + '.' * (self.width - 2) + '|'
295 return ['/' + ' ' * (self.width - 2) + '/', '/' + ' ' * (self.width - 2) + '/']
334 if self.default_side_padding + len(_b.name) + 2 > self.width:
335 self.width = self.default_side_padding + len(_b.name) + 2
336 if self.width % 2 != 0:
[all …]
H A Dktrace.py195 width = 2
199 width = 4
203 width = 8
218 prefix=prefix, id=id, width=width, suffix=suffix)
/xnu-11215/pexpert/i386/
H A Dpe_init.c146 default_noroot.width = bootPict->width; in PE_init_iokit()
171 default_noroot.width = kFailedBootWidth; in PE_init_iokit()
291 uint32_t width = norootIcon_lzss->width; in PE_display_icon() local
293 uint32_t x = ((PE_state.video.v_width - width) / 2); in PE_display_icon()
296 vc_display_lzss_icon(x, y, width, height, in PE_display_icon()
/xnu-11215/pexpert/arm/
H A Dpe_init.c280 default_noroot.width = bootPict->width; in PE_init_iokit()
323 image_size = default_progress.width; in PE_init_iokit()
810 uint32_t tmp, width, height; in pe_prepare_images()
814 width = default_progress.width; in pe_prepare_images()
819 new_data = kalloc(width * height * scale * scale); in pe_prepare_images()
824 for (cnt2 = 0; cnt2 < width; cnt2++) { in pe_prepare_images()
828 new_data[width * scale * cnt3 + cnt4] = data; in pe_prepare_images()
833 new_data += width * scale * (scale - 1); in pe_prepare_images()
835 default_progress.width *= scale; in pe_prepare_images()
/xnu-11215/EXTERNAL_HEADERS/architecture/i386/
H A Dreg_help.h52 #define MKMASK(width, offset) (((unsigned)-1)>>(32-(width))<<(offset)) argument
/xnu-11215/osfmk/kern/
H A Dbits.h55 #define mask(width) (width >= 64 ? -1ULL : (BIT(width) - 1)) argument
56 #define extract(x, shift, width) ((((uint64_t)(x)) >> (shift)) & mask(width)) argument
/xnu-11215/pexpert/pexpert/
H A Dpe_images.h33 unsigned int width; member
/xnu-11215/bsd/dev/
H A Dkmreg_com.h69 unsigned short width; /* Width and height of rect to be imaged, member
/xnu-11215/tools/cocci/
H A Dzalloc-data.cocci2 // $ spatch --max-width=80 --use-gitgrep --in-place --include-headers --sp-file tools/cocci/zalloc.…
H A Dzalloc-zero.cocci2 // $ spatch --max-width=80 --use-gitgrep --in-place --include-headers --sp-file tools/cocci/zalloc.…
H A Dzalloc-nofail.cocci2 // $ spatch --max-width=80 --use-gitgrep --in-place --include-headers --sp-file tools/cocci/zalloc.…
H A Dc11_atomic_builtin_rewrite.cocci2 // $ spatch --max-width=120 --use-gitgrep --in-place --include-headers --sp-file tools/cocci/c11_at…
H A Dhw_atomic_rewrite.cocci2 // $ spatch --max-width=120 --use-gitgrep --in-place --include-headers --sp-file tools/cocci/hw_ato…
H A Dos_atomic_normalize.cocci2 // $ spatch --max-width=120 --use-gitgrep --in-place --include-headers --sp-file tools/cocci/os_ato…
/xnu-11215/pexpert/pexpert/i386/
H A Dboot.h113 unsigned int width; member

123