/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_misc.py | 345 vi = self.root.info_patchlevel() 347 self.assertEqual(f.info_patchlevel(), vi) 349 self.assertIsInstance(vi[:], tuple) 350 self.assertEqual(len(vi), 5) 351 self.assertIsInstance(vi[0], int) 352 self.assertIsInstance(vi[1], int) 353 self.assertIsInstance(vi[2], int) 354 self.assertIn(vi[3], ("alpha", "beta", "candidate", "final")) 355 self.assertIsInstance(vi[4], int) 356 self.assertIsInstance(vi [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | avisynth.c | 91 const AVS_VideoInfo *vi; member 257 st->codecpar->width = avs->vi->width; in avisynth_create_stream_video() 258 st->codecpar->height = avs->vi->height; in avisynth_create_stream_video() 260 st->avg_frame_rate = (AVRational) { avs->vi->fps_numerator, in avisynth_create_stream_video() 261 avs->vi->fps_denominator }; in avisynth_create_stream_video() 263 st->duration = avs->vi->num_frames; in avisynth_create_stream_video() 264 st->nb_frames = avs->vi->num_frames; in avisynth_create_stream_video() 265 avpriv_set_pts_info(st, 32, avs->vi->fps_denominator, avs->vi->fps_numerator); in avisynth_create_stream_video() 268 switch (avs->vi in avisynth_create_stream_video() [all...] |
H A D | mpsubdec.c | 58 int vi, p1, p2; in parse_line() local 60 for (vi = 0; vi < 2; vi++) { in parse_line()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Thread.hpp | 321 AtomicInt(int i) : vi(i) {} in AtomicInt() 323 inline operator int() const { return vi; } // Note: this isn't a guaranteed atomic operation in operator int() 324 inline void operator=(const AtomicInt& i) { sw::atomicExchange(&vi, i.vi); } in operator =() 325 inline void operator=(int i) { sw::atomicExchange(&vi, i); } in operator =() 326 inline void operator--() { sw::atomicDecrement(&vi); } in operator --() 327 inline void operator++() { sw::atomicIncrement(&vi); } in operator ++() 328 inline int operator--(int) { return sw::atomicDecrement(&vi); } in operator --() 329 inline int operator++(int) { return sw::atomicIncrement(&vi); } in operator ++() 330 inline void operator-=(int i) { sw::atomicAdd(&vi, in operator ++() 333 volatile int vi; global() member in sw::AtomicInt [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | MemoryLock.cpp | 96 OSVERSIONINFOEXW vi;
in Get_LargePages_RiskLevel() local 106 func(&vi);
in Get_LargePages_RiskLevel() 107 if (vi.dwPlatformId != VER_PLATFORM_WIN32_NT)
in Get_LargePages_RiskLevel() 109 if (vi.dwMajorVersion + vi.dwMinorVersion != 10)
in Get_LargePages_RiskLevel() 111 if (vi.dwBuildNumber <= 16299)
in Get_LargePages_RiskLevel() 115 if (vi.dwBuildNumber < 18362 && !CPU_IsSupported_PageGB())
in Get_LargePages_RiskLevel()
|
H A D | NtCheck.h | 19 OSVERSIONINFO vi;
in IsItWindowsNT() local 20 vi.dwOSVersionInfoSize = sizeof(vi);
in IsItWindowsNT() 21 return (::GetVersionEx(&vi) && vi.dwPlatformId == VER_PLATFORM_WIN32_NT);
in IsItWindowsNT()
|
H A D | SystemInfo.cpp | 729 static BOOL My_RtlGetVersion(OSVERSIONINFOEXW *vi)
in My_RtlGetVersion() argument 740 func(vi);
in My_RtlGetVersion() 755 // OSVERSIONINFO vi;
in GetOsInfoText() 756 OSVERSIONINFOEXW vi;
in GetOsInfoText() local 757 vi.dwOSVersionInfoSize = sizeof(vi);
in GetOsInfoText() 758 // if (::GetVersionEx(&vi))
in GetOsInfoText() 759 if (My_RtlGetVersion(&vi))
in GetOsInfoText() 762 if (vi.dwPlatformId != VER_PLATFORM_WIN32_NT)
in GetOsInfoText() 763 s.Add_UInt32(vi in GetOsInfoText() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libvorbisdec.c | 29 vorbis_info vi; /**< vorbis_info used during init */ member 49 vorbis_info_init(&context->vi) ; in oggvorbis_decode_init() 109 if(vorbis_synthesis_headerin(&context->vi, &context->vc, &context->op)<0){ in oggvorbis_decode_init() 118 avccontext->ch_layout.nb_channels = context->vi.channels; in oggvorbis_decode_init() 119 avccontext->sample_rate = context->vi.rate; in oggvorbis_decode_init() 123 vorbis_synthesis_init(&context->vd, &context->vi); in oggvorbis_decode_init() 176 // av_log(avccontext, AV_LOG_DEBUG, "%d %d %d %"PRId64" %"PRId64" %d %d\n", op->bytes, op->b_o_s, op->e_o_s, op->granulepos, op->packetno, buf_size, context->vi.rate); in oggvorbis_decode_frame() 189 conv(samples, pcm, (char*)output + total_bytes, context->vi.channels) ; in oggvorbis_decode_frame() 190 total_bytes += samples * 2 * context->vi.channels ; in oggvorbis_decode_frame() 206 vorbis_info_clear(&context->vi) ; in oggvorbis_decode_close() [all...] |
H A D | libvorbisenc.c | 48 vorbis_info vi; /**< vorbis_info used during init */ member 98 static av_cold int libvorbis_setup(vorbis_info *vi, AVCodecContext *avctx) in libvorbis_setup() argument 114 if ((ret = vorbis_encode_setup_vbr(vi, channels, in libvorbis_setup() 123 if ((ret = vorbis_encode_setup_managed(vi, channels, in libvorbis_setup() 130 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE2_SET, NULL))) in libvorbis_setup() 137 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_LOWPASS_SET, &cfreq))) in libvorbis_setup() 143 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_IBLOCK_SET, &s->iblock))) in libvorbis_setup() 175 if ((ret = vorbis_encode_setup_init(vi))) in libvorbis_setup() 199 vorbis_info_clear(&s->vi); in libvorbis_encode_close() 217 vorbis_info_init(&s->vi); in libvorbis_encode_init() [all...] |
H A D | sbrdsp.c | 90 union av_intfloat32 *vi = (union av_intfloat32*)v; in sbr_qmf_deint_neg_c() local 93 vi[ i].i = si[63 - 2 * i ].i; in sbr_qmf_deint_neg_c() 94 vi[63 - i].i = si[63 - 2 * i - 1].i ^ (1U << 31); in sbr_qmf_deint_neg_c()
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
H A D | main.c | 102 lws_cose_validate_create_info_t vi; in main() local 308 memset(&vi, 0, sizeof(vi)); in main() 310 vi.cx = context; in main() 311 vi.keyset = &set; in main() 312 vi.sigtype = sigtype; in main() 313 vi.ext_cb = extra_cb; in main() 314 vi.ext_opaque = extra; in main() 315 vi.ext_len = ext_len; in main() 316 vi in main() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_v360.c | 1457 int ui, vi; in xyz_to_cube3x2() local 1477 vi = floorf(vf); in xyz_to_cube3x2() 1480 *dv = vf - vi; in xyz_to_cube3x2() 1485 int new_vi = vi + i - 1; in xyz_to_cube3x2() 1614 int ui, vi; in xyz_to_cube1x6() local 1630 vi = floorf(vf); in xyz_to_cube1x6() 1633 *dv = vf - vi; in xyz_to_cube1x6() 1638 int new_vi = vi + i - 1; in xyz_to_cube1x6() 1694 int ui, vi; in xyz_to_cube6x1() local 1710 vi in xyz_to_cube6x1() 1915 const int vi = floorf(vf); xyz_to_stereographic() local 2019 const int vi = floorf(vf); xyz_to_equisolid() local 2130 const int vi = floorf(vf); xyz_to_orthographic() local 2187 const int vi = floorf(vf); xyz_to_equirect() local 2228 const int vi = floorf(vf); xyz_to_hequirect() local 2286 int visible, ui, vi; xyz_to_flat() local 2332 const int vi = floorf(vf); xyz_to_mercator() local 2401 const int vi = floorf(vf); xyz_to_ball() local 2513 const int vi = floorf(vf); xyz_to_hammer() local 2580 const int vi = floorf(vf); xyz_to_sinusoidal() local 2773 int ui, vi; xyz_to_eac() local 2943 int ui, vi; xyz_to_fisheye() local 3025 const int vi = floorf(vf); xyz_to_pannini() local 3131 const int vi = floorf(vf); xyz_to_cylindrical() local 3239 const int vi = floorf(vf); xyz_to_cylindricalea() local 3351 int ui, vi; xyz_to_tetrahedron() local 3465 int ui, vi; xyz_to_dfisheye() local 3586 int ui, vi; xyz_to_barrel() local 3657 int ui, vi; xyz_to_barrelsplit() local 3877 int ui, vi; xyz_to_tspyramid() local 3978 int ui, vi; xyz_to_octahedron() local [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_graphics_state.c | 219 vk_vertex_input_state_init(struct vk_vertex_input_state *vi, in vk_vertex_input_state_init() argument 225 memset(vi, 0, sizeof(*vi)); in vk_vertex_input_state_init() 236 vi->bindings_valid |= BITFIELD_BIT(b); in vk_vertex_input_state_init() 237 vi->bindings[b].stride = desc->stride; in vk_vertex_input_state_init() 238 vi->bindings[b].input_rate = desc->inputRate; in vk_vertex_input_state_init() 239 vi->bindings[b].divisor = 1; in vk_vertex_input_state_init() 248 assert(vi->bindings_valid & BITFIELD_BIT(desc->binding)); in vk_vertex_input_state_init() 251 vi->attributes_valid |= BITFIELD_BIT(a); in vk_vertex_input_state_init() 252 vi in vk_vertex_input_state_init() 275 vk_dynamic_graphics_state_init_vi(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_vertex_input_state *vi) vk_dynamic_graphics_state_init_vi() argument 1425 struct vk_vertex_input_state *vi = dyn->vi; vk_dynamic_graphics_state_clear() local [all...] |
H A D | vk_graphics_state.h | 515 * - Set vi to a driver-allocated vk_vertex_input_state struct 527 struct vk_vertex_input_state *vi; member 688 struct vk_vertex_input_state vi; member 709 const struct vk_vertex_input_state *vi; member
|
/third_party/skia/tools/gpu/gl/glx/ |
H A D | CreatePlatformGLTestContext_glx.cpp | 159 XVisualInfo *vi = glXGetVisualFromFBConfig(fDisplay, fbc[i]); in GLXGLTestContext() local 160 if (vi) { in GLXGLTestContext() 167 // i, (unsigned int)vi->visualid, samp_buf, samples); in GLXGLTestContext() 174 XFree(vi); in GLXGLTestContext() 183 XVisualInfo *vi = glXGetVisualFromFBConfig(fDisplay, bestFbc); in GLXGLTestContext() local 184 //SkDebugf("Chosen visual ID = 0x%x\n", (unsigned int)vi->visualid); in GLXGLTestContext() 186 fPixmap = XCreatePixmap(fDisplay, RootWindow(fDisplay, vi->screen), 10, 10, vi->depth); in GLXGLTestContext() 194 fGlxPixmap = glXCreateGLXPixmap(fDisplay, vi, fPixmap); in GLXGLTestContext() 197 XFree(vi); in GLXGLTestContext() [all...] |
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnn.c | 1039 static void prepvarinfo (struct rnndb *db, char *what, struct rnnvarinfo *vi, struct rnnvarinfo *parent) { in prepvarinfo() argument 1041 vi->prefenum = parent->prefenum; in prepvarinfo() 1042 if (vi->prefixstr) { in prepvarinfo() 1043 if (!strcmp(vi->prefixstr, "none")) in prepvarinfo() 1044 vi->prefenum = 0; in prepvarinfo() 1046 vi->prefenum = rnn_findenum(db, vi->prefixstr); // XXX in prepvarinfo() 1051 ADDARRAY(vi->varsets, copyvarset(parent->varsets[i])); in prepvarinfo() 1052 struct rnnenum *varset = vi->prefenum; in prepvarinfo() 1053 if (!varset && !vi in prepvarinfo() 1156 preptypeinfo(struct rnndb *db, struct rnntypeinfo *ti, char *prefix, struct rnnvarinfo *vi, char *file) preptypeinfo() argument [all...] |
H A D | rnndec.c | 80 int rnndec_varmatch(struct rnndeccontext *ctx, struct rnnvarinfo *vi) { in rnndec_varmatch() argument 81 if (vi->dead) in rnndec_varmatch() 84 for (i = 0; i < vi->varsetsnum; i++) { in rnndec_varmatch() 87 if (vi->varsets[i]->venum == ctx->vars[j]->en) in rnndec_varmatch() 90 fprintf (stderr, "I don't know which %s variant to use!\n", vi->varsets[i]->venum->name); in rnndec_varmatch() 92 if (!vi->varsets[i]->variants[ctx->vars[j]->variant]) in rnndec_varmatch()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngvalid.c | 9426 init_validate_info(validate_info *vi, gamma_display *dp, png_const_structp pp, in init_validate_info() argument 9431 vi->pp = pp; in init_validate_info() 9432 vi->dp = dp; in init_validate_info() 9436 vi->sbit = dp->sbit; in init_validate_info() 9437 vi->isbit_shift = in_depth - dp->sbit; in init_validate_info() 9442 vi->sbit = (png_byte)in_depth; in init_validate_info() 9443 vi->isbit_shift = 0; in init_validate_info() 9446 vi->sbit_max = (1U << vi->sbit)-1; in init_validate_info() 9451 vi in init_validate_info() 9590 gamma_component_validate(const char *name, const validate_info *vi, unsigned int id, unsigned int od, const double alpha , const double background ) gamma_component_validate() argument 10220 validate_info vi; gamma_image_validate() local [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_pkt.c | 178 uint64_t vi; in ngtcp2_pkt_decode_hd_long() local 264 vi = ngtcp2_get_varint(&ntokenlen, p); in ngtcp2_pkt_decode_hd_long() 265 if (pktlen - len < vi) { in ngtcp2_pkt_decode_hd_long() 268 tokenlen = (size_t)vi; in ngtcp2_pkt_decode_hd_long() 327 vi = ngtcp2_get_varint(&n, p); in ngtcp2_pkt_decode_hd_long() 328 if (vi > SIZE_MAX) { in ngtcp2_pkt_decode_hd_long() 331 dest->len = (size_t)vi; in ngtcp2_pkt_decode_hd_long() 563 uint64_t vi; in ngtcp2_pkt_decode_stream_frame() local 611 vi = ngtcp2_get_varint(&ndatalen, p); in ngtcp2_pkt_decode_stream_frame() 612 if (payloadlen - len < vi) { in ngtcp2_pkt_decode_stream_frame() 667 uint64_t vi; ngtcp2_pkt_decode_ack_frame() local 875 uint64_t vi; ngtcp2_pkt_decode_connection_close_frame() local 1298 uint64_t vi; ngtcp2_pkt_decode_crypto_frame() local 1358 uint64_t vi; ngtcp2_pkt_decode_new_token_frame() local 1439 uint64_t vi; ngtcp2_pkt_decode_datagram_frame() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_sys.py | 608 vi = sys.version_info 609 self.assertIsInstance(vi[:], tuple) 610 self.assertEqual(len(vi), 5) 611 self.assertIsInstance(vi[0], int) 612 self.assertIsInstance(vi[1], int) 613 self.assertIsInstance(vi[2], int) 614 self.assertIn(vi[3], ("alpha", "beta", "candidate", "final")) 615 self.assertIsInstance(vi[4], int) 616 self.assertIsInstance(vi.major, int) 617 self.assertIsInstance(vi [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | pkcs12kdf.c | 57 int ret = 0, ui, vi; in pkcs12kdf_derive() local 65 vi = EVP_MD_get_block_size(md_type); in pkcs12kdf_derive() 67 if (ui <= 0 || vi <= 0) { in pkcs12kdf_derive() 72 v = (size_t)vi; in pkcs12kdf_derive()
|
/third_party/openssl/providers/implementations/kdfs/ |
H A D | pkcs12kdf.c | 57 int ret = 0, ui, vi; in pkcs12kdf_derive() local 65 vi = EVP_MD_get_block_size(md_type); in pkcs12kdf_derive() 67 if (ui <= 0 || vi <= 0) { in pkcs12kdf_derive() 72 v = (size_t)vi; in pkcs12kdf_derive()
|
/third_party/glslang/SPIRV/ |
H A D | SpvPostProcess.cpp | 430 for (auto vi = b->getLocalVariables().cbegin(); vi != b->getLocalVariables().cend(); vi++) { in postProcessFeatures() 431 const Instruction& inst = *vi->get(); in postProcessFeatures()
|
/third_party/libbpf/src/ |
H A D | linker.c | 1663 const struct btf_var_secinfo *vi; in find_glob_sym_btf() local 1691 vi = btf_var_secinfos(t); in find_glob_sym_btf() 1692 for (j = 0, m = btf_vlen(t); j < m; j++, vi++) { in find_glob_sym_btf() 1693 t = btf__type_by_id(obj->btf, vi->type); in find_glob_sym_btf() 1703 if (btf_id && btf_id != vi->type) { in find_glob_sym_btf() 1705 sym_name, btf_id, vi->type); in find_glob_sym_btf() 1710 *out_btf_id = vi->type; in find_glob_sym_btf() 2141 struct btf_var_secinfo *vi; in linker_fixup_btf() local 2194 vi = btf_var_secinfos(t); in linker_fixup_btf() 2195 for (j = 0, m = btf_vlen(t); j < m; j++, vi in linker_fixup_btf() 2683 struct btf_var_secinfo *vi = &sec->sec_vars[j]; finalize_btf() local [all...] |
/third_party/json/tests/src/ |
H A D | unit-readme.cpp | 259 int vi = jn.get<int>(); variable 260 CHECK(vi == 42);
|