Home
last modified time | relevance | path

Searched refs:magic_number (Results 1 – 25 of 42) sorted by relevance

12

/third_party/pulseaudio/src/tests/
Dthread-test.c36 static int magic_number = 0; variable
60 if (magic_number < 0) in thread_func()
63 if (magic_number != 0) in thread_func()
69 k = magic_number; in thread_func()
70 magic_number = 0; in thread_func()
116 pa_assert(magic_number == 0); in START_TEST()
121 magic_number = (int) rand() % 0x10000 + 1; in START_TEST()
123 pa_log_info("iteration %i (%i)", k, magic_number); in START_TEST()
132 magic_number = -1; in START_TEST()
/third_party/boost/libs/program_options/example/
Dregex.cpp32 struct magic_number { struct
34 magic_number(int n) : n(n) {} in magic_number() function
46 magic_number*, int) in validate() argument
62 v = any(magic_number(lexical_cast<int>(match[1]))); in validate()
76 ("magic,m", value<magic_number>(), in main()
94 << vm["magic"].as<magic_number>().n << "\"\n"; in main()
/third_party/ffmpeg/libavformat/
Dflic.c62 int magic_number; in flic_probe() local
67 magic_number = AV_RL16(&p->buf[4]); in flic_probe()
68 if ((magic_number != FLIC_FILE_MAGIC_1) && in flic_probe()
69 (magic_number != FLIC_FILE_MAGIC_2) && in flic_probe()
70 (magic_number != FLIC_FILE_MAGIC_3)) in flic_probe()
93 int magic_number; in flic_read_header() local
102 magic_number = AV_RL16(&header[4]); in flic_read_header()
182 } else if (magic_number == FLIC_FILE_MAGIC_1) { in flic_read_header()
184 } else if ((magic_number == FLIC_FILE_MAGIC_2) || in flic_read_header()
185 (magic_number == FLIC_FILE_MAGIC_3)) { in flic_read_header()
/third_party/boost/libs/utility/test/
Dinitialized_test.cpp106 const int magic_number = 42; in main() local
107 test_key_value_pair(magic_number); in main()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dmnist_op.cc113 uint32_t magic_number; in CheckImage() local
114 RETURN_IF_NOT_OK(ReadFromReader(image_reader, &magic_number)); in CheckImage()
115 CHECK_FAIL_RETURN_UNEXPECTED(magic_number == kMnistImageFileMagicNumber, in CheckImage()
141 uint32_t magic_number; in CheckLabel() local
142 RETURN_IF_NOT_OK(ReadFromReader(label_reader, &magic_number)); in CheckLabel()
143 CHECK_FAIL_RETURN_UNEXPECTED(magic_number == kMnistLabelFileMagicNumber, in CheckLabel()
/third_party/glib/glib/pcre/
Dpcre_byte_order.c116 if (re->magic_number == MAGIC_NUMBER) in pcre_pattern_to_host_byte_order()
123 if (re->magic_number != REVERSED_MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC; in pcre_pattern_to_host_byte_order()
126 re->magic_number = MAGIC_NUMBER; in pcre_pattern_to_host_byte_order()
Dpcre_fullinfo.c89 if (re->magic_number != MAGIC_NUMBER) in pcre_fullinfo()
90 return re->magic_number == REVERSED_MAGIC_NUMBER? in pcre_fullinfo()
/third_party/e2fsprogs/lib/ext2fs/
De2image.h16 __u32 magic_number; /* This must be EXT2_ET_MAGIC_E2IMAGE */ member
Dopenfs.c196 if (ext2fs_le32_to_cpu(fs->image_header->magic_number) != EXT2_ET_MAGIC_E2IMAGE) in ext2fs_open2()
/third_party/pcre2/pcre2/src/
Dpcre2_serialize.c100 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_serialize_encode()
232 if (dst_re->magic_number != MAGIC_NUMBER || in pcre2_serialize_decode()
Dpcre2_pattern_info.c115 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_pattern_info()
287 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_callout_enumerate()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dfont_header_table.cc149 void FontHeaderTable::Builder::SetMagicNumber(int64_t magic_number) { in SetMagicNumber() argument
150 InternalWriteData()->WriteULong(Offset::kMagicNumber, magic_number); in SetMagicNumber()
Dfont_header_table.h61 virtual void SetMagicNumber(int64_t magic_number);
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dfont_header_table.cc149 void FontHeaderTable::Builder::SetMagicNumber(int64_t magic_number) { in SetMagicNumber() argument
150 InternalWriteData()->WriteULong(Offset::kMagicNumber, magic_number); in SetMagicNumber()
Dfont_header_table.h61 virtual void SetMagicNumber(int64_t magic_number);
/third_party/flutter/skia/third_party/externals/spirv-tools/source/comp/
Dmarkv_codec.cpp336 magic_number = kMarkvMagicNumber; in MarkvHeader()
344 uint32_t magic_number; member
893 reader_.ReadUnencoded(&header_.magic_number) && in DecodeModule()
904 assert(header_.magic_number == kMarkvMagicNumber); in DecodeModule()
907 if (header_.magic_number != kMarkvMagicNumber) in DecodeModule()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dmodule.cpp115 binary->push_back(header_.magic_number); in ToBinary()
Dmodule.h32 uint32_t magic_number; member
/third_party/spirv-tools/source/opt/
Dmodule.cpp137 binary->push_back(header_.magic_number); in ToBinary()
Dmodule.h35 uint32_t magic_number; member
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dmodule.cpp137 binary->push_back(header_.magic_number); in ToBinary()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmodule.cpp137 binary->push_back(header_.magic_number); in ToBinary()
/third_party/mesa3d/src/amd/common/
Dac_rgp.c124 uint32_t magic_number; member
147 header->magic_number = SQTT_FILE_MAGIC_NUMBER; in ac_sqtt_fill_header()
/third_party/boost/libs/config/test/
Dboost_no_com_value_init.ipp32 enum enum_type { negative_number = -1, magic_number = 42 };
287 m_enum(magic_number)
293 return m_enum == magic_number;
/third_party/ffmpeg/libavcodec/
Dexr.c1548 int magic_number, version, flags; in decode_header() local
1581 magic_number = bytestream2_get_le32(gb); in decode_header()
1582 if (magic_number != 20000630) { in decode_header()
1585 av_log(s->avctx, AV_LOG_ERROR, "Wrong magic number %d.\n", magic_number); in decode_header()

12