/haiku/src/system/libroot/posix/glibc/stdlib/ |
H A D | erand48_r.c | 31 union ieee754_double temp; local 40 temp.ieee.negative = 0; 41 temp.ieee.exponent = IEEE754_DOUBLE_BIAS; 42 temp.ieee.mantissa0 = (xsubi[2] << 4) | (xsubi[1] >> 12); 43 temp.ieee.mantissa1 = ((xsubi[1] & 0xfff) << 20) | (xsubi[0] << 4); 46 *result = temp.d - 1.0;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwn_calib.c | 55 uint8_t temp; local 70 temp = rtwn_temp_read(sc); 71 if (temp == 0) { /* Read failed, skip. */ 79 sc->thcal_temp, temp); 89 sc->thcal_temp = temp; 90 } else if (abs(temp - sc->thcal_temp) > sc->temp_delta) { 92 "%s: LC/IQ calib triggered by temp: %u -> %u\n", 93 __func__, sc->thcal_temp, temp); 99 sc->thcal_temp = temp;
|
/haiku/src/kits/debugger/source_language/c_family/ |
H A D | CLanguageExpressionEvaluator.cpp | 340 Operand temp = rhs; local 341 _ResolveTypesIfNeeded(temp); 347 + temp.fPrimitive.ToInt8())); 354 + temp.fPrimitive.ToUInt8())); 361 + temp.fPrimitive.ToInt16())); 368 + temp.fPrimitive.ToUInt16())); 375 + temp.fPrimitive.ToInt32()); 382 + temp.fPrimitive.ToUInt32()); 389 + temp.fPrimitive.ToInt64()); 396 + temp 420 Operand temp = rhs; local 500 Operand temp = rhs; local 580 Operand temp = rhs; local 660 Operand temp = rhs; local 726 Operand temp = rhs; local 792 Operand temp = rhs; local 858 Operand temp = rhs; local 1053 Operand temp = rhs; local 1826 BString temp; local [all...] |
H A D | CLanguageTokenizer.cpp | 117 BString temp; 123 temp << *fCurrentChar; 131 temp << '.'; 136 temp << *fCurrentChar; 151 BString test = temp; 164 fCurrentToken.value.SetTo((int64)strtoll(temp.String(), NULL, 10));
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | jn.c | 45 double a, b, temp; local 90 case 0: temp = -cos(x)+sin(x); break; 91 case 1: temp = -cos(x)-sin(x); break; 92 case 2: temp = cos(x)-sin(x); break; 94 case 3: temp = cos(x)+sin(x); break; 96 b = invsqrtpi*temp/sqrt(x); 102 temp = b; 104 a = temp; 115 temp = x*0.5; 116 b = temp; 219 double a, b, temp; local [all...] |
H A D | jnf.c | 23 float a, b, temp; local 53 temp = b; 55 a = temp; 64 temp = 0.5f * x; 65 b = temp; 69 b *= temp; /* b = (x/2)^n */ 134 temp = b; 136 a = temp; 140 temp = b; 142 a = temp; 166 float a, b, temp; local [all...] |
/haiku/src/system/kernel/util/ |
H A D | queue.cpp | 38 queue_element *temp, *last = NULL; local 40 temp = (queue_element *)q->head; 41 while (temp) { 42 if (temp == elem) { 44 last->next = temp->next; 46 q->head = (queue_element*)temp->next; 48 if (q->tail == temp) 53 last = temp; 54 temp = (queue_element*)temp [all...] |
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_crtc2.c | 15 uint32 temp; local 52 temp = (0xfff << 16); 53 if (!(target.timing.flags & B_POSITIVE_HSYNC)) temp |= (0x01 << 8); 54 if (!(target.timing.flags & B_POSITIVE_VSYNC)) temp |= (0x01 << 9); 55 CR2W(MISC, temp); 133 temp = (0xfff << 16); 134 if (!(tv_mode.timing.flags & B_POSITIVE_HSYNC)) temp |= (0x01 << 8); 135 if (!(tv_mode.timing.flags & B_POSITIVE_VSYNC)) temp |= (0x01 << 9); 136 CR2W(MISC, temp); 191 uint8 temp local [all...] |
/haiku/src/add-ons/translators/gif/ |
H A D | SFHash.cpp | 63 HashItem* temp = main_array[pos]; local 64 while (temp->next != NULL) temp = temp->next; 65 temp->next = item;
|
/haiku/src/add-ons/input_server/filters/shortcut_catcher/ |
H A D | ParseCommandLine.cpp | 72 bool temp = (*string == '\\') ? !afterBackslash : false; local 92 afterBackslash = temp; 155 char* temp = str; local 156 while (*temp) { 157 if (*temp == GUNK_CHAR) 158 *temp = ' '; 160 temp++; 189 char* temp = (char*) wordlist.ItemAt(i); local 190 argv[i] = new char[strlen(temp) + 1]; 191 strcpy(argv[i], temp); [all...] |
H A D | CommandActuators.cpp | 116 const char* temp; local 118 while (from->FindString("largv", idx++, &temp) == B_OK) { 119 if (temp) { 120 char* copy = new char[strlen(temp) + 1]; 121 strcpy(copy, temp); 617 int32 temp; local 618 for (int32 i = 0; from->FindInt32("ooffsets", i, &temp) == B_OK; i++) { 619 fOverrideOffsets.AddItem((void*)(addr_t)temp); 621 if (from->FindInt32("overrides", i, &temp) != B_OK) 622 temp 973 const char* temp; local 1323 char* temp = new char[strlen(arg) + 1]; local 1630 const char* temp; local [all...] |
/haiku/src/apps/resedit/ |
H A D | ResourceRoster.cpp | 23 // For the MakeFieldForType temp code 130 char *temp; local 131 if (get_image_symbol(addon, "description", B_SYMBOL_TYPE_DATA, (void **)(&temp)) != B_OK) { 138 delete temp; 143 if (createFunc && temp) 144 fList.AddItem(new EditorInfo(addon, temp, createFunc)); 146 delete temp;
|
/haiku/src/tests/servers/app/newClipping/ |
H A D | main.cpp | 177 BRegion temp; local 178 window->GetWantedRegion(temp); 179 topLayer->RebuildVisibleRegions(temp, window); 401 BRegion temp; local 402 wb1->GetWantedRegion(temp); 403 topLayer->RebuildVisibleRegions(temp, wb1); 405 wb2->GetWantedRegion(temp); 406 topLayer->RebuildVisibleRegions(temp, wb2); 408 wb3->GetWantedRegion(temp); 409 topLayer->RebuildVisibleRegions(temp, wb [all...] |
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerSettings.cpp | 70 bool temp; local 72 temp = fSettings.AttenuateOutput; 74 return temp; 91 bool temp; local 93 temp = fSettings.UseBalanceControl; 95 return temp; 112 bool temp; local 114 temp = fSettings.AllowOutputChannelRemapping; 116 return temp; 133 bool temp; local 154 int temp; local 175 int temp; local 196 bool temp; local 217 bool temp; local [all...] |
/haiku/src/tools/checkstyle/ |
H A D | utils.py | 58 # insert highlight tags in a temp buffer 59 temp = "" 63 temp += escape(slice) + '<span class="highlight tooltip">' 65 temp += escape(slice) + "<em>" + highlights[(count - 1) // 2][2] \ 69 temp += "</span>" # close the superfluous last highlight 73 for line in temp.split('\n'): 79 for line in temp.split('\n'):
|
/haiku/src/add-ons/kernel/network/dns_resolver/server/ |
H A D | main.cpp | 59 struct addrinfo temp; local 63 memcpy(&temp, current, sizeof(addrinfo)); 68 temp.ai_canonname = reinterpret_cast<char*>(namePos); 74 temp.ai_addr = reinterpret_cast<sockaddr*>(sockPos); 78 temp.ai_addr = reinterpret_cast<sockaddr*>(sockPos); 85 temp.ai_next = reinterpret_cast<addrinfo*>(addrPos) + 1; 87 temp.ai_next = NULL; 89 memcpy(reply + addrPos, &temp, sizeof(addrinfo));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_paprd.c | 831 int temp; local 836 /*field_read("BB_paprd_trainer_cntl1.cf_paprd_lb_skip", &temp);*/ 837 temp = 841 "BB_paprd_trainer_cntl1.cf_paprd_lb_skip=0x%x\n", temp); 842 /*field_read("BB_paprd_trainer_cntl1.cf_paprd_lb_enable", &temp);*/ 843 temp = 847 "BB_paprd_trainer_cntl1.cf_paprd_lb_enable=0x%x\n", temp); 848 /*field_read("BB_paprd_trainer_cntl1.cf_paprd_tx_gain_force", &temp);*/ 849 temp = 853 "BB_paprd_trainer_cntl1.cf_paprd_tx_gain_force=0x%x\n", temp); 2246 int temp, agc2_pwr; local [all...] |
/haiku/src/system/libroot/posix/glibc/extensions/ |
H A D | obstack.h | 172 PTR_INT_TYPE temp; /* Temporary for some macros. */ 371 Also, we can avoid using the `temp' slot, to make faster code. */ 523 ( (h)->temp = (length), \ 524 (((h)->next_free + (h)->temp > (h)->chunk_limit) \ 525 ? (_obstack_newchunk ((h), (h)->temp), 0) : 0)) 528 ( (h)->temp = (length), \ 529 (((h)->next_free + (h)->temp > (h)->chunk_limit) \ 530 ? (_obstack_newchunk ((h), (h)->temp), 0) : 0), \ 531 _obstack_memcpy ((h)->next_free, (where), (h)->temp), \ 532 (h)->next_free += (h)->temp) 171 PTR_INT_TYPE temp; /* Temporary for some macros. */ member in struct:obstack [all...] |
/haiku/src/apps/mediaplayer/playlist/ |
H A D | ImportPLItemsCommand.cpp | 47 Playlist temp; 48 temp.AppendItems(refsMessage, APPEND_INDEX_REPLACE_PLAYLIST, sortItems); 50 fNewCount = temp.CountItems(); 62 if (!Playlist::ExtraMediaExists(playlist, temp.ItemAtFast(i))) { 63 fNewItems[added] = temp.ItemAtFast(i)->Clone();
|
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/ |
H A D | CChannelMask.cpp | 467 CH_MASK_DSP bit,temp; local 469 temp = SWAP( m_Mask ); 471 temp |= bit; 472 m_Mask = SWAP( temp ); 480 CH_MASK_DSP bit,temp; local 482 temp = SWAP( m_Mask ); 484 temp &= ~bit; 485 m_Mask = SWAP( temp ); 498 CH_MASK_DSP temp,bit; local 500 temp [all...] |
/haiku/src/preferences/shortcuts/ |
H A D | ShortcutsSpec.cpp | 173 const char* temp; local 174 if (from->FindString("command", &temp) != B_NO_ERROR) { 177 temp = ""; 180 SetCommand(temp); 301 const char* temp = ""; // default local 306 temp = GetKeyName(fKey); 307 if (temp == NULL) 308 temp = ""; 317 temp = fCommand; 322 temp 337 const char temp = B_SPACE; local 537 char* temp = new char[fCommandLen]; local [all...] |
/haiku/src/bin/rc/ |
H A D | rdef.cpp | 119 char *temp = strdup(file); local 120 if (temp == NULL) { 125 input_files.push_back(temp);
|
/haiku/src/add-ons/kernel/drivers/audio/hda/ |
H A D | driver.h | 120 uint8 temp = Read8(reg); local 121 temp &= ~mask; 122 temp |= value; 123 Write8(reg, temp); 128 uint16 temp = Read16(reg); local 129 temp &= ~mask; 130 temp |= value; 131 Write16(reg, temp); 136 uint32 temp = Read32(reg); local 137 temp [all...] |
/haiku/src/add-ons/media/media-add-ons/vst_host/ |
H A D | VSTHost.cpp | 44 char temp[256]; local 46 temp[0] = 0; 47 fEffect->dispatcher(fEffect, VST_GET_PARAM_NAME, index, 0, temp, 0); 48 fName.SetTo(temp); 51 temp[0] = 0; 52 fEffect->dispatcher(fEffect, VST_GET_PARAM_UNIT, index, 0, temp, 0); 53 fUnit.SetTo(temp); 59 temp[0] = 0; 60 fEffect->dispatcher(fEffect, VST_GET_PARAM_STR, index, 0, temp, 0); 61 fMinValue.SetTo(temp); 161 char temp[256]; local [all...] |
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | accelerant.h | 287 uint32 temp; local 293 temp = _read32(offset); 296 temp = _read32(offset); 299 temp = _read32(offset); 300 //temp = _read32PLL(offset); 305 temp &= ~mask; 306 temp |= value & mask; 313 _write32(offset, temp); 316 _write32(offset, temp); 319 _write32(offset, temp); [all...] |