/third_party/rust/crates/linux-raw-sys/src/ |
H A D | lib.rs | 4 #[cfg(feature = "std")] 7 #[cfg(all(not(feature = "std"), feature = "no_std"))] 28 #[cfg(target_pointer_width = "32")] 30 #[cfg(target_pointer_width = "32")] 32 #[cfg(target_pointer_width = "64")] 34 #[cfg(target_pointer_width = "64")] 45 #[cfg(test)] 66 #[cfg(feature = "general")] 78 #[cfg(feature = "general")] 81 #[cfg(featur [all...] |
/third_party/littlefs/bd/ |
H A D | lfs_testbd.c | 14 int lfs_testbd_createcfg(const struct lfs_config *cfg, const char *path, in lfs_testbd_createcfg() argument 24 (void*)cfg, cfg->context, in lfs_testbd_createcfg() 25 (void*)(uintptr_t)cfg->read, (void*)(uintptr_t)cfg->prog, in lfs_testbd_createcfg() 26 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync, in lfs_testbd_createcfg() 27 cfg->read_size, cfg->prog_size, cfg in lfs_testbd_createcfg() 71 lfs_testbd_create(const struct lfs_config *cfg, const char *path) lfs_testbd_create() argument 88 lfs_testbd_destroy(const struct lfs_config *cfg) lfs_testbd_destroy() argument 107 lfs_testbd_rawread(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_testbd_rawread() argument 117 lfs_testbd_rawprog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_testbd_rawprog() argument 127 lfs_testbd_rawerase(const struct lfs_config *cfg, lfs_block_t block) lfs_testbd_rawerase() argument 137 lfs_testbd_rawsync(const struct lfs_config *cfg) lfs_testbd_rawsync() argument 147 lfs_testbd_read(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_testbd_read() argument 172 lfs_testbd_prog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_testbd_prog() argument 221 lfs_testbd_erase(const struct lfs_config *cfg, lfs_block_t block) lfs_testbd_erase() argument 268 lfs_testbd_sync(const struct lfs_config *cfg) lfs_testbd_sync() argument 277 lfs_testbd_getwear(const struct lfs_config *cfg, lfs_block_t block) lfs_testbd_getwear() argument 290 lfs_testbd_setwear(const struct lfs_config *cfg, lfs_block_t block, lfs_testbd_wear_t wear) lfs_testbd_setwear() argument [all...] |
H A D | lfs_emubd.c | 49 const struct lfs_config *cfg, in lfs_emubd_mutblock() 51 lfs_emubd_t *bd = cfg->context; in lfs_emubd_mutblock() 60 sizeof(lfs_emubd_block_t) + bd->cfg->erase_size); in lfs_emubd_mutblock() 66 sizeof(lfs_emubd_block_t) + bd->cfg->erase_size); in lfs_emubd_mutblock() 76 sizeof(lfs_emubd_block_t) + bd->cfg->erase_size); in lfs_emubd_mutblock() 86 (bd->cfg->erase_value != -1) ? bd->cfg->erase_value : 0, in lfs_emubd_mutblock() 87 bd->cfg->erase_size); in lfs_emubd_mutblock() 97 int lfs_emubd_create(const struct lfs_config *cfg, in lfs_emubd_create() argument 107 (void*)cfg, cf in lfs_emubd_create() 48 lfs_emubd_mutblock( const struct lfs_config *cfg, lfs_emubd_block_t **block) lfs_emubd_mutblock() argument 187 lfs_emubd_destroy(const struct lfs_config *cfg) lfs_emubd_destroy() argument 215 lfs_emubd_read(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_emubd_read() argument 265 lfs_emubd_prog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_emubd_prog() argument 356 lfs_emubd_erase(const struct lfs_config *cfg, lfs_block_t block) lfs_emubd_erase() argument 442 lfs_emubd_sync(const struct lfs_config *cfg) lfs_emubd_sync() argument 454 lfs_emubd_rawcrc(const struct lfs_config *cfg, lfs_block_t block, uint32_t *crc) lfs_emubd_rawcrc() argument 479 lfs_emubd_crc(const struct lfs_config *cfg, lfs_block_t block, uint32_t *crc) lfs_emubd_crc() argument 488 lfs_emubd_bdcrc(const struct lfs_config *cfg, uint32_t *crc) lfs_emubd_bdcrc() argument 508 lfs_emubd_readed(const struct lfs_config *cfg) lfs_emubd_readed() argument 515 lfs_emubd_proged(const struct lfs_config *cfg) lfs_emubd_proged() argument 522 lfs_emubd_erased(const struct lfs_config *cfg) lfs_emubd_erased() argument 529 lfs_emubd_setreaded(const struct lfs_config *cfg, lfs_emubd_io_t readed) lfs_emubd_setreaded() argument 537 lfs_emubd_setproged(const struct lfs_config *cfg, lfs_emubd_io_t proged) lfs_emubd_setproged() argument 545 lfs_emubd_seterased(const struct lfs_config *cfg, lfs_emubd_io_t erased) lfs_emubd_seterased() argument 553 lfs_emubd_wear(const struct lfs_config *cfg, lfs_block_t block) lfs_emubd_wear() argument 574 lfs_emubd_setwear(const struct lfs_config *cfg, lfs_block_t block, lfs_emubd_wear_t wear) lfs_emubd_setwear() argument 595 lfs_emubd_powercycles( const struct lfs_config *cfg) lfs_emubd_powercycles() argument 604 lfs_emubd_setpowercycles(const struct lfs_config *cfg, lfs_emubd_powercycles_t power_cycles) lfs_emubd_setpowercycles() argument 616 lfs_emubd_copy(const struct lfs_config *cfg, lfs_emubd_t *copy) lfs_emubd_copy() argument [all...] |
H A D | lfs_rambd.c | 10 int lfs_rambd_create(const struct lfs_config *cfg, in lfs_rambd_create() argument 17 (void*)cfg, cfg->context, in lfs_rambd_create() 18 (void*)(uintptr_t)cfg->read, (void*)(uintptr_t)cfg->prog, in lfs_rambd_create() 19 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync, in lfs_rambd_create() 23 lfs_rambd_t *bd = cfg->context; in lfs_rambd_create() 24 bd->cfg = bdcfg; in lfs_rambd_create() 27 if (bd->cfg in lfs_rambd_create() 44 lfs_rambd_destroy(const struct lfs_config *cfg) lfs_rambd_destroy() argument 55 lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_rambd_read() argument 75 lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_rambd_prog() argument 95 lfs_rambd_erase(const struct lfs_config *cfg, lfs_block_t block) lfs_rambd_erase() argument 110 lfs_rambd_sync(const struct lfs_config *cfg) lfs_rambd_sync() argument [all...] |
H A D | lfs_filebd.c | 18 int lfs_filebd_create(const struct lfs_config *cfg, const char *path, in lfs_filebd_create() argument 25 (void*)cfg, cfg->context, in lfs_filebd_create() 26 (void*)(uintptr_t)cfg->read, (void*)(uintptr_t)cfg->prog, in lfs_filebd_create() 27 (void*)(uintptr_t)cfg->erase, (void*)(uintptr_t)cfg->sync, in lfs_filebd_create() 32 lfs_filebd_t *bd = cfg->context; in lfs_filebd_create() 33 bd->cfg = bdcfg; in lfs_filebd_create() 52 int lfs_filebd_destroy(const struct lfs_config *cfg) { in lfs_filebd_destroy() argument 65 lfs_filebd_read(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_filebd_read() argument 101 lfs_filebd_prog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_filebd_prog() argument 134 lfs_filebd_erase(const struct lfs_config *cfg, lfs_block_t block) lfs_filebd_erase() argument 149 lfs_filebd_sync(const struct lfs_config *cfg) lfs_filebd_sync() argument [all...] |
/third_party/rust/crates/nix/src/sys/ |
H A D | mman.rs | 4 #[cfg(not(any(target_os = "android", target_env = "ohos")))] 7 #[cfg(not(any(target_os = "android", target_env = "ohos")))] 8 #[cfg(feature = "fs")] 25 #[cfg(any(target_os = "android", target_os = "linux"))] 26 #[cfg_attr(docsrs, doc(cfg(all())))] 29 #[cfg(any(target_os = "android", target_os = "linux"))] 30 #[cfg_attr(docsrs, doc(cfg(all())))] 47 #[cfg(target_os = "linux")] 48 #[cfg_attr(docsrs, doc(cfg(all())))] 52 #[cfg(target_o [all...] |
H A D | statfs.rs | 4 #[cfg(not(any(target_os = "linux", target_os = "android")))] 12 #[cfg(all( 23 #[cfg(target_os = "linux")] 28 #[cfg(target_os = "android")] 29 #[cfg_attr(docsrs, doc(cfg(all())))] 32 #[cfg(not(target_os = "android"))] 33 #[cfg_attr(docsrs, doc(cfg(all())))] 37 if #[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))] { 61 #[cfg(target_os = "freebsd")] 63 #[cfg(target_o [all...] |
H A D | termios.rs | 227 #[cfg(feature = "process")] 249 #[cfg(any(target_os = "linux", target_os = "android",))] 252 #[cfg(target_os = "haiku")] 269 #[cfg(any( 295 #[cfg(any( 315 #[cfg(any( 335 #[cfg(any( in from() 376 #[cfg(any(target_os = "dragonfly", 381 #[cfg_attr(docsrs, doc(cfg(all())))] 384 #[cfg(an [all...] |
/third_party/rust/crates/syn/src/gen/ |
H A D | eq.rs | 4 #[cfg(any(feature = "derive", feature = "full"))] 7 #[cfg(any(feature = "derive", feature = "full"))] 8 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 10 #[cfg(any(feature = "derive", feature = "full"))] 11 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 17 #[cfg(any(feature = "derive", feature = "full"))] 18 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 20 #[cfg(any(feature = "derive", feature = "full"))] 21 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] 27 #[cfg(featur [all...] |
H A D | clone.rs | 6 #[cfg(any(feature = "derive", feature = "full"))] 7 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))] 16 #[cfg(any(feature = "derive", feature = "full"))] 17 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))] 28 #[cfg(feature = "full")] 29 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))] 42 #[cfg(any(feature = "derive", feature = "full"))] 43 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))] 54 #[cfg(any(feature = "derive", feature = "full"))] 55 #[cfg_attr(doc_cfg, doc(cfg(featur [all...] |
H A D | visit_mut.rs | 6 #[cfg(any(feature = "full", feature = "derive"))] 10 #[cfg(feature = "full")] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 32 #[cfg(any(feature = "derive", feature = "full"))] 33 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "derive", feature = "full"))))] 37 #[cfg(any(feature = "derive", feature = "full"))] 38 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "derive", feature = "full"))))] 45 #[cfg(feature = "full")] 46 #[cfg_attr(doc_cfg, doc(cfg(feature = "full")))] 50 #[cfg(an in visit_arm_mut() [all...] |
H A D | visit.rs | 6 #[cfg(any(feature = "full", feature = "derive"))] 10 #[cfg(feature = "full")] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 31 #[cfg(any(feature = "derive", feature = "full"))] 32 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "derive", feature = "full"))))] 36 #[cfg(any(feature = "derive", feature = "full"))] 37 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "derive", feature = "full"))))] 44 #[cfg(feature = "full")] 45 #[cfg_attr(doc_cfg, doc(cfg(feature = "full")))] 49 #[cfg(an [all...] |
/third_party/lame/libmp3lame/ |
H A D | lame.c | 107 SessionConfig_t *const cfg = &gfc->cfg; in lame_init_params_ppflt() local 118 if (cfg->lowpass1 > 0) { in lame_init_params_ppflt() 123 if (freq >= cfg->lowpass2) { in lame_init_params_ppflt() 126 if (cfg->lowpass1 < freq && freq < cfg->lowpass2) { in lame_init_params_ppflt() 134 cfg->lowpass1 = (lowpass_band - .75) / 31.0; in lame_init_params_ppflt() 137 cfg->lowpass1 = (minband - .75) / 31.0; in lame_init_params_ppflt() 139 cfg->lowpass2 = lowpass_band / 31.0; in lame_init_params_ppflt() 144 if (cfg in lame_init_params_ppflt() 368 SessionConfig_t *const cfg = &gfc->cfg; lame_init_qval() local 546 SessionConfig_t *cfg; lame_init_params() local 1337 SessionConfig_t const *const cfg = &gfc->cfg; lame_print_config() local 1428 SessionConfig_t const *const cfg = &gfc->cfg; lame_print_internals() local 1600 SessionConfig_t const *const cfg = &gfc->cfg; save_gain_values() local 1661 calcNeeded(SessionConfig_t const * cfg) calcNeeded() argument 1708 SessionConfig_t const *const cfg = &gfc->cfg; lame_encode_buffer_sample_t() local 1826 SessionConfig_t const *const cfg = &gfc->cfg; lame_copy_inbuffer() local 1882 SessionConfig_t const *const cfg = &gfc->cfg; lame_encode_buffer_template() local 2118 SessionConfig_t const *cfg; lame_encode_flush() local 2311 SessionConfig_t const *cfg; lame_mp3_tags_fid() local 2541 SessionConfig_t const *const cfg = &gfc->cfg; lame_bitrate_kbps() local 2563 SessionConfig_t const *const cfg = &gfc->cfg; lame_bitrate_hist() local 2607 SessionConfig_t const *const cfg = &gfc->cfg; lame_bitrate_stereo_mode_hist() local 2657 SessionConfig_t const *const cfg = &gfc->cfg; lame_bitrate_block_type_hist() local [all...] |
/third_party/rust/crates/nix/src/net/ |
H A D | if_.rs | 32 #[cfg(not(target_os = "haiku"))] 42 #[cfg(any(target_os = "android", 50 #[cfg_attr(docsrs, doc(cfg(all())))] 53 #[cfg(any(target_os = "dragonfly"))] 54 #[cfg_attr(docsrs, doc(cfg(all())))] 58 #[cfg(any(target_os = "android", 69 #[cfg_attr(docsrs, doc(cfg(all())))] 82 #[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))] 83 #[cfg_attr(docsrs, doc(cfg(all())))] 86 #[cfg(an [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_cs.c | 107 pan_pack(attrib, ATTRIBUTE, cfg) { in panvk_emit_varying() 108 cfg.buffer_index = varyings->varying[loc].buf; in panvk_emit_varying() 109 cfg.offset = varyings->varying[loc].offset; in panvk_emit_varying() 110 cfg.format = panvk_varying_hw_format(dev, varyings, stage, idx); in panvk_emit_varying() 132 pan_pack(buf, ATTRIBUTE_BUFFER, cfg) { in panvk_emit_varying_buf() 135 cfg.stride = varyings->buf[buf_idx].stride; in panvk_emit_varying_buf() 136 cfg.size = varyings->buf[buf_idx].size + offset; in panvk_emit_varying_buf() 137 cfg.pointer = varyings->buf[buf_idx].address & ~63ULL; in panvk_emit_varying_buf() 171 pan_pack(desc, ATTRIBUTE_BUFFER, cfg) { in panvk_emit_attrib_buf() 172 cfg in panvk_emit_attrib_buf() [all...] |
/third_party/rust/crates/rustix/src/ |
H A D | lib.rs | 8 //! # #[cfg(feature = "net")] 20 //! # #[cfg(feature = "net")] 23 //! # #[cfg(unix)] 25 //! # #[cfg(target_os = "wasi")] 27 //! # #[cfg(windows)] 29 //! # #[cfg(windows)] 33 //! #[cfg(any(unix, target_os = "wasi"))] 35 //! #[cfg(windows)] 127 #[cfg(not(feature = "rustc-dep-of-std"))] 131 #[cfg(no [all...] |
/third_party/rust/crates/syn/src/ |
H A D | lib.rs | 303 #[cfg(feature = "proc-macro")] 309 #[cfg(feature = "parsing")] 316 #[cfg(any(feature = "full", feature = "derive"))] 318 #[cfg(any(feature = "full", feature = "derive"))] 319 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))] 324 #[cfg(feature = "parsing")] 325 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))] 332 #[cfg(any(feature = "full", feature = "derive"))] 334 #[cfg(any(feature = "full", feature = "derive"))] 335 #[cfg_attr(doc_cfg, doc(cfg(an [all...] |
/third_party/rust/crates/rustix/src/fs/ |
H A D | mod.rs | 4 #[cfg(not(target_os = "redox"))] 7 #[cfg(any(target_os = "android", target_os = "linux"))] 9 #[cfg(not(target_os = "redox"))] 11 #[cfg(not(target_os = "redox"))] 13 #[cfg(not(any( 26 #[cfg(any(target_os = "ios", target_os = "macos"))] 28 #[cfg(any(target_os = "ios", target_os = "macos"))] 32 #[cfg(any(target_os = "ios", target_os = "macos"))] 34 #[cfg(not(any( 48 #[cfg(an [all...] |
/third_party/rust/crates/io-lifetimes/src/ |
H A D | lib.rs | 34 #![cfg(any(unix, windows, target_os = "wasi"))] 38 #[cfg(not(io_safety_is_in_std))] 41 #[cfg(not(io_safety_is_in_std))] 44 #[cfg(not(io_safety_is_in_std))] 45 #[cfg(any(unix, target_os = "wasi"))] 47 #[cfg(not(io_safety_is_in_std))] 48 #[cfg(windows)] 50 #[cfg(any(unix, target_os = "wasi"))] 53 #[cfg(windows)] 57 #[cfg(no [all...] |
H A D | views.rs | 12 #[cfg(any(unix, target_os = "wasi"))] 18 #[cfg(windows)] 55 #[cfg(debug_assertions)] 73 #[cfg(debug_assertions)] 103 #[cfg(debug_assertions)] in view_raw() 133 #[cfg(debug_assertions)] in view_raw() 170 #[cfg(debug_assertions)] in drop() 187 #[cfg(debug_assertions)] in drop() 210 #[cfg(any(unix, target_os = "wasi"))] in fmt() 212 #[cfg(window in fmt() [all...] |
/third_party/rust/crates/rustix/src/termios/ |
H A D | mod.rs | 3 #[cfg(not(target_os = "wasi"))] 5 #[cfg(not(target_os = "wasi"))] 7 #[cfg(not(target_os = "wasi"))] 9 #[cfg(not(windows))] 12 #[cfg(not(target_os = "wasi"))] 14 #[cfg(not(any( 26 #[cfg(not(any( 38 #[cfg(not(any( 50 #[cfg(not(any( 62 #[cfg(no [all...] |
/third_party/rust/crates/rustix/src/backend/libc/mm/ |
H A D | types.rs | 34 #[cfg(any(target_os = "android", target_os = "linux"))] 37 #[cfg(any(target_os = "android", target_os = "linux"))] 53 #[cfg(not(any( 72 #[cfg(not(any( 88 #[cfg(not(any( 105 #[cfg(not(any( 119 #[cfg(not(any( 133 #[cfg(not(any( 150 #[cfg(not(any( 167 #[cfg(no [all...] |
/third_party/mesa3d/src/gallium/drivers/asahi/ |
H A D | agx_state.c | 190 agx_pack(out, RASTERIZER_FACE, cfg) { in agx_pack_rasterizer_face() 191 cfg.depth_function = z_func; in agx_pack_rasterizer_face() 192 cfg.disable_depth_write = disable_z_write; in agx_pack_rasterizer_face() 195 cfg.stencil_write_mask = st.writemask; in agx_pack_rasterizer_face() 196 cfg.stencil_read_mask = st.valuemask; in agx_pack_rasterizer_face() 198 cfg.depth_pass = agx_stencil_ops[st.zpass_op]; in agx_pack_rasterizer_face() 199 cfg.depth_fail = agx_stencil_ops[st.zfail_op]; in agx_pack_rasterizer_face() 200 cfg.stencil_fail = agx_stencil_ops[st.fail_op]; in agx_pack_rasterizer_face() 202 cfg.stencil_compare = (enum agx_zs_func) st.func; in agx_pack_rasterizer_face() 204 cfg in agx_pack_rasterizer_face() [all...] |
/third_party/rust/crates/rustix/src/io/ |
H A D | mod.rs | 4 #[cfg(any(target_os = "android", target_os = "linux"))] 6 #[cfg(not(windows))] 9 #[cfg(any(target_os = "android", target_os = "linux"))] 11 #[cfg(not(windows))] 13 #[cfg(not(feature = "std"))] 16 #[cfg(not(any(windows, target_os = "redox")))] 18 #[cfg(not(any(windows, target_os = "wasi")))] 21 #[cfg(all(feature = "procfs", any(target_os = "android", target_os = "linux")))] 23 #[cfg(not(windows))] 25 #[cfg(no [all...] |
/third_party/rust/crates/nix/src/ |
H A D | time.rs | 2 #[cfg(any( 9 #[cfg(feature = "process")] 31 #[cfg(any( 38 #[cfg_attr(docsrs, doc(cfg(all())))] 45 #[cfg(not(target_os = "redox"))] 46 #[cfg_attr(docsrs, doc(cfg(all())))] 57 #[cfg(not(any( 63 #[cfg_attr(docsrs, doc(cfg(all())))] 73 #[cfg(any( 79 #[cfg_attr(docsrs, doc(cfg(al [all...] |