Searched refs:word (Results 1 - 18 of 18) sorted by relevance

/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/
H A Dcc_priv.h219 static inline uint32_t CC_ROL(uint32_t word, int i) argument
222 :"=r" (word)
223 :"0" (word),"c" (i));
224 return word;
227 static inline uint32_t CC_ROR(uint32_t word, int i) argument
230 :"=r" (word)
231 :"0" (word),"c" (i));
232 return word;
236 #define CC_ROLc(word, i) \
237 ({ uint32_t _word=(word); \
257 CC_ROL(uint32_t word, int i) argument
262 CC_ROR(uint32_t word, int i) argument
277 CC_ROL64(uint64_t word, int i) argument
285 CC_ROR64(uint64_t word, int i) argument
317 CC_ROL64(uint64_t word, int i) argument
322 CC_ROR64(uint64_t word, int i) argument
[all...]
/xnu-2422.115.4/libsyscall/wrappers/string/
H A Dmemcpy.c36 * sizeof(word) MUST BE A POWER OF TWO
39 typedef int word; /* "word" used for optimal copy speed */ typedef
41 #define wsize sizeof(word)
87 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize);
108 TLOOP(src -= wsize; dst -= wsize; *(word *)dst = *(word *)src);
H A Dstrlen.c33 * Rationale: it is generally much more efficient to do word length
42 * original word is zero. However, we can further reduce ~1/3 of
50 * Intel T7300 under long mode for strings longer than word length.
61 #error Unsupported word size
88 /* Scan the rest of the string using word sized operation */
/xnu-2422.115.4/osfmk/i386/
H A Dmp.h256 #define i_bit(bit, word) ((long)(*(word)) & (1L << (bit)))
259 i_bit_impl(long word, long bit) { argument
261 return word & bitmask;
263 #define i_bit(bit, word) i_bit_impl((long)(*(word)), bit)
H A Dasm.h139 #define SVC .byte 0x9a; .long 0; .word 0x7
141 #define RPC_SVC .byte 0x9a; .long 0; .word 0xf
144 #define Value .word
/xnu-2422.115.4/bsd/net/pktsched/
H A Dpktsched.h119 __fls(pktsched_bitmap_t word) argument
121 VERIFY(word != 0);
122 return (pktsched_fls(word) - 1);
/xnu-2422.115.4/makedefs/
H A DMakeInc.cmd218 $(word 1,$(1)), \
219 $(word 2,$(1)), \
220 $(word 3,$(1)), \
222 $(if $(word 4,$(1)), \
238 $(word 1,$(subst ^, ,$(1))), \
239 $(word 2,$(subst ^, ,$(1))), \
240 $(word 3,$(subst ^, ,$(1))) \
244 function_extract_kernel_config_from_build_config = $(word 1,$(subst ^, ,$(1)))
245 function_extract_arch_config_from_build_config = $(word 2,$(subst ^, ,$(1)))
246 function_extract_machine_config_from_build_config = $(word
[all...]
/xnu-2422.115.4/osfmk/x86_64/
H A Dstart.s503 movq 2(%rax), %rdx /* GDT base, skip limit word */
548 .word segment
554 .word 0x010f ;\
602 .word 160 /* limit (8*20 segs) */
605 saved_gdt: .word 0
608 saved_es: .word 0
609 saved_fs: .word 0
610 saved_gs: .word 0
611 saved_ss: .word 0
616 saved_idt: .word
[all...]
/xnu-2422.115.4/SETUP/config/
H A Dlexer.l35 int kw_lookup(char *word);
43 * Key word table
178 kw_lookup(char *word)
183 if (eq(word, kp->kt_name))
H A Dmkmakefile.c92 { register const char *word = get_word(fp); \
93 if (word == (char *)EOF) \
96 wd = word; \
/xnu-2422.115.4/bsd/sys/
H A Dsystm.h214 int suword(user_addr_t addr, long word);
215 int suiword(user_addr_t addr, long word);
/xnu-2422.115.4/bsd/vm/
H A Dvm_unix.c316 long word)
318 return (copyout((void *) &word, addr, sizeof(int)) == 0 ? 0 : -1);
323 long word = 0; local
325 if (copyin(addr, (void *) &word, sizeof(int)))
327 return(word);
335 long word)
337 return (copyout((void *) &word, addr, sizeof(int)) == 0 ? 0 : -1);
342 long word = 0; local
344 if (copyin(addr, (void *) &word, sizeof(int)))
346 return(word);
314 suword( user_addr_t addr, long word) argument
333 suiword( user_addr_t addr, long word) argument
354 sulong(user_addr_t addr, int64_t word) argument
[all...]
/xnu-2422.115.4/bsd/hfs/hfscommon/BTree/
H A DBTreeAllocate.c103 Note: We have to examine map nodes a word at a time rather than a long word
107 word aligned) and handled the spare bytes at the beginning and end
268 mapPos += nodeNum >> 4; // point to word containing map bit
300 long words in map records, although they are not long word aligned.
637 u_int16_t word; local
665 if (*pos != 0xFFFF) /* Anything free in this word? */
667 word = SWAP_BE16(*pos);
669 /* Iterate over bits in the word. */
674 if (word
[all...]
H A DBTreeNodeOps.c438 u_int16_t word[8]; member in struct:row
/xnu-2422.115.4/libkern/zlib/
H A Dinflate.c414 # define CRC2(check, word) \
416 hbuf[0] = (unsigned char)(word); \
417 hbuf[1] = (unsigned char)((word) >> 8); \
421 # define CRC4(check, word) \
423 hbuf[0] = (unsigned char)(word); \
424 hbuf[1] = (unsigned char)((word) >> 8); \
425 hbuf[2] = (unsigned char)((word) >> 16); \
426 hbuf[3] = (unsigned char)((word) >> 24); \
/xnu-2422.115.4/osfmk/console/panic_ui/
H A Dsetupdialog.c37 char word[2]; local
/xnu-2422.115.4/osfmk/ipc/
H A Dipc_kmsg.c214 uint32_t *word = (uint32_t *) body; local
219 kprintf(" body(%p-%p):\n %p: ", body, end, word);
221 for (i = 0; i < 8; i++, word++) {
222 if (word >= end) {
226 kprintf("%08x ", *word);
228 kprintf("\n %p: ", word);
1117 * MACH_SEND_MSG_TOO_SMALL Message size not long-word multiple.
/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c1869 register u_int32_t currentWord; // Pointer to current word within bitmap block
1946 // Next word
2059 // Next word
2264 register u_int32_t *currentWord; // Pointer to current word within bitmap block
2267 u_int32_t firstBit; // Bit index within word of first bit to allocate
2268 u_int32_t numBits; // Number of bits in word to allocate
2301 // Pre-read the bitmap block containing the first word of allocation
2326 // If the first block to allocate doesn't start on a word
2327 // boundary in the bitmap, then treat that first word
2334 numBits = kBitsPerWord - firstBit; // number of remaining bits in this word
4139 uint32_t word = block_data[counter]; local
[all...]

Completed in 186 milliseconds