Searched refs:zero (Results 1 - 24 of 24) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/
H A Dstrlen.s31 ; then the simple loop which checks each byte for zero.
40 ; if ( y & z ) = 0 then all bytes in dataWord are non-zero
42 ; The test maps any non-zero byte to zeros and any zero byte to 0x80,
43 ; with one exception: 0x01 bytes preceeding the first zero are also
72 beq LLoop ; if r4 is zero, then all bytes are non-zero
74 ; Now we know one of the bytes in r8 is zero,
78 ; 0x01 bytes preceeding the first zero are also mapped to 0x80.
101 cmpwi cr1,r5,0 ; zero
[all...]
H A Dbcmp.s34 ; Because bcmp returns zero if equal and nonzero otherwise, it is slightly
80 ; r3 = zero if length is zero
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Ddtrace_isa.c275 * If there's no user context we still need to zero the stack.
278 goto zero;
282 goto zero;
325 zero:
401 * If there's no user context we still need to zero the stack.
404 goto zero;
408 goto zero;
499 zero:
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Ddtrace_isa.c288 * If there's no user context we still need to zero the stack.
291 goto zero;
295 goto zero;
333 zero:
402 * If there's no user context we still need to zero the stack.
405 goto zero;
409 goto zero;
491 zero:
H A Dxsumas.s74 ; Partial word at start: zero filled on left, it becomes initial checksum.
85 and r2,r6,r7 ; zero fill on left
241 ; r2 = checksum so far (ie, the zero-filled partial first word)
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/
H A DIOKitBSDInit.cpp230 OSNumber * zero = 0; local
245 zero = OSNumber::withNumber((UInt64) 0, 32);
246 if ( zero == 0 ) break;
258 dict->setObject( "IOInterfaceUnit", zero );
265 if ( zero ) zero->release();
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/
H A Dpe_clock_speed_asm.s102 cmpi cr0, r7, 0 ; if L1 is zero then H1 is good.
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/
H A Dcommpage.c104 vm_offset_t zero = 0; local
139 &zero, // address (map into 1st page in submap)
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/
H A Dcommpage.c199 vm_offset_t zero = 0; local
234 &zero, // address (map into 1st page in submap)
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dnd6.h336 struct nd_opt_hdr *zero; member in struct:nd_opts::__anon335
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dskiplists.s107 rlwinm r5,r5,0,0,19 ; zero low 12 bits of key
136 rldicr r4,r4,0,51 ; zero low 12 bits of mapping va
172 rldicr r10,r10,0,51 ; zero low 12 bits of mapping va
224 rlwinm r4,r4,0,0,19 ; zero low 12 bits of mapping va
260 rlwinm r10,r10,0,0,19 ; zero low 12 bits of block mapping va
342 rlwinm r5,r5,0,0,19 ; zero low 12 bits of key
386 rldicr r4,r4,0,51 ; zero low 12 bits of mapping va
469 rlwinm r4,r4,0,0,19 ; zero low 12 bits of mapping va
804 subfic r10,r9,32 ; r10 <- trailing zero count
1102 rldicr r30,r30,0,51 ; zero lo
[all...]
H A Dhw_lock.s173 li r8,0 ; Set r8 to zero
196 mr. r8,r8 ; Is r8 set to zero
338 mr. r10,r10 ; Is r10 set to zero
379 li r10,1 ; Make sure this is non-zero
925 mr. r8,r8 ; Test for zero
1025 mtcrf 1,r0 ; Set cr7 to zero
1042 mlckspin2: mr. r8,r8 ; Is r8 set to zero
1045 mr. r9,r9 ; Is r9 set to zero
1241 mr. r8,r8 ; Test for zero
1330 mtcrf 1,r0 ; Set cr7 to zero
[all...]
H A Dcswtch.s68 stw r0,FM_BACKPTR(r1) /* zero backptr */
663 sub r0,r0,r22 ; Non-zero if we lost ownership, 0 if not
664 xor r11,r11,r30 ; Non-zero if saved context changed, 0 if not
665 xor r18,r18,r16 ; Non-zero if cpu changed, 0 if not
1081 * to zero instead.
1197 bne++ cr1,vsretlk ; VRsave is non-zero so we need to keep what is saved...
1219 vsneedone: beq-- cr1,vsclrlive ; VRSave is zero, go blow away the context...
1396 sub r0,r0,r22 ; Non-zero if we lost ownership, 0 if not
1397 xor r11,r11,r30 ; Non-zero if saved context changed, 0 if not
1398 xor r18,r18,r16 ; Non-zero i
[all...]
H A Dstart.s622 mtspr l2cr,r11 ; Make sure L2CR is zero
694 init745Xhl3: cmplwi cr0,r13,0 ; No L3 if L3CR is zero
768 rlwinm. r14, r13, 0, 20, 23 ; Is the pdet value zero
904 ; .short ptRevision - Revision code from PVR. A zero value denotes the generic attributes if not specific
H A Dhw_exception.s611 cmplwi r8,0 ; Is kdebug_enable non-zero
893 * get the value of istackptr, if it's zero then we're already on the
1063 bne .L_no_int_ast ; Do not preempt if level is not zero
1223 ; Therefore, we will use the defer level if it is non-zero and we are
1477 bne chkifuser ; If high order is non-zero, this is too big for a decrementer
1718 chokestart: li r0,0 ; Get a zero
H A Dvmachmon_asm.s370 subi r4,r4,1 ; Switch to zero offset
580 li r0,0 ; Get a zero
648 li r0,0 ; Get a zero
777 li r0,0 ; Get a zero
844 li r0,0 ; Get a zero
H A Dlowmem_vectors.s315 * Decrementer - DEC register has passed zero.
359 ; 0x01 - zero, as scTable is an array of shorts
1404 li r22,0 ; r22: zero
1744 li r22,0 ; r22: zero
2593 sth r3,ppInvSeg(r2) ; Store non-zero to trigger SLB reload
2862 crandc cr0_eq,cr1_eq,cr0_eq ; If we are injecting, ijsave will be non-zero and we had the trap bit set
2988 nonullify: li r0,0 ; Get a zero
3493 li r27,0 ; Get a zero
H A Dmachine_routines_asm.s2082 lis r3, hi16(PowerTuneControlReg) ; Write zero to the PCR
2244 ; ASM Callers: data (r4) can be zero and the 64 bit data will be returned in r5
H A DEmulate.s956 ; Data cache block zero
H A Dsavearea_asm.s1547 rlwinm r3,r3,0,0,31 ; if 64-bit, zero upper half of virtual address
H A Dhw_vm.s909 addi r25,r25,1 ; Account for zero-based counting
914 subi r25,r25,1 ; Convert back to zero-based counting
1245 addi r25,r25,1 ; Account for zero-based counting
1250 subi r25,r25,1 ; Convert back to zero-based counting
4957 /* int mapalc2(struct mappingblok *mb) - Finds, allocates, and zero's a free 2-bit mapping entry
4965 * the mapping is zero'd out before return
5003 dcbz r6,r12 ; zero out the 128-byte mapping
6773 li r2,0 ; Get a zero
8527 ; R3 is set to 0 for success, non-zero for failure
8575 bne-- sxlkPkill ; No, just fail (R3 is non-zero)
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Dmakedis.c1404 char zero, one; local
1412 zero = ' ';
1416 zero = '0';
1421 putc((value & i) ? one : zero, f);
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_vfsops.c112 u_char zero; member in struct:CDTOC_Desc
988 * file. Return non-zero if it appears to be a video file.
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace.c169 * well-known, zero-filled memory. While this variable is not documented,
172 const char dtrace_zero[256] = { 0 }; /* zero-filled memory */
625 * that the counter is never zero when we have seen
1689 int i, zero = DTRACE_QUANTIZE_ZEROBUCKET;
1693 for (i = 0; i < zero; i++) {
1700 for (i = zero + 1; i < DTRACE_QUANTIZE_NBUCKETS; i++) {
1952 * We didn't find it. We need to allocate some zero-filled space,
1954 * to the (zero-filled) value.
2131 * buffer offset is non-zero, we know that the one CPU
2415 * Check the offset in the buffer; if it's non-zero,
[all...]

Completed in 139 milliseconds