HomeSort by relevance Sort by last modified time
    Searched refs:magic (Results 1 - 25 of 1625) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/syslinux/core/lwip/src/netif/ppp/
magic.c 2 * magic.c - Network Random Number Generator program file.
31 * Original based on BSD magic.c.
34 * magic.c - PPP Magic Number routines.
58 #include "magic.h"
62 * magicInit - Initialize the magic number generator.
73 * magic - Returns the next magic number.
75 u32_t magic() function
magic.h 2 * magic.h - Network Random Number Generator header file.
34 * magic.h - PPP Magic Number definitions.
51 * $Id: magic.h,v 1.3 2010/01/18 20:49:43 goldsimon Exp $
57 /* Initialize the magic number generator */
60 /* Returns the next magic number */
61 u32_t magic(void);
  /bionic/libc/kernel/uapi/linux/
pg.h 24 char magic; member in struct:pg_write_hdr
31 char magic; member in struct:pg_read_hdr
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
fixheader.py 3 # Add some standard cpp magic to a header file
29 magic = 'Py_'
32 magic = magic + c.upper()
33 else: magic = magic + '_'
35 print '#ifndef', magic
36 print '#define', magic
46 print '#endif /*', '!'+magic, '*/'
  /external/kernel-headers/original/uapi/linux/
pg.h 33 read and write buffers contain a single character "magic" flag.
46 char magic; /* == PG_MAGIC */ member in struct:pg_write_hdr
56 char magic; /* == PG_MAGIC */ member in struct:pg_read_hdr
  /external/ppp/pppd/
magic.h 2 * magic.h - PPP Magic Number definitions.
42 * $Id: magic.h,v 1.5 2003/06/11 23:56:26 paulus Exp $
45 void magic_init __P((void)); /* Initialize the magic number generator */
46 u_int32_t magic __P((void)); /* Returns the next magic number */
  /external/python/cpython2/Tools/scripts/
fixheader.py 3 # Add some standard cpp magic to a header file
29 magic = 'Py_'
32 magic = magic + c.upper()
33 else: magic = magic + '_'
35 print '#ifndef', magic
36 print '#define', magic
46 print '#endif /*', '!'+magic, '*/'
  /external/python/cpython3/Tools/scripts/
fixheader.py 3 # Add some standard cpp magic to a header file
29 magic = 'Py_'
32 magic = magic + c.upper()
33 else: magic = magic + '_'
35 print('#ifndef', magic)
36 print('#define', magic)
46 print('#endif /*', '!'+magic, '*/')
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
pg.h 32 read and write buffers contain a single character "magic" flag.
45 char magic; /* == PG_MAGIC */ member in struct:pg_write_hdr
55 char magic; /* == PG_MAGIC */ member in struct:pg_read_hdr
  /external/libdrm/
xf86drmRandom.h 28 unsigned long magic; member in struct:RandomState
  /art/libartbase/base/
file_magic.h 27 // Open file and read magic number
28 File OpenAndReadMagic(const char* filename, uint32_t* magic, std::string* error_msg);
30 // Read magic number and reset pointer to SEEK_SET.
31 bool ReadMagicAndReset(int fd, uint32_t* magic, std::string* error_msg);
33 // Check whether the given magic matches a known file type.
34 bool IsZipMagic(uint32_t magic);
file_magic.cc 32 File OpenAndReadMagic(const char* filename, uint32_t* magic, std::string* error_msg) {
33 CHECK(magic != nullptr);
39 if (!ReadMagicAndReset(fd.Fd(), magic, error_msg)) {
40 StringPrintf("Error in reading magic from file %s: %s", filename, error_msg->c_str());
46 bool ReadMagicAndReset(int fd, uint32_t* magic, std::string* error_msg) {
47 int n = TEMP_FAILURE_RETRY(read(fd, magic, sizeof(*magic)));
48 if (n != sizeof(*magic)) {
49 *error_msg = StringPrintf("Failed to find magic");
59 bool IsZipMagic(uint32_t magic) {
    [all...]
  /dalvik/dx/src/com/android/dex/
DexFormat.java 78 /** common prefix for all dex file "magic numbers" */
81 /** common suffix for all dex file "magic numbers" */
103 * Returns the API level corresponding to the given magic number,
105 * magic number.
107 * @param magic array of bytes containing DEX file magic string
108 * @return API level corresponding to magic string if valid, -1 otherwise.
110 public static int magicToApi(byte[] magic) {
111 if (magic.length != 8) {
115 if ((magic[0] != 'd') || (magic[1] != 'e') || (magic[2] != 'x') || (magic[3] != '\n') |
    [all...]
  /external/valgrind/memcheck/tests/
demangle.cpp 15 class magic { class
25 magic<int> *c = new magic<int>;
demangle.stderr.exp 2 at 0x........: abc::def<int, magic<int> >::xyzzy(int*, magic<int>*) (demangle.cpp:9)
3 by 0x........: magic<int>::xyzzy(int*) (demangle.cpp:19)
  /external/swiftshader/third_party/LLVM/lib/Support/
Path.cpp 52 sys::IdentifyFileType(const char *magic, unsigned length) {
53 assert(magic && "Invalid magic number string");
54 assert(length >=4 && "Invalid magic number length");
55 switch ((unsigned char)magic[0]) {
57 if (magic[1] == (char)0xC0 && magic[2] == (char)0x17 &&
58 magic[3] == (char)0x0B)
62 if (magic[1] == 'C' && magic[2] == (char)0xC0 && magic[3] == (char)0xDE
    [all...]
  /external/libpcap/
sf-pcap-ng.h 29 extern pcap_t *pcap_ng_check_header(bpf_u_int32 magic, FILE *fp,
sf-pcap.h 34 extern pcap_t *pcap_check_header(bpf_u_int32 magic, FILE *fp,
  /external/strace/linux/sparc64/
userent.h 5 XLAT_UOFF(magic),
  /external/vulkan-validation-layers/tests/
icd-spv.h 24 uint32_t magic; member in struct:icd_spv_header
26 uint32_t gen_magic; // Generator's magic number
  /hardware/intel/common/libva/va/drm/
va_drm_auth.h 37 va_drm_authenticate(int fd, uint32_t magic);
va_drm_auth_x11.h 33 va_drm_authenticate_x11(int fd, uint32_t magic);
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/
icd-spv.h 24 uint32_t magic; member in struct:icd_spv_header
26 uint32_t gen_magic; // Generator's magic number
  /art/libdexfile/dex/
standard_dex_file.cc 39 void StandardDexFile::WriteMagic(uint8_t* magic) {
40 std::copy_n(kDexMagic, kDexMagicSize, magic);
43 void StandardDexFile::WriteCurrentVersion(uint8_t* magic) {
46 magic + kDexMagicSize);
49 bool StandardDexFile::IsMagicValid(const uint8_t* magic) {
50 return (memcmp(magic, kDexMagic, sizeof(kDexMagic)) == 0);
53 bool StandardDexFile::IsVersionValid(const uint8_t* magic) {
54 const uint8_t* version = &magic[sizeof(kDexMagic)];
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug329.go 18 const magic = 1 + 2i const
21 if x != magic {
23 panic("bad complex magic")
28 return magic
32 if x.X != magic {
34 panic("bad struct magic")
39 return Struct{magic}

Completed in 399 milliseconds

1 2 3 4 5 6 7 8 91011>>