Lines Matching refs:p

217     unsigned char * p = code;  in copyConstructCodeSnippet()  local
220 *p++ = 0x49; in copyConstructCodeSnippet()
221 *p++ = 0xb8; in copyConstructCodeSnippet()
222 *p++ = ((sal_uIntPtr)(pTypeDescr)) & 0xff; in copyConstructCodeSnippet()
223 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 8) & 0xff; in copyConstructCodeSnippet()
224 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 16) & 0xff; in copyConstructCodeSnippet()
225 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 24) & 0xff; in copyConstructCodeSnippet()
226 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 32) & 0xff; in copyConstructCodeSnippet()
227 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 40) & 0xff; in copyConstructCodeSnippet()
228 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 48) & 0xff; in copyConstructCodeSnippet()
229 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 56) & 0xff; in copyConstructCodeSnippet()
232 *p++ = 0x49; in copyConstructCodeSnippet()
233 *p++ = 0xb9; in copyConstructCodeSnippet()
234 *p++ = ((sal_uIntPtr)(&__copyConstruct)) & 0xff; in copyConstructCodeSnippet()
235 *p++ = (((sal_uIntPtr)(&__copyConstruct)) >> 8) & 0xff; in copyConstructCodeSnippet()
236 *p++ = (((sal_uIntPtr)(&__copyConstruct)) >> 16) & 0xff; in copyConstructCodeSnippet()
237 *p++ = (((sal_uIntPtr)(&__copyConstruct)) >> 24) & 0xff; in copyConstructCodeSnippet()
238 *p++ = (((sal_uIntPtr)(&__copyConstruct)) >> 32) & 0xff; in copyConstructCodeSnippet()
239 *p++ = (((sal_uIntPtr)(&__copyConstruct)) >> 40) & 0xff; in copyConstructCodeSnippet()
240 *p++ = (((sal_uIntPtr)(&__copyConstruct)) >> 48) & 0xff; in copyConstructCodeSnippet()
241 *p++ = (((sal_uIntPtr)(&__copyConstruct)) >> 56) & 0xff; in copyConstructCodeSnippet()
244 *p++ = 0x41; in copyConstructCodeSnippet()
245 *p++ = 0xff; in copyConstructCodeSnippet()
246 *p++ = 0xe1; in copyConstructCodeSnippet()
248 OSL_ASSERT(p - code <= codeSnippetSize); in copyConstructCodeSnippet()
255 unsigned char * p = code; in destructCodeSnippet() local
258 *p++ = 0x48; in destructCodeSnippet()
259 *p++ = 0xba; in destructCodeSnippet()
260 *p++ = ((sal_uIntPtr)(pTypeDescr)) & 0xff; in destructCodeSnippet()
261 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 8) & 0xff; in destructCodeSnippet()
262 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 16) & 0xff; in destructCodeSnippet()
263 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 24) & 0xff; in destructCodeSnippet()
264 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 32) & 0xff; in destructCodeSnippet()
265 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 40) & 0xff; in destructCodeSnippet()
266 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 48) & 0xff; in destructCodeSnippet()
267 *p++ = (((sal_uIntPtr)(pTypeDescr)) >> 56) & 0xff; in destructCodeSnippet()
270 *p++ = 0x49; in destructCodeSnippet()
271 *p++ = 0xb9; in destructCodeSnippet()
272 *p++ = ((sal_uIntPtr)(&__destruct)) & 0xff; in destructCodeSnippet()
273 *p++ = (((sal_uIntPtr)(&__destruct)) >> 8) & 0xff; in destructCodeSnippet()
274 *p++ = (((sal_uIntPtr)(&__destruct)) >> 16) & 0xff; in destructCodeSnippet()
275 *p++ = (((sal_uIntPtr)(&__destruct)) >> 24) & 0xff; in destructCodeSnippet()
276 *p++ = (((sal_uIntPtr)(&__destruct)) >> 32) & 0xff; in destructCodeSnippet()
277 *p++ = (((sal_uIntPtr)(&__destruct)) >> 40) & 0xff; in destructCodeSnippet()
278 *p++ = (((sal_uIntPtr)(&__destruct)) >> 48) & 0xff; in destructCodeSnippet()
279 *p++ = (((sal_uIntPtr)(&__destruct)) >> 56) & 0xff; in destructCodeSnippet()
282 *p++ = 0x41; in destructCodeSnippet()
283 *p++ = 0xff; in destructCodeSnippet()
284 *p++ = 0xe1; in destructCodeSnippet()
286 OSL_ASSERT(p - code <= codeSnippetSize); in destructCodeSnippet()
306 …static void initialize( unsigned char *p, sal_uInt32 typeInfoRVA, typelib_TypeDescription * pTypeD… in initialize()
308 ExceptionType *e = (ExceptionType*)p; in initialize()
364 unsigned char *p = (unsigned char*) ::rtl_allocateMemory( bytesNeeded ); in RaiseInfo() local
369 VirtualProtect( p, bytesNeeded, PAGE_EXECUTE_READWRITE, &old_protect ); in RaiseInfo()
371 baseAddress = p; in RaiseInfo()
373 destructCodeSnippet( p, pTypeDescr ); in RaiseInfo()
374 _pDtor = (sal_uInt32)(p - baseAddress); in RaiseInfo()
375 p += codeSnippetSize; in RaiseInfo()
377 sal_uInt32 *types = (sal_uInt32*)p; in RaiseInfo()
378 _types = (sal_uInt32)(p - baseAddress); in RaiseInfo()
379 p += align16( sizeof( sal_uInt32 ) + (typeCount * sizeof( sal_uInt32 )) ); in RaiseInfo()
386 memcpy(p, typeInfo, typeInfo->length() ); in RaiseInfo()
387 sal_uInt32 typeInfoRVA = (sal_uInt32)(p - baseAddress); in RaiseInfo()
388 p += align16( typeInfo->length() ); in RaiseInfo()
390 copyConstructCodeSnippet( p, (typelib_TypeDescription *)pCompTypeDescr ); in RaiseInfo()
391 sal_uInt32 copyConstructorRVA = (sal_uInt32)(p - baseAddress); in RaiseInfo()
392 p += codeSnippetSize; in RaiseInfo()
394 …ExceptionType::initialize( p, typeInfoRVA, (typelib_TypeDescription *)pCompTypeDescr, copyConstruc… in RaiseInfo()
395 types[next++] = (sal_uInt32)(p - baseAddress); in RaiseInfo()
396 p += align16( sizeof(ExceptionType) ); in RaiseInfo()
399 OSL_ASSERT(p - baseAddress <= bytesNeeded); in RaiseInfo()