/third_party/pulseaudio/src/tests/ |
D | thread-test.c | 36 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/ |
D | regex.cpp | 32 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/ |
D | flic.c | 62 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/ |
D | initialized_test.cpp | 106 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/ |
D | mnist_op.cc | 113 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/ |
D | pcre_byte_order.c | 116 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()
|
D | pcre_fullinfo.c | 89 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/ |
D | e2image.h | 16 __u32 magic_number; /* This must be EXT2_ET_MAGIC_E2IMAGE */ member
|
D | openfs.c | 196 if (ext2fs_le32_to_cpu(fs->image_header->magic_number) != EXT2_ET_MAGIC_E2IMAGE) in ext2fs_open2()
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_serialize.c | 100 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()
|
D | pcre2_pattern_info.c | 115 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/ |
D | font_header_table.cc | 149 void FontHeaderTable::Builder::SetMagicNumber(int64_t magic_number) { in SetMagicNumber() argument 150 InternalWriteData()->WriteULong(Offset::kMagicNumber, magic_number); in SetMagicNumber()
|
D | font_header_table.h | 61 virtual void SetMagicNumber(int64_t magic_number);
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/ |
D | font_header_table.cc | 149 void FontHeaderTable::Builder::SetMagicNumber(int64_t magic_number) { in SetMagicNumber() argument 150 InternalWriteData()->WriteULong(Offset::kMagicNumber, magic_number); in SetMagicNumber()
|
D | font_header_table.h | 61 virtual void SetMagicNumber(int64_t magic_number);
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/comp/ |
D | markv_codec.cpp | 336 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/ |
D | module.cpp | 115 binary->push_back(header_.magic_number); in ToBinary()
|
D | module.h | 32 uint32_t magic_number; member
|
/third_party/spirv-tools/source/opt/ |
D | module.cpp | 137 binary->push_back(header_.magic_number); in ToBinary()
|
D | module.h | 35 uint32_t magic_number; member
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | module.cpp | 137 binary->push_back(header_.magic_number); in ToBinary()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | module.cpp | 137 binary->push_back(header_.magic_number); in ToBinary()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rgp.c | 124 uint32_t magic_number; member 147 header->magic_number = SQTT_FILE_MAGIC_NUMBER; in ac_sqtt_fill_header()
|
/third_party/boost/libs/config/test/ |
D | boost_no_com_value_init.ipp | 32 enum enum_type { negative_number = -1, magic_number = 42 }; 287 m_enum(magic_number) 293 return m_enum == magic_number;
|
/third_party/ffmpeg/libavcodec/ |
D | exr.c | 1548 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()
|