Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 34) sorted by relevance

12

/xnu-11215/libkern/kxld/
H A DWKdmDecompress.c36 WK_word temp = input_next[0]; in WK_unpack_2bits() local
38 output_next[0] = temp & packing_mask; in WK_unpack_2bits()
39 output_next[1] = (temp >> 2) & packing_mask; in WK_unpack_2bits()
71 WK_word temp = input_next[0]; in WK_unpack_4bits() local
73 output_next[0] = temp & packing_mask; in WK_unpack_4bits()
100 WK_word temp = input_next[0]; in WK_unpack_3_tenbits() local
102 output_next[0] = temp & packing_mask; in WK_unpack_3_tenbits()
104 output_next[2] = temp >> 20; in WK_unpack_3_tenbits()
239 WK_word temp = *dict_location; in WKdm_decompress() local
242 temp = ((temp >> NUM_LOW_BITS) << NUM_LOW_BITS); in WKdm_decompress()
[all …]
H A DWKdmCompress.c22 WK_word temp = src_next[0]; in WK_pack_2bits() local
23 temp |= (src_next[1] << 2); in WK_pack_2bits()
24 temp |= (src_next[2] << 4); in WK_pack_2bits()
25 temp |= (src_next[3] << 6); in WK_pack_2bits()
27 dest_next[0] = temp; in WK_pack_2bits()
51 WK_word temp = src_next[0]; in WK_pack_4bits() local
52 temp |= (src_next[1] << 4); in WK_pack_4bits()
54 dest_next[0] = temp; in WK_pack_4bits()
76 WK_word temp = src_next[0]; in WK_pack_3_tenbits() local
77 temp |= (src_next[1] << 10); in WK_pack_3_tenbits()
[all …]
/xnu-11215/bsd/dev/dtrace/
H A Ddtrace_ptss.c61 if (temp == NULL) { in dtrace_ptss_claim_entry_locked()
86 …if (!OSCompareAndSwapPtr((void *)temp, (void *)temp->next, (void * volatile *)&p->p_dtrace_ptss_fr… in dtrace_ptss_claim_entry_locked()
91 entry = temp; in dtrace_ptss_claim_entry_locked()
114 if (temp == NULL) { in dtrace_ptss_claim_entry()
118 return temp; in dtrace_ptss_claim_entry()
127 entry = temp; in dtrace_ptss_claim_entry()
321 while (temp != NULL) { in dtrace_ptss_exec_exit()
330 temp = next; in dtrace_ptss_exec_exit()
365 while (temp != NULL) { in dtrace_ptss_fork()
367 dtrace_ptss_free_page(child, temp); in dtrace_ptss_fork()
[all …]
/xnu-11215/osfmk/i386/
H A Dbsd_i386_native.c185 struct fake_descriptor temp; in thread_set_user_ldt() local
200 temp.offset = address; in thread_set_user_ldt()
201 temp.lim_or_seg = size; in thread_set_user_ldt()
202 temp.size_or_wdct = SZ_32; in thread_set_user_ldt()
203 temp.access = ACC_P | ACC_PL_U | ACC_DATA_W; in thread_set_user_ldt()
206 fix_desc(&temp, 1); in thread_set_user_ldt()
209 pcb->uldt_desc = *(struct real_descriptor*)&temp; in thread_set_user_ldt()
213 *ldt_desc_p(USER_SETTABLE) = *(struct real_descriptor*)&temp; in thread_set_user_ldt()
/xnu-11215/libkern/c++/
H A DOSNumber.cpp246 char temp[32]; in serialize() local
252 snprintf(temp, sizeof(temp), "integer size=\"%d\"", size); in serialize()
253 if (!s->addXMLStartTag(this, temp)) { in serialize()
259 snprintf(temp, sizeof(temp), "0x%lx%08lx", (unsigned long)(value >> 32), in serialize()
262 snprintf(temp, sizeof(temp), "0x%lx", (unsigned long)value); in serialize()
264 if (!s->addString(temp)) { in serialize()
H A DOSSerialize.cpp90 char temp[16]; in previouslySerialized() local
104 snprintf(temp, sizeof(temp), "%u", tagIdx); in previouslySerialized()
105 addString(temp); in previouslySerialized()
119 char temp[16]; in addXMLStartTag() local
138 snprintf(temp, sizeof(temp), "%u", tagIdx); in addXMLStartTag()
139 if (!addString(temp)) { in addXMLStartTag()
H A DOSUnserialize.y526 object_t *temp, *last = o; in buildOSDictionary() local
553 temp = o; in buildOSDictionary()
555 freeObject(temp); in buildOSDictionary()
563 object_t *temp, *last = o; in buildOSArray() local
579 temp = o; in buildOSArray()
581 freeObject(temp); in buildOSArray()
H A DOSUnserialize.cpp2176 object_t *temp, *last = o; in buildOSDictionary() local
2203 temp = o; in buildOSDictionary()
2205 freeObject(temp); in buildOSDictionary()
2213 object_t *temp, *last = o; in buildOSArray() local
2229 temp = o; in buildOSArray()
2231 freeObject(temp); in buildOSArray()
/xnu-11215/iokit/Kernel/
H A DIOPMPowerSourceList.cpp120 IOPMPowerSource * temp; in removeFromList() local
134 temp = item->nextInList; in removeFromList()
135 item->nextInList = temp->nextInList; in removeFromList()
137 temp->release(); in removeFromList()
H A DIOPMinformeeList.cpp145 IOPMinformee * temp; in removeFromList() local
166 temp = item->nextInList; in removeFromList()
167 item->nextInList = temp->nextInList; in removeFromList()
169 temp->release(); in removeFromList()
H A DIONVRAM.cpp458 uuid_string_t temp = {0}; in parseVariableName() local
464 if (keyLen > sizeof(temp)) { in parseVariableName()
466 memcpy(temp, key, sizeof(temp) - 1); in parseVariableName()
468 if ((uuid_parse(temp, guid) == 0) && in parseVariableName()
469 (key[sizeof(temp) - 1] == ':')) { in parseVariableName()
470 name = key + sizeof(temp); in parseVariableName()
H A DIORegistryEntry.cpp1530 char temp[kIOMaxPlaneName + 1]; in dealiasPath() local
1542 strlcpy( temp, path, end - path + 1 ); in dealiasPath()
1547 data = (OSData *) entry->getProperty( temp ); in dealiasPath()
1578 char temp[kIOMaxPlaneName + 1]; in fromPath() local
1588 strlcpy( temp, path, end - path + 1 ); in fromPath()
1589 plane = getPlane( temp ); in fromPath()
H A DIOPlatformExpert.cpp2018 char* temp; in createSystemSerialNumberString() local
2024 temp = (char*)serialNumber; in createSystemSerialNumberString()
2027 while (pos < serialNumberSize && temp[pos] != '-') { in createSystemSerialNumberString()
/xnu-11215/bsd/netinet/
H A Dtcp_sack.c430 struct sackhole *cur, *temp; in tcp_sack_doack() local
538 if (temp != NULL) { in tcp_sack_doack()
604 temp = cur; in tcp_sack_doack()
606 tcp_sackhole_remove(tp, temp); in tcp_sack_doack()
638 if (temp != NULL) { in tcp_sack_doack()
641 temp->rxmit = cur->rxmit; in tcp_sack_doack()
643 += (temp->rxmit in tcp_sack_doack()
644 - temp->start); in tcp_sack_doack()
655 temp->rxmit_start = cur->rxmit_start; in tcp_sack_doack()
727 struct sackhole *temp; in tcp_sack_partialack() local
[all …]
/xnu-11215/osfmk/bank/
H A Dbank.c1481 int64_t temp = 0; in bank_billed_balance() local
1495 cpu_balance += temp; in bank_billed_balance()
1505 energy_balance += temp; in bank_billed_balance()
1510 temp = 0; in bank_billed_balance()
1513 cpu_balance += temp; in bank_billed_balance()
1523 energy_balance += temp; in bank_billed_balance()
1589 int64_t temp = 0; in bank_serviced_balance() local
1606 cpu_balance += temp; in bank_serviced_balance()
1616 energy_balance += temp; in bank_serviced_balance()
1621 temp = 0; in bank_serviced_balance()
[all …]
/xnu-11215/bsd/vfs/
H A Dvfs_disk_conditioner.c132 double temp = (((double)extents * (double)info->access_time_usec) * access_time_scale); in disk_conditioner_delay() local
133 if (temp <= 0) { in disk_conditioner_delay()
135 …} else if (temp >= (double)(18446744073709549568ULL)) { /* highest 64-bit unsigned integer represe… in disk_conditioner_delay()
138 delay_usec = (uint64_t)temp; in disk_conditioner_delay()
H A Dvfs_subr.c4443 u_int64_t temp; in vfs_init_io_attributes() local
4570 temp = (temp > UINT32_MAX) ? UINT32_MAX : temp; in vfs_init_io_attributes()
4583 temp = (temp > UINT32_MAX) ? UINT32_MAX : temp; in vfs_init_io_attributes()
4595 if (temp > UINT16_MAX) { in vfs_init_io_attributes()
4596 temp = UINT16_MAX; in vfs_init_io_attributes()
4606 if (temp > UINT16_MAX) { in vfs_init_io_attributes()
4607 temp = UINT16_MAX; in vfs_init_io_attributes()
4629 temp = 0; in vfs_init_io_attributes()
4635 temp = ioqueue_depth; in vfs_init_io_attributes()
5006 long temp; in sysctl_vfs_ctlbyfsid() local
[all …]
/xnu-11215/bsd/security/audit/
H A Daudit_worker.c139 uint64_t temp; in audit_record_write() local
206 temp = mnt_stat->f_blocks / (100 / audit_qctrl.aq_minfree); in audit_record_write()
207 if (mnt_stat->f_bfree < temp && in audit_record_write()
/xnu-11215/bsd/kern/
H A Dkdebug.c368 struct kd_coproc* temp = coproc; in _coproc_list_check() local
370 assert(!temp->next || temp->next->cpu_id == temp->cpu_id - 1); in _coproc_list_check()
371 assert(temp->next || (temp->cpu_id == kdbg_cpu_count())); in _coproc_list_check()
372 } while ((temp = temp->next)); in _coproc_list_check()
375 temp = coproc; in _coproc_list_check()
377 assert(temp->callback.func); in _coproc_list_check()
378 assert(strlen(temp->callback.iop_name) < sizeof(temp->callback.iop_name)); in _coproc_list_check()
379 } while ((temp = temp->next)); in _coproc_list_check()
2038 size_t temp = pad_size; in _write_legacy_header() local
2039 errno_t error = _copy_cpu_map(RAW_VERSION1, &pad_buf, &temp); in _write_legacy_header()
H A Dkern_aio.c1056 struct user64_timespec temp; in aio_suspend_nocancel() local
1057 error = copyin(uap->timeoutp, &temp, sizeof(temp)); in aio_suspend_nocancel()
1059 ts.tv_sec = (user_time_t)temp.tv_sec; in aio_suspend_nocancel()
1060 ts.tv_nsec = (user_long_t)temp.tv_nsec; in aio_suspend_nocancel()
1063 struct user32_timespec temp; in aio_suspend_nocancel() local
1064 error = copyin(uap->timeoutp, &temp, sizeof(temp)); in aio_suspend_nocancel()
1066 ts.tv_sec = temp.tv_sec; in aio_suspend_nocancel()
1067 ts.tv_nsec = temp.tv_nsec; in aio_suspend_nocancel()
/xnu-11215/osfmk/arm/
H A Drtclock.c129 uint64_t temp = t64_2; in timebase_callback() local
131 t64_1 = temp; in timebase_callback()
H A Dmodel_dep.c620 thread_t temp = top_runnable[k]; in do_print_all_backtraces() local
622 comparison_thread = temp; in do_print_all_backtraces()
/xnu-11215/bsd/skywalk/mem/
H A Dskmem_cache.c2417 caddr_t temp; variable
2418 temp = sk_alloc_data(buffer_space, Z_WAITOK, skmem_tag_cache_mib);
2419 if (__improbable(temp == NULL)) {
2422 buffer = temp;
H A Dskmem_arena.c2000 caddr_t temp; variable
2001 temp = sk_alloc_data(buffer_space, Z_WAITOK, skmem_tag_arena_mib);
2002 if (__improbable(temp == NULL)) {
2005 buffer = temp;
H A Dskmem_region.c2173 caddr_t temp; variable
2174 temp = sk_alloc_data(buffer_space, Z_WAITOK, skmem_tag_region_mib);
2175 if (__improbable(temp == NULL)) {
2178 buffer = temp;

12