Home
last modified time | relevance | path

Searched refs:magic_number (Results 1 – 25 of 28) 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/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/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()
Dpcre2_intmodedep.h624 uint32_t magic_number; /* Paranoid and endianness check */ member
Dpcre2_dfa_match.c3379 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_dfa_match()
/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/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.cpp142 binary->push_back(header_.magic_number); in ToBinary()
Dmodule.h35 uint32_t magic_number; member
/third_party/skia/third_party/externals/swiftshader/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()
Dmodule.h35 uint32_t magic_number; member
/third_party/mesa3d/src/amd/common/
Dac_rgp.c121 uint32_t magic_number; member
144 header->magic_number = SQTT_FILE_MAGIC_NUMBER; in ac_sqtt_fill_header()
/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()
/third_party/skia/third_party/externals/spirv-tools/source/link/
Dlinker.cpp209 header->magic_number = SpvMagicNumber; in GenerateHeader()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp209 header->magic_number = SpvMagicNumber; in GenerateHeader()
/third_party/spirv-tools/source/link/
Dlinker.cpp229 header->magic_number = SpvMagicNumber; in GenerateHeader()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderImageLoadStoreTests.cpp8238 bool CheckIfTextureWasModified(GLuint texture_id, GLubyte magic_number) in CheckIfTextureWasModified() argument
8262 magic_number); in CheckIfTextureWasModified()
8353 GLenum Create2DRGBA8CompleteTexture(GLubyte magic_number, GLuint& out_texture_id) in Create2DRGBA8CompleteTexture() argument
8378 …Texel(&texture_data[texel_offset], static_cast<GLubyte>(x), static_cast<GLubyte>(y), magic_number); in Create2DRGBA8CompleteTexture()
8434 GLenum Create2DRGBA8IncompleteTexture(GLubyte magic_number, GLuint& out_texture_id) in Create2DRGBA8IncompleteTexture() argument
8459 …Texel(&texture_data[texel_offset], static_cast<GLubyte>(x), static_cast<GLubyte>(y), magic_number); in Create2DRGBA8IncompleteTexture()
8516 void SetTexel(GLubyte texel[4], GLubyte x_coordinate, GLubyte y_coordinate, GLubyte magic_number) in SetTexel() argument
8520 texel[2] = magic_number; in SetTexel()

12