/vbox/src/VBox/GuestHost/OpenGL/packer/ |
H A D | pack_visibleregion.c | 27 GLint i, size, cnt; local 39 cnt = 16; 42 WRITE_DATA(cnt, GLint, (GLint) pRects[4*i+0]); 43 WRITE_DATA(cnt+4, GLint, (GLint) pRects[4*i+1]); 44 WRITE_DATA(cnt+8, GLint, (GLint) pRects[4*i+2]); 45 WRITE_DATA(cnt+12, GLint, (GLint) pRects[4*i+3]); 46 cnt += 16;
|
H A D | pack_misc.c | 119 GLint i, size, cnt; local 134 cnt = 28; 137 WRITE_DATA(cnt, GLint, (GLint) pRects[4*i+0]); 138 WRITE_DATA(cnt+4, GLint, (GLint) pRects[4*i+1]); 139 WRITE_DATA(cnt+8, GLint, (GLint) pRects[4*i+2]); 140 WRITE_DATA(cnt+12, GLint, (GLint) pRects[4*i+3]); 141 cnt += 16;
|
/vbox/src/libs/xpcom18a4/python/src/ |
H A D | PyGWeakReference.cpp | 76 nsrefcnt cnt = (nsrefcnt) PR_AtomicIncrement((PRInt32*)&mRefCnt); local 78 NS_LOG_ADDREF(this, cnt, refcntLogRepr, sizeof(*this)); 80 return cnt; 86 nsrefcnt cnt = (nsrefcnt) PR_AtomicDecrement((PRInt32*)&mRefCnt); local 88 NS_LOG_RELEASE(this, cnt, refcntLogRepr); 90 if ( cnt == 0 ) 92 return cnt;
|
H A D | dllmain.cpp | 197 PRInt32 cnt = PR_AtomicIncrement(&g_cLockCount); local 198 if (cnt==1) { // First call
|
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsSupportsArrayEnumerator.cpp | 59 PRUint32 cnt; local 60 nsresult rv = mArray->Count(&cnt); 62 PRInt32 end = (PRInt32)cnt; 72 PRUint32 cnt; local 73 nsresult rv = mArray->Count(&cnt); 75 PRInt32 end = (PRInt32)cnt; 88 PRUint32 cnt; local 89 nsresult rv = mArray->Count(&cnt); 91 if (mCursor >= 0 && mCursor < (PRInt32)cnt) { 101 PRUint32 cnt; local 113 PRUint32 cnt; local [all...] |
H A D | nsArrayEnumerator.cpp | 55 PRUint32 cnt; local 56 nsresult rv = mValueArray->GetLength(&cnt); 58 *aResult = (mIndex < cnt); 74 PRUint32 cnt; local 75 nsresult rv = mValueArray->GetLength(&cnt); 77 if (mIndex >= cnt)
|
H A D | nsEnumeratorUtils.cpp | 67 PRUint32 cnt; local 68 nsresult rv = mValueArray->Count(&cnt); 70 *aResult = (mIndex < (PRInt32) cnt); 86 PRUint32 cnt; local 87 nsresult rv = mValueArray->Count(&cnt); 89 if (mIndex >= (PRInt32) cnt)
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/ |
H A D | fparseln.c | 112 int cnt; local 123 cnt = 1; 139 while (cnt) { 140 cnt = 0; 152 cnt = s == 0 && buf == NULL; 169 cnt = 1;
|
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | CIShared.h | 37 Data() : cnt( 1 ), state( Orig ) {} 38 Data( const Data &d ) : D( d ), cnt( 1 ), state( d.state & (~Orig) ) {} 45 Data( void* ) : cnt( 1 ), state( Null ) {} 52 void ref() { cnt++; } 53 bool deref() { return !--cnt; } 56 int cnt; member in class:CIShared::Data 290 if ( !(d->state & Data::Null) && d->cnt > 1 ) { 313 if ( d->cnt > 1 ) { 369 if ( d->cnt > 1 ) 380 if ( cnt ) [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | concur.c | 99 PRUintn cnt; local 160 for(cnt = 0; cnt < range; cnt++) { 161 rc = PR_JoinThread(threads[cnt]);
|
H A D | rwlocktest.c | 77 PRInt32 cnt; local 131 cnt = 0; 133 array_A[i] = cnt++; 134 array_B[i] = cnt++; 141 for(cnt = 0; cnt < thread_cnt; cnt++) { 144 params[cnt].rwlock = rwlock1; 145 params[cnt].loop_cnt = loop_cnt; 150 if (cnt [all...] |
H A D | stack.c | 88 PRInt32 rv, cnt, sum; local 151 for(cnt = 0; cnt < thread_cnt; cnt++) { 154 thread_args[cnt].list1 = list1; 155 thread_args[cnt].list2 = list2; 156 thread_args[cnt].loops = loops; 157 thread_args[cnt].data_cnt = data_cnt; 158 thread_args[cnt].initial_data_value = 1 + cnt * data_cn 241 PRInt32 val, cnt, index, loops; local [all...] |
/vbox/src/VBox/Devices/Network/lwip/src/core/snmp/ |
H A D | asn1_enc.c | 144 u8_t cnt; local 146 cnt = 0; 150 cnt++; 160 cnt++; 164 cnt++; 168 *octets_needed = cnt;
|
/vbox/src/VBox/Devices/Network/lwip-new/src/core/snmp/ |
H A D | asn1_enc.c | 145 u8_t cnt; local 147 cnt = 0; 151 cnt++; 161 cnt++; 165 cnt++; 169 *octets_needed = cnt;
|
/vbox/src/VBox/Main/src-server/ |
H A D | ClientWatcher.cpp | 168 size_t cnt = 0; local 192 DWORD rc = ::WaitForMultipleObjects((DWORD)(1 + cnt + cntSpawned), 210 else if (rc > WAIT_OBJECT_0 && rc <= (WAIT_OBJECT_0 + cnt)) 216 else if (rc > WAIT_ABANDONED_0 && rc <= (WAIT_ABANDONED_0 + cnt)) 222 else if (rc > WAIT_OBJECT_0 + cnt && rc <= (WAIT_OBJECT_0 + cntSpawned)) 225 (spawnedMachines[rc - WAIT_OBJECT_0 - cnt - 1])-> 233 for (size_t i = 1 + cnt; i < 1 + cnt + cntSpawned; ++i) 243 cnt = 0; 251 AssertMsgBreak((1 + cnt) < [all...] |
/vbox/src/VBox/RDP/client-1.8.3/ |
H A D | utils.c | 52 int cnt; local 55 cnt = 0; 59 cnt++; 62 if (cnt == 0) 66 es = strlen(str) + (cnt * 3) + 1;
|
/vbox/src/libs/xpcom18a4/xpcom/tests/ |
H A D | TestArray.cpp | 109 PRUint32 cnt = 0; local 110 nsresult rv = aArray->Count(&cnt); 112 PRInt32 count = cnt;
|
/vbox/src/VBox/Devices/Graphics/shaderlib/ |
H A D | shaderapi.c | 460 unsigned int i, cnt = min(count, MAX_CONST_B - start); local 474 memcpy(&This->updateStateBlock->vertexShaderConstantB[start], srcData, cnt * sizeof(BOOL)); 475 for (i = 0; i < cnt; i++) 478 for (i = start; i < cnt + start; ++i) { 490 unsigned int i, cnt = min(count, MAX_CONST_I - start); local 504 memcpy(&This->updateStateBlock->vertexShaderConstantI[start * 4], srcData, cnt * sizeof(int32_t) * 4); 506 for (i = start; i < cnt + start; ++i) { 545 unsigned int i, cnt = min(count, MAX_CONST_B - start); local 559 memcpy(&This->updateStateBlock->pixelShaderConstantB[start], srcData, cnt * sizeof(BOOL)); 560 for (i = 0; i < cnt; 575 unsigned int i, cnt = min(count, MAX_CONST_I - start); local [all...] |
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | tcp_input.c | 1805 tcp_dooptions(PNATState pData, struct tcpcb *tp, u_char *cp, int cnt, struct tcpiphdr *ti) argument 1810 LogFlowFunc(("tcp_dooptions: tp = %R[tcpcb793], cnt=%i\n", tp, cnt)); 1812 for (; cnt > 0; cnt -= optlen, cp += optlen) 1887 int cnt = ti->ti_urp - 1; 1889 while (cnt >= 0) 1891 if (m->m_len > cnt) 1893 char *cp = mtod(m, caddr_t) + cnt; 1898 memcpy(sp, cp+1, (unsigned)(m->m_len - cnt [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
H A D | ne2k_isa.c | 47 static void eth_pio_read(unsigned int src, unsigned char *dst, unsigned int cnt) { argument 49 outb(cnt, eth_nic_base + D8390_P0_RBCR0); 50 outb(cnt >> 8, eth_nic_base + D8390_P0_RBCR1); 55 cnt = (cnt + 1) >> 1; 57 while (cnt--) { 70 unsigned int cnt) { 73 outb(cnt, eth_nic_base + D8390_P0_RBCR0); 74 outb(cnt >> 8, eth_nic_base + D8390_P0_RBCR1); 79 cnt 69 eth_pio_write(const unsigned char *src, unsigned int dst, unsigned int cnt) argument [all...] |
H A D | 3c90x.c | 73 int cnt = 0; local 81 for (cnt = 0; cnt < 100000; cnt++) { 85 DBG2("Command 0x%04X finished in time. cnt = %d.\n", cmd, cnt); 90 DBG("Command 0x%04X DID NOT finish in time. cnt = %d.\n", cmd, cnt); 116 int cnt = 0; local 121 if (cnt [all...] |
H A D | ns8390.c | 131 static void eth_pio_read(unsigned int src, unsigned char *dst, unsigned int cnt) argument 139 outb(cnt, eth_nic_base + D8390_P0_RBCR0); 140 outb(cnt>>8, eth_nic_base + D8390_P0_RBCR1); 154 cnt = (cnt + 1) >> 1; 156 while(cnt--) { 178 static void eth_pio_write(const unsigned char *src, unsigned int dst, unsigned int cnt) argument 190 outb(cnt, eth_nic_base + D8390_P0_RBCR0); 191 outb(cnt>>8, eth_nic_base + D8390_P0_RBCR1); 206 cnt [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/ |
H A D | cubetexture.c | 227 DWORD cnt; local 232 cnt = IWineD3DCubeTexture_GetLevelCount(This->wineD3DCubeTexture); 235 return cnt;
|
/vbox/src/libs/xpcom18a4/xpcom/threads/ |
H A D | nsThread.cpp | 448 nsrefcnt cnt; local 449 NS_RELEASE2(gMainThread, cnt); 450 NS_WARN_IF_FALSE(cnt == 0, "Main thread being held past XPCOM shutdown.");
|
/vbox/src/VBox/Frontends/VBoxSDL/ |
H A D | Framebuffer.h | 228 long cnt = ::InterlockedDecrement (&refcnt); local 229 if (cnt == 0) 231 return cnt;
|