Searched defs:p2 (Results 1 - 25 of 58) sorted by relevance

123

/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DVBoxGuestRAMSlider.cpp176 uint p = page, p2 = 0x1; local
178 p2 <<= 1;
179 if (page != p2)
180 p2 <<= 1;
181 if (p2 < 4)
182 p2 = 4;
183 return (int) p2;
/vbox/src/VBox/Devices/Audio/
H A Ddsound_template.h54 LPVOID p2,
61 hr = glue (IFACE, _Unlock) (buf, p1, blen1, p2, blen2);
84 LPVOID p1 = NULL, p2 = NULL; local
101 &p2,
128 if ((p1 && (blen1 & info->align)) || (p2 && (blen2 & info->align))) {
131 glue (dsound_unlock_, TYPE) (buf, p1, p2, blen1, blen2);
140 if (!p2 && blen2) {
141 dolog ("warning: !p2 && blen2=%ld\n", blen2);
146 *p2p = p2;
H A Ddsoundaudio.c938 LPVOID p1, p2; local
946 &p1, &p2,
961 if (p2 && len2) {
962 audio_pcm_info_clear_buf (&ds->hw.info, p2, len2);
965 dsound_unlock_out (ds->dsound_buffer, p1, p2, blen1, blen2);
1008 LPVOID p1, p2; local
1092 &p1, &p2,
1108 if (p2 && len2) {
1109 dsound_write_sample (hw, p2, len2);
1112 dsound_unlock_out (dsb, p1, p2, blen
1159 LPVOID p1, p2; local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPCrUtil.cpp32 DECLEXPORT(int) crMemcmp( const void *p1, const void *p2, unsigned int bytes );
69 DECLEXPORT(int) crMemcmp( const void *p1, const void *p2, unsigned int bytes ) argument
71 return memcmp(p1, p2, bytes);
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dmem.c134 DECLEXPORT(int) crMemcmp( const void *p1, const void *p2, unsigned int bytes ) argument
137 CRASSERT(p2);
138 return memcmp( p1, p2, bytes );
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/
H A Dfsw_efi_lib.c157 fsw_u16 *p2 = (fsw_u16 *)s2data; local
161 if (fsw_to_lower(p1[i]) != fsw_to_lower(p2[i]))
H A Dfsw_strfunc.h33 fsw_u8 *p2 = (fsw_u8 *)s2data; local
38 c2 = *p2++;
40 c2 = ((c2 & 0x1f) << 6) | (*p2++ & 0x3f);
42 c2 = ((c2 & 0x0f) << 12) | ((*p2++ & 0x3f) << 6);
43 c2 |= (*p2++ & 0x3f);
45 c2 = ((c2 & 0x07) << 18) | ((*p2++ & 0x3f) << 12);
46 c2 |= ((*p2++ & 0x3f) << 6);
47 c2 |= (*p2++ & 0x3f);
60 fsw_u16 *p2 = (fsw_u16 *)s2data; local
65 c2 = *p2
77 fsw_u16 *p2 = (fsw_u16 *)s2data; local
93 fsw_u16 *p2 = (fsw_u16 *)s2data; local
119 fsw_u16 *p2 = (fsw_u16 *)s2data; local
145 fsw_u16 *p2 = (fsw_u16 *)s2data; local
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTBitOperations.cpp53 static uint32_t test2AllocId(struct TestMap2 *p2) argument
58 int32_t idChunk = ++p2->idChunkPrev;
62 idChunk = ASMBitNextClear(&p2->bmChunkId[0], TEST2_ID_LAST + 1, idChunk);
65 if (ASMAtomicBitTestAndSet(&p2->bmChunkId[0], idChunk))
70 return p2->idChunkPrev = idChunk;
77 idChunk = ASMBitFirstClear(&p2->bmChunkId[0], TEST2_ID_LAST + 1);
83 if (ASMAtomicBitTestAndSet(&p2->bmChunkId[0], idChunk))
89 return p2->idChunkPrev = idChunk;
95 struct TestMap2 *p2 = (struct TestMap2 *)RTTestGuardedAllocTail(hTest, sizeof(TestMap2)); local
96 p2
[all...]
/vbox/include/VBox/com/
H A Dptr.h304 IUnknown *p2 = NULL; local
307 fNeedsRelease2 = (SUCCEEDED(p->QueryInterface(COM_IIDOF(IUnknown), (void**)&p2)));
309 bool f = p1 == p2;
313 p2->Release();
/vbox/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/test/
H A Dstub_test.cpp85 int p2 = (int) *(args+1); local
89 case 1: out = a->callme1(p1, p2); break;
90 case 2: out = a->callme2(p1, p2); break;
91 case 3: out = a->callme3(p1, p2); break;
158 int p2 = (int) *(args+1); local
161 case 1: a->callme1(p1, p2); break;
162 case 2: a->callme2(p1, p2); break;
163 case 3: a->callme3(p1, p2); break;
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestAutoPtr.cpp229 nsRefPtr<TestRefObject> p2( p1 );
237 nsRefPtr<TestRefObject> p2( p1 );
239 ((p1 == p2) && !(p1 != p2)) ? "OK" : "broken");
244 nsRefPtr<TestRefObject> p2( p1 );
246 ((p1 == p2) && !(p1 != p2)) ? "OK" : "broken");
251 const nsRefPtr<TestRefObject> p2( p1 );
253 ((p1 == p2) && !(p1 != p2))
265 TestRefObject * p2 = p1; local
272 TestRefObject * p2 = p1; local
295 const TestRefObject * p2 = p1; local
302 const TestRefObject * p2 = p1; local
309 const TestRefObject * const p2 = p1; local
316 const TestRefObject * const p2 = p1; local
345 TestObjectBaseB *p2 = p1; local
364 nsRefPtr<TestRefObjectBaseB> p2 = p1.get(); local
373 TestRefObjectBaseB *p2 = p1; local
382 nsRefPtr<TestRefObjectBaseB> p2 = p1; local
[all...]
/vbox/src/recompiler/tests/
H A Dtest-mmap.c62 void *p2; local
77 p2 = mmap(NULL, len, PROT_READ,
89 fail_unless (p2 != MAP_FAILED);
96 p = (uintptr_t) p2;
107 memcpy (dummybuf, p2, pagesize);
113 munmap (p2, len);
148 char *p2; local
164 p2 = mmap(NULL, pagesize, PROT_READ,
166 fail_unless (p2 != MAP_FAILED);
167 p = (uintptr_t) p2;
260 unsigned int *p1, *p2, *p3; local
389 unsigned int *p1, *p2, *p3, *p4; local
[all...]
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_ftp.c663 int a1, a2, a3, a4, p1, p2; local
683 p2 = *ptr;
689 a1, a2, a3, a4, p1, p2);
692 a1, a2, a3, a4, p1, p2);
699 a1, a2, a3, a4, p1, p2);
703 a1, a2, a3, a4, p1, p2);
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/swrast/
H A Ds_aatritemp.h46 const GLfloat *p2 = v2->attrib[FRAG_ATTRIB_WPOS]; variable
126 compute_plane(p0, p1, p2, p0[2], p1[2], p2[2], zPlane);
131 compute_plane(p0, p1, p2, v0->color[RCOMP], v1->color[RCOMP], v2->color[RCOMP], rPlane);
132 compute_plane(p0, p1, p2, v0->color[GCOMP], v1->color[GCOMP], v2->color[GCOMP], gPlane);
133 compute_plane(p0, p1, p2, v0->color[BCOMP], v1->color[BCOMP], v2->color[BCOMP], bPlane);
134 compute_plane(p0, p1, p2, v0->color[ACOMP], v1->color[ACOMP], v2->color[ACOMP], aPlane);
146 compute_plane(p0, p1, p2, (GLfloat) v0->attrib[FRAG_ATTRIB_CI][0],
159 compute_plane(p0, p1, p2, invW0, invW1, invW2, wPlane);
174 compute_plane(p0, p1, p2, a
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2thred.c105 PEXCEPTIONREGISTRATIONRECORD p2,
104 OS2_FloatExcpHandler(PEXCEPTIONREPORTRECORD p1, PEXCEPTIONREGISTRATIONRECORD p2, PCONTEXTRECORD p3, PVOID pv) argument
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dhpux.c252 *p2 = (unsigned char *) s2; local
256 - ((int) ((unsigned int) *p2));
258 p1++; p2++;
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsEscape.cpp467 unsigned char *p2 = ((unsigned char *) p) + 2; local
468 if (ISHEX(*p1) && ISHEX(*p2) && !(ignoreNonAscii && *p1 >= '8') &&
470 (*p1 < '2' || (*p1 == '7' && (*p2 == 'f' || *p2 == 'F'))))) {
471 //printf("- p1=%c p2=%c\n", *p1, *p2);
478 char u = (UNHEX(*p1) << 4) + UNHEX(*p2);
/vbox/src/libs/xpcom18a4/xpcom/proxy/tests/
H A Dproxytests.cpp64 NS_IMETHOD Test(PRInt32 p1, PRInt32 p2, PRInt32* retval);
66 NS_IMETHOD Test3(nsISupports *p1, nsISupports **p2);
78 NS_IMETHODIMP nsTestXPCFoo::Test(PRInt32 p1, PRInt32 p2, PRInt32* retval) argument
81 *retval = p1+p2;
93 NS_IMETHODIMP nsTestXPCFoo::Test3(nsISupports *p1, nsISupports **p2) argument
108 *p2 = new nsTestXPCFoo();
118 NS_IMETHOD Test(PRInt32 p1, PRInt32 p2, PRInt32* retval);
120 NS_IMETHOD Test3(nsISupports *p1, nsISupports **p2);
132 NS_IMETHODIMP nsTestXPCFoo2::Test(PRInt32 p1, PRInt32 p2, PRInt32* retval) argument
165 NS_IMETHODIMP nsTestXPCFoo2::Test3(nsISupports *p1, nsISupports **p2) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/
H A Dstring.c71 const WCHAR *p1 = str, *p2 = sub; local
72 while (*p1 && *p2 && *p1 == *p2) { p1++; p2++; }
73 if (!*p2) return (WCHAR *)str;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/antlr/
H A Dfset.c55 * Follow both p1 and p2 paths (unless RuleBlk) to collect the tokens k away from this
73 * Normally, both p1 and p2 are followed. However, checking p2 on a RuleBlk node is
277 if (p->jtype != RuleBlk && p->p2 != NULL && /* MR14 */ ! p->guess) {
278 REACH(p->p2, k, rk, b);
685 Predicate *p2; local
752 p2=predicate_dup_without_context(alt2->predicate);
753 p2=MR_unfold(p2);
754 MR_clearPredEntry(p2);
1479 int p1, p2; local
[all...]
H A Dsyn.h350 Node *p1, *p2; member in struct:Junction::_junct
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dtcp_out.c551 struct pbuf *p2; local
555 if ((p2 = pbuf_alloc(PBUF_TRANSPORT, seglen, PBUF_ROM)) == NULL) {
564 p2->payload = (u8_t*)arg + pos;
570 pbuf_free(p2);
575 pbuf_cat(p/*header*/, p2/*data*/);
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/
H A DUIMachineSettingsDisplay.cpp928 uint p = page, p2 = 0x1; local
930 p2 <<= 1;
931 if (page != p2)
932 p2 <<= 1;
933 if (p2 < 4)
934 p2 = 4;
935 return (int)p2;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_ident.c181 char *s, *p1, *p2; local
191 if ((p2 = strrchr(s, ')')) != NULL)
192 *p2 = '\0'; /* mark end of parameter list string */
197 if (p1 == NULL || p2 == NULL) {
202 for (p2 = p1; *p2 != '\0'; p2++) {
203 if (!isspace(*p2)) {
209 for (p2 = strchr(p2, ','); p
[all...]
/vbox/src/libs/xpcom18a4/xpcom/reflect/xptcall/tests/
H A DTestXPTCInvoke.cpp64 NS_IMETHOD AddTwoInts(PRInt32 p1, PRInt32 p2, PRInt32* retval) = 0;
65 NS_IMETHOD MultTwoInts(PRInt32 p1, PRInt32 p2, PRInt32* retval) = 0;
66 NS_IMETHOD AddTwoLLs(PRInt64 p1, PRInt64 p2, PRInt64* retval) = 0;
67 NS_IMETHOD MultTwoLLs(PRInt64 p1, PRInt64 p2, PRInt64* retval) = 0;
69 NS_IMETHOD AddManyInts(PRInt32 p1, PRInt32 p2, PRInt32 p3, PRInt32 p4,
73 NS_IMETHOD AddTwoFloats(float p1, float p2, float* retval) = 0;
75 NS_IMETHOD AddManyDoubles(double p1, double p2, double p3, double p4,
79 NS_IMETHOD AddManyFloats(float p1, float p2, float p3, float p4,
83 NS_IMETHOD AddManyManyFloats(float p1, float p2, float p3, float p4,
90 NS_IMETHOD AddMixedInts(PRInt64 p1, PRInt32 p2, PRInt6
163 AddTwoInts(PRInt32 p1, PRInt32 p2, PRInt32* retval) argument
170 MultTwoInts(PRInt32 p1, PRInt32 p2, PRInt32* retval) argument
177 AddTwoLLs(PRInt64 p1, PRInt64 p2, PRInt64* retval) argument
184 MultTwoLLs(PRInt64 p1, PRInt64 p2, PRInt64* retval) argument
191 AddManyInts(PRInt32 p1, PRInt32 p2, PRInt32 p3, PRInt32 p4, PRInt32 p5, PRInt32 p6, PRInt32 p7, PRInt32 p8, PRInt32 p9, PRInt32 p10, PRInt32* retval) argument
204 AddTwoFloats(float p1, float p2, float *retval) argument
214 AddManyDoubles(double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double* retval) argument
227 AddManyFloats(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float* retval) argument
240 AddMixedFloats(float p1, float p2, double p3, double p4, float p5, float p6, double p7, double p8, float p9, double p10, float p11, double *retval) argument
254 AddManyManyFloats(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, float p16, float p17, float p18, float p19, float p20, float *retval) argument
273 AddMixedInts(PRInt64 p1, PRInt32 p2, PRInt64 p3, PRInt32 p4, PRInt32 p5, PRInt64 p6, PRInt32 p7, PRInt32 p8, PRInt64 p9, PRInt32 p10, PRInt64* retval) argument
282 AddMixedInts2(PRInt32 p1, PRInt64 p2, PRInt32 p3, PRInt64 p4, PRInt64 p5, PRInt32 p6, PRInt64 p7, PRInt64 p8, PRInt32 p9, PRInt64 p10, PRInt64* retval) argument
[all...]

Completed in 574 milliseconds

123