Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 208) sorted by relevance

123456789

/haiku/src/tests/system/kernel/device_manager/
H A Ddm_wrapper.c33 params.magic = DM_GET_CHILD; in get_child()
36 return ioctl(fd, params.magic, &params, sizeof(params)); in get_child()
43 params.magic = DM_GET_NEXT_CHILD; in get_next_child()
46 return ioctl(fd, params.magic, &params, sizeof(params)); in get_next_child()
53 params.magic = DM_GET_PARENT; in get_parent()
56 return ioctl(fd, params.magic, &params, sizeof(params)); in get_parent()
63 params.magic = DM_GET_NEXT_ATTRIBUTE; in dm_get_next_attr()
66 return ioctl(fd, params.magic, &params, sizeof(params)); in dm_get_next_attr()
73 params.magic = DM_RETRIEVE_ATTRIBUTE; in dm_retrieve_attr()
76 return ioctl(fd, params.magic, &params, sizeof(params)); in dm_retrieve_attr()
/haiku/src/tests/kits/app/
H A DDanoMessageTest.cpp10 status_t unflatten_dano_message(uint32 magic, BDataIO& stream, BMessage& message);
40 uint32 magic; in main() local
41 if (file.Read(&magic, sizeof(uint32)) != sizeof(uint32)) in main()
44 if (magic != kMessageFormat && magic != kMessageFormatSwapped) { in main()
50 status_t status = BPrivate::unflatten_dano_message(magic, file, message); in main()
/haiku/src/tests/add-ons/translators/bmptranslator/
H A DBMPTranslatorTest.cpp29 uint16 magic; // = 'BM' member
209 fheader.magic = 'MB'; in IdentifyTest()
212 CPPUNIT_ASSERT(mallabrev.Write(&fheader.magic, 2) == 2); in IdentifyTest()
219 fheader.magic = 'MB'; in IdentifyTest()
237 CPPUNIT_ASSERT(mallbadfs.Write(&fheader.magic, 2) == 2); in IdentifyTest()
245 fheader.magic = 'MB'; in IdentifyTest()
261 CPPUNIT_ASSERT(mallbadr.Write(&fheader.magic, 2) == 2); in IdentifyTest()
269 fheader.magic = 'MB'; in IdentifyTest()
285 CPPUNIT_ASSERT(mallbaddo1.Write(&fheader.magic, 2) == 2); in IdentifyTest()
293 fheader.magic = 'MB'; in IdentifyTest()
[all …]
/haiku/src/tools/translation/stxtinfo/
H A Dstxtinfo.cpp62 uint32 magic; // 41 6c 69 21 member
150 static_cast<unsigned long>(stylesheader.magic)); in PrintStylesAttribute()
151 if (stylesheader.magic == 'Ali!') in PrintStylesAttribute()
203 if (stxtheader.header.magic != B_STYLED_TEXT_FORMAT) { in PrintStxtInfo()
211 printf("magic number: 0x%.8lx ", stxtheader.header.magic); in PrintStxtInfo()
212 if (stxtheader.header.magic == B_STYLED_TEXT_FORMAT) in PrintStxtInfo()
257 printf("magic number: 0x%.8lx ", txtheader.header.magic); in PrintStxtInfo()
258 if (txtheader.header.magic == 'TEXT') in PrintStxtInfo()
323 printf("magic number: 0x%.8lx ", stylheader.header.magic); in PrintStxtInfo()
324 if (stylheader.header.magic == 'STYL') in PrintStxtInfo()
[all …]
/haiku/headers/private/graphics/radeon/
H A Dradeon_interface.h584 uint32 magic; // magic number member
591 uint32 magic; // magic number member
597 uint32 magic; member
608 uint32 magic; member
616 uint32 magic; member
622 uint32 magic; member
628 uint32 magic; member
637 uint32 magic; member
646 uint32 magic; member
656 uint32 magic; member
[all …]
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd.h21 uint32 magic; /* REQUEST_MAGIC */ member
30 uint32 magic; /* REPLY_MAGIC */ member
43 uint64 magic; /* INIT_MAGIC */ member
/haiku/src/add-ons/accelerants/radeon/
H A Ddriver_wrapper.c20 wfi.magic = RADEON_PRIVATE_DATA_MAGIC; in Radeon_WaitForIdle()
52 na.magic = RADEON_PRIVATE_DATA_MAGIC; in Radeon_ResetEngine()
63 vr.magic = RADEON_PRIVATE_DATA_MAGIC; in Radeon_VIPRead()
81 vw.magic = RADEON_PRIVATE_DATA_MAGIC; in Radeon_VIPWrite()
95 fvd.magic = RADEON_PRIVATE_DATA_MAGIC; in Radeon_FindVIPDevice()
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Ddriver.c317 if (gpd->magic == RADEON_PRIVATE_DATA_MAGIC) { in control_hook()
328 if( dn->magic == RADEON_PRIVATE_DATA_MAGIC ) { in control_hook()
339 if( am->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
354 if( fm->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
368 if( wfi->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
378 if( wff->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
388 if( na->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
401 if( vr->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
411 if( vw->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
421 if( vr->magic != RADEON_PRIVATE_DATA_MAGIC ) in control_hook()
[all …]
/haiku/headers/private/graphics/et6x00/
H A DDriverInterface.h89 uint32 magic; /* magic number to make sure the caller groks us */ member
97 uint32 magic; /* magic number to make sure the caller groks us */ member
106 uint32 magic; /* magic number to make sure the caller groks us */ member
111 uint32 magic; /* magic number to make sure the caller groks us */ member
/haiku/headers/private/graphics/via/
H A DDriverInterface.h321 uint32 magic; /* magic number to make sure the caller groks us */ member
329 uint32 magic; /* magic number to make sure the caller groks us */ member
335 uint32 magic; /* magic number to make sure the caller groks us */ member
342 uint32 magic; /* magic number to make sure the caller groks us */ member
349 uint32 magic; /* magic number to make sure the caller groks us */ member
358 uint32 magic; /* magic number to make sure the caller groks us */ member
365 uint32 magic; /* magic number to make sure the caller groks us */ member
/haiku/headers/private/graphics/skeleton/
H A DDriverInterface.h310 uint32 magic; /* magic number to make sure the caller groks us */ member
318 uint32 magic; /* magic number to make sure the caller groks us */ member
324 uint32 magic; /* magic number to make sure the caller groks us */ member
331 uint32 magic; /* magic number to make sure the caller groks us */ member
338 uint32 magic; /* magic number to make sure the caller groks us */ member
347 uint32 magic; /* magic number to make sure the caller groks us */ member
354 uint32 magic; /* magic number to make sure the caller groks us */ member
/haiku/headers/private/graphics/neomagic/
H A DDriverInterface.h236 uint32 magic; /* magic number to make sure the caller groks us */ member
244 uint32 magic; /* magic number to make sure the caller groks us */ member
260 uint32 magic; /* magic number to make sure the caller groks us */ member
276 uint32 magic; /* magic number to make sure the caller groks us */ member
282 uint32 magic; /* magic number to make sure the caller groks us */ member
289 uint32 magic; /* magic number to make sure the caller groks us */ member
/haiku/headers/os/translation/
H A DTranslatorFormats.h71 uint32 magic; // B_TRANSLATOR_BITMAP member
83 uint32 magic; // B_TRANSLATOR_SOUND member
94 uint32 magic; member
/haiku/headers/private/graphics/nvidia/
H A DDriverInterface.h450 uint32 magic; /* magic number to make sure the caller groks us */ member
458 uint32 magic; /* magic number to make sure the caller groks us */ member
465 uint32 magic; /* magic number to make sure the caller groks us */ member
472 uint32 magic; /* magic number to make sure the caller groks us */ member
479 uint32 magic; /* magic number to make sure the caller groks us */ member
488 uint32 magic; /* magic number to make sure the caller groks us */ member
495 uint32 magic; /* magic number to make sure the caller groks us */ member
/haiku/headers/private/system/
H A Dpe_common.h24 uint16 magic; /* == MZ_MAGIC */ member
46 uint32 magic; // == PE_MAGIC */ member
57 uint16 magic; // == 0x010b - PE32, 0x020b - PE32+ (64 bit) member
/haiku/headers/private/graphics/s3/
H A DDriverInterface.h196 uint32 magic; // magic number member
203 uint32 magic; // magic number member
209 uint32 magic; // magic number member
215 uint32 magic; // magic number member
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DSuperBlock.cpp45 read_super_block(int device, off_t offset, const char *magic, in read_super_block() argument
64 size_t len = strlen(magic); in read_super_block()
65 if (strncmp(superBlock->s_magic, magic, len)) in read_super_block()
/haiku/src/system/runtime_loader/
H A Dpe.cpp22 if (memcmp(&mzHeader->magic, MZ_MAGIC, 2) != 0) in parse_mz_header()
33 if (memcmp(&peHeader->magic, PE_MAGIC, 2) != 0) in parse_pe_header()
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dmemory.cpp36 freeMemory.magic = INTEL_PRIVATE_DATA_MAGIC; in intel_free_memory()
48 allocMemory.magic = INTEL_PRIVATE_DATA_MAGIC; in intel_allocate_memory()
/haiku/headers/private/graphics/matrox/
H A DDriverInterface.h275 uint32 magic; /* magic number to make sure the caller groks us */ member
283 uint32 magic; /* magic number to make sure the caller groks us */ member
289 uint32 magic; /* magic number to make sure the caller groks us */ member
296 uint32 magic; /* magic number to make sure the caller groks us */ member
/haiku/src/tools/translation/bmpinfo/
H A Dbmpinfo.cpp53 uint16 magic; // = 'BM' member
94 memcpy(&fh.magic, buf, 2); in print_bmp_info()
98 swap_data(B_UINT16_TYPE, &fh.magic, sizeof(uint16), in print_bmp_info()
104 printf(B_TRANSLATE(" magic: 0x%.4x (should be: 0x424d)\n"), fh.magic); in print_bmp_info()
/haiku/headers/private/graphics/radeon_hd/
H A Dradeon_hd.h271 uint32 magic; // magic number member
277 uint32 magic; member
286 uint32 magic; member
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DExtent.cpp313 fData.magic = (B_BENDIAN_TO_HOST_INT32(fData.magic)); in _SwapEndian()
332 return fData.magic; in Magic()
368 fData.magic = B_BENDIAN_TO_HOST_INT32(fData.magic); in _SwapEndian()
391 return fData.magic; in Magic()
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DRadeon.cpp229 vr.magic = RADEON_PRIVATE_DATA_MAGIC; in VIPRegister()
246 vw.magic = RADEON_PRIVATE_DATA_MAGIC; in SetVIPRegister()
261 vr.magic = RADEON_PRIVATE_DATA_MAGIC; in VIPReadFifo()
281 vw.magic = RADEON_PRIVATE_DATA_MAGIC; in VIPWriteFifo()
302 fvd.magic = RADEON_PRIVATE_DATA_MAGIC; in FindVIPDevice()
539 am.magic = RADEON_PRIVATE_DATA_MAGIC; in AllocateGraphicsMemory()
559 fm.magic = RADEON_PRIVATE_DATA_MAGIC; in FreeGraphicsMemory()
572 dc.magic = RADEON_PRIVATE_DATA_MAGIC; in DMACopy()
584 info.magic = RADEON_PRIVATE_DATA_MAGIC; in GetDeviceInformation()
608 wvc.magic = RADEON_PRIVATE_DATA_MAGIC; in WaitInterrupt()
/haiku/headers/private/package/hpkg/v1/
H A DHPKGDefsPrivate.h25 uint32 magic; // "hpkg" member
48 uint32 magic; // "hpkr" member

123456789