/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | sampler.cpp | 52 struct pipe_sampler_state info {}; in bind() struct 54 info.normalized_coords = norm_mode(); in bind() 56 info.wrap_s = info.wrap_t = info.wrap_r = in bind() 63 info.min_img_filter = info.mag_img_filter = in bind() 67 return q.pipe->create_sampler_state(q.pipe, &info); in bind()
|
/third_party/ltp/testcases/kernel/syscalls/mallopt/ |
H A D | mallopt01.c | 23 struct mallinfo info; variable 31 info = mallinfo(); in test_mallopt() 32 if (info.uordblks < 20480) { in test_mallopt() 33 print_mallinfo("Test uordblks", &info); in test_mallopt() 36 if (info.smblks != 0) { in test_mallopt() 37 print_mallinfo("Test smblks", &info); in test_mallopt() 40 if (info.uordblks >= 20480 && info.smblks == 0) in test_mallopt()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-mimetypes/ |
H A D | minimal-http-server-mimetypes.c | 56 struct lws_context_creation_info info; in main() local 75 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */ in main() 76 info.port = 7681; in main() 77 info.mounts = &mount; in main() 78 info.error_document_404 = "/404.html"; in main() 79 info.options = in main() 82 context = lws_create_context(&info); in main()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/ |
H A D | minimal-ws-broker.c | 59 struct lws_context_creation_info info; in main() local 78 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */ in main() 79 info.port = 7681; in main() 80 info.mounts = &mount; in main() 81 info.protocols = protocols; in main() 82 info.options = in main() 85 context = lws_create_context(&info); in main()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/ |
H A D | minimal-ws-server-ring.c | 59 struct lws_context_creation_info info; in main() local 78 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */ in main() 79 info.port = 7681; in main() 80 info.mounts = &mount; in main() 81 info.protocols = protocols; in main() 82 info.options = in main() 85 context = lws_create_context(&info); in main()
|
/third_party/node/deps/v8/src/heap/ |
H A D | embedder-tracing-inl.h | 17 const WrapperDescriptor& wrapper_descriptor, WrapperInfo* info) { in ExtractWrappableInfo() 25 info); in ExtractWrappableInfo() 32 WrapperInfo* info) { in ExtractWrappableInfo() 33 if (type_slot.ToAlignedPointer(isolate, &info->first) && info->first && in ExtractWrappableInfo() 34 instance_slot.ToAlignedPointer(isolate, &info->second) && info->second) { in ExtractWrappableInfo() 37 (*static_cast<uint16_t*>(info->first) == in ExtractWrappableInfo() 15 ExtractWrappableInfo( Isolate* isolate, JSObject js_object, const WrapperDescriptor& wrapper_descriptor, WrapperInfo* info) ExtractWrappableInfo() argument 29 ExtractWrappableInfo( Isolate* isolate, const WrapperDescriptor& wrapper_descriptor, const EmbedderDataSlot& type_slot, const EmbedderDataSlot& instance_slot, WrapperInfo* info) ExtractWrappableInfo() argument
|
/applications/standard/app_samples/code/BasicFeature/Native/ArkTSXComponent/entry/src/main/cpp/manager/ |
H A D | plugin_manager.cpp | 28 int64_t ParseId(napi_env env, napi_callback_info info) in ParseId() argument 30 if ((env == nullptr) || (info == nullptr)) { in ParseId() 31 OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "ParseId", "env or info is null"); in ParseId() 36 if (napi_ok != napi_get_cb_info(env, info, &argc, args, nullptr, nullptr)) { in ParseId() 80 napi_value PluginManager::SetSurfaceId(napi_env env, napi_callback_info info) in SetSurfaceId() argument 82 int64_t surfaceId = ParseId(env, info); in SetSurfaceId() 97 napi_value PluginManager::DestroySurface(napi_env env, napi_callback_info info) in DestroySurface() argument 99 int64_t surfaceId = ParseId(env, info); in DestroySurface() 113 napi_value PluginManager::ChangeSurface(napi_env env, napi_callback_info info) in ChangeSurface() argument 115 if ((env == nullptr) || (info in ChangeSurface() 150 ChangeColor(napi_env env, napi_callback_info info) ChangeColor() argument 162 DrawPattern(napi_env env, napi_callback_info info) DrawPattern() argument 174 GetXComponentStatus(napi_env env, napi_callback_info info) GetXComponentStatus() argument [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | link-vmlinux.sh | 39 info() function 49 info GEN .tmp_initcalls.lds 61 info GEN .tmp_symversions.lds 96 info LTO ${1} 98 info LD ${1} 128 info OBJTOOL ${1} 143 info LD ${output} 214 info "BTF" ${2} 251 info KSYMS ${2} 267 info A [all...] |
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | bpf_prog_linfo.c | 100 struct bpf_prog_linfo *bpf_prog_linfo__new(const struct bpf_prog_info *info) in bpf_prog_linfo__new() argument 106 nr_linfo = info->nr_line_info; in bpf_prog_linfo__new() 115 if (info->line_info_rec_size < in bpf_prog_linfo__new() 125 prog_linfo->rec_size = info->line_info_rec_size; in bpf_prog_linfo__new() 130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new() 132 nr_jited_func = info->nr_jited_ksyms; in bpf_prog_linfo__new() 134 !info->jited_line_info || in bpf_prog_linfo__new() 135 info->nr_jited_line_info != nr_linfo || in bpf_prog_linfo__new() 136 info->jited_line_info_rec_size < sizeof(__u64) || in bpf_prog_linfo__new() 137 info in bpf_prog_linfo__new() [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | intel-m10-bmc-core.c | 18 if (!m10bmc->info->handshake_sys_reg_nranges) in m10bmc_fw_state_set() 33 if (!m10bmc->info->handshake_sys_reg_nranges) in m10bmc_reg_always_available() 36 return !regmap_reg_in_ranges(offset, m10bmc->info->handshake_sys_reg_ranges, in m10bmc_reg_always_available() 37 m10bmc->info->handshake_sys_reg_nranges); in m10bmc_reg_always_available() 63 const struct m10bmc_csr_map *csr_map = m10bmc->info->csr_map; in m10bmc_sys_read() 83 const struct m10bmc_csr_map *csr_map = m10bmc->info->csr_map; in m10bmc_sys_update_bits() 107 ret = m10bmc_sys_read(ddata, ddata->info->csr_map->build_version, &val); in bmc_version_show() 122 ret = m10bmc_sys_read(ddata, ddata->info->csr_map->fw_version, &val); in bmcfw_version_show() 137 ret = m10bmc_sys_read(ddata, ddata->info->csr_map->mac_low, &macaddr_low); in mac_address_show() 141 ret = m10bmc_sys_read(ddata, ddata->info in mac_address_show() 188 m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platform_info *info) m10bmc_dev_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | phy.c | 37 if (!chip->info->ops->phy_read) in mv88e6xxx_phy_read() 40 return chip->info->ops->phy_read(chip, bus, addr, reg, val); in mv88e6xxx_phy_read() 52 if (!chip->info->ops->phy_write) in mv88e6xxx_phy_write() 55 return chip->info->ops->phy_write(chip, bus, addr, reg, val); in mv88e6xxx_phy_write() 68 if (!chip->info->ops->phy_read_c45) in mv88e6xxx_phy_read_c45() 71 return chip->info->ops->phy_read_c45(chip, bus, addr, devad, reg, val); in mv88e6xxx_phy_read_c45() 84 if (!chip->info->ops->phy_write_c45) in mv88e6xxx_phy_write_c45() 87 return chip->info->ops->phy_write_c45(chip, bus, addr, devad, reg, val); in mv88e6xxx_phy_write_c45() 152 if (!chip->info->ops->ppu_disable) in mv88e6xxx_phy_ppu_disable() 155 return chip->info in mv88e6xxx_phy_ppu_disable() [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | bpf_prog_linfo.c | 100 struct bpf_prog_linfo *bpf_prog_linfo__new(const struct bpf_prog_info *info) in bpf_prog_linfo__new() argument 106 nr_linfo = info->nr_line_info; in bpf_prog_linfo__new() 115 if (info->line_info_rec_size < in bpf_prog_linfo__new() 125 prog_linfo->rec_size = info->line_info_rec_size; in bpf_prog_linfo__new() 130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new() 132 nr_jited_func = info->nr_jited_ksyms; in bpf_prog_linfo__new() 134 !info->jited_line_info || in bpf_prog_linfo__new() 135 info->nr_jited_line_info != nr_linfo || in bpf_prog_linfo__new() 136 info->jited_line_info_rec_size < sizeof(__u64) || in bpf_prog_linfo__new() 137 info in bpf_prog_linfo__new() [all...] |
/third_party/elfutils/tests/ |
H A D | dwflmodtest.c | 34 struct info struct 43 const struct info *info = arg; in print_instance() local 48 if (dwarf_getsrcfiles (info->cudie, &files, NULL) == 0) in print_instance() 77 lo += info->dwbias; in print_instance() 81 hi += info->dwbias; in print_instance() 90 entry += info->dwbias; in print_instance() 115 const struct info *info = arg; in print_func() local 134 lo += info in print_func() 195 struct info info = { dwarf_offdie (dw, off + cuhl, &die_mem), bias }; print_module() local [all...] |
/third_party/alsa-lib/test/ |
H A D | seq.c | 34 fprintf(stderr, "Set client info error: %s\n", snd_strerror(err)); in set_name() 46 fprintf(stderr, "System info error: %s\n", snd_strerror(err)); in system_info() 56 printf("System info\n"); in show_system_info() 74 fprintf(stderr, "Client %i info error: %s\n", idx, snd_strerror(err)); in show_queue_status() 77 printf("Queue %i info\n", snd_seq_queue_status_get_queue(status)); in show_queue_status() 89 snd_seq_port_info_t *info; in show_port_info() local 91 snd_seq_port_info_alloca(&info); in show_port_info() 95 if ((err = snd_seq_get_any_port_info(handle, client, idx, info))<0) { in show_port_info() 98 fprintf(stderr, "Port %i/%i info error: %s\n", client, idx, snd_strerror(err)); in show_port_info() 101 printf(" Port %i info\ in show_port_info() 117 snd_seq_client_info_t *info; show_client_info() local [all...] |
/third_party/libbpf/src/ |
H A D | bpf_prog_linfo.c | 100 struct bpf_prog_linfo *bpf_prog_linfo__new(const struct bpf_prog_info *info) in bpf_prog_linfo__new() argument 106 nr_linfo = info->nr_line_info; in bpf_prog_linfo__new() 115 if (info->line_info_rec_size < in bpf_prog_linfo__new() 125 prog_linfo->rec_size = info->line_info_rec_size; in bpf_prog_linfo__new() 130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new() 132 nr_jited_func = info->nr_jited_ksyms; in bpf_prog_linfo__new() 134 !info->jited_line_info || in bpf_prog_linfo__new() 135 info->nr_jited_line_info != nr_linfo || in bpf_prog_linfo__new() 136 info->jited_line_info_rec_size < sizeof(__u64) || in bpf_prog_linfo__new() 137 info in bpf_prog_linfo__new() [all...] |
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-perf/ |
H A D | minimal-secure-streams.c | 429 struct lws_context_creation_info info; in main() local 436 memset(&info, 0, sizeof info); in main() 437 lws_cmdline_option_handle_builtin(argc, argv, &info); in main() 464 info.fd_limit_per_thread = 1 + 6 + 1; in main() 465 info.port = CONTEXT_PORT_NO_LISTEN; in main() 467 info.protocols = lws_sspc_protocols; in main() 474 info.ss_proxy_port = (uint16_t)atoi(p); in main() 480 info.ss_proxy_bind = p; in main() 484 info in main() [all...] |
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/ |
H A D | minimal-secure-streams.c | 361 struct lws_context_creation_info info; in main() local 368 memset(&info, 0, sizeof info); in main() 369 lws_cmdline_option_handle_builtin(argc, argv, &info); in main() 373 info.fd_limit_per_thread = 1 + 6 + 1; in main() 374 info.port = CONTEXT_PORT_NO_LISTEN; in main() 376 info.protocols = lws_sspc_protocols; in main() 381 info.ss_proxy_port = (uint16_t)atoi(p); in main() 387 info.ss_proxy_bind = p; in main() 391 info in main() [all...] |
/third_party/mesa3d/src/glx/windows/ |
H A D | xwindowsdri.c | 89 XExtDisplayInfo *info = find_display(dpy); local 92 if (XextHasExtension(info)) { 93 *event_basep = info->codes->first_event; 94 *error_basep = info->codes->first_error; 111 XExtDisplayInfo *info = find_display(dpy); local 116 WindowsDRICheckExtension(dpy, info, False); 120 req->reqType = info->codes->major_opcode; 143 XExtDisplayInfo *info = find_display(dpy); local 148 WindowsDRICheckExtension(dpy, info, False); 152 req->reqType = info 172 XExtDisplayInfo *info = find_display(dpy); XWindowsDRIQueryDrawable() local 210 XExtDisplayInfo *info = find_display(dpy); XWindowsDRIFBConfigToPixelFormat() local [all...] |
/third_party/node/deps/v8/src/inspector/ |
H A D | inspected-context.cc | 51 const V8ContextInfo& info, int contextId) in InspectedContext() 53 m_context(info.context->GetIsolate(), info.context), in InspectedContext() 55 m_contextGroupId(info.contextGroupId), in InspectedContext() 56 m_origin(toString16(info.origin)), in InspectedContext() 57 m_humanReadableName(toString16(info.humanReadableName)), in InspectedContext() 58 m_auxData(toString16(info.auxData)), in InspectedContext() 60 v8::debug::SetContextId(info.context, contextId); in InspectedContext() 67 v8::Context::Scope contextScope(info.context); in InspectedContext() 68 v8::HandleScope handleScope(info in InspectedContext() 50 InspectedContext(V8InspectorImpl* inspector, const V8ContextInfo& info, int contextId) InspectedContext() argument [all...] |
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-concurrent-dispatcher.cc | 13 #include "src/maglev/maglev-compilation-info.h" 26 maglev::MaglevCompilationInfo* info, LocalIsolate* local_isolate) { in AttachLocalIsolateForMaglev() 27 set_canonical_handles(info->DetachCanonicalHandles()); in AttachLocalIsolateForMaglev() 32 info->DetachPersistentHandles()); in AttachLocalIsolateForMaglev() 36 maglev::MaglevCompilationInfo* info) { in DetachLocalIsolateForMaglev() 42 info->set_canonical_handles(DetachCanonicalHandles()); in DetachLocalIsolateForMaglev() 43 info->set_persistent_handles(std::move(ph)); in DetachLocalIsolateForMaglev() 58 explicit LocalIsolateScope(MaglevCompilationInfo* info, in LocalIsolateScope() argument 60 : info_(info) { in LocalIsolateScope() 82 auto info in New() local 25 AttachLocalIsolateForMaglev( maglev::MaglevCompilationInfo* info, LocalIsolate* local_isolate) AttachLocalIsolateForMaglev() argument 35 DetachLocalIsolateForMaglev( maglev::MaglevCompilationInfo* info) DetachLocalIsolateForMaglev() argument 87 MaglevCompilationJob( std::unique_ptr<MaglevCompilationInfo>&& info) MaglevCompilationJob() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_compute.c | 45 const struct ir3_info *i = &v->info; 77 if (ctx->screen->info->a6xx.has_lpac) { 96 if (ctx->screen->info->a6xx.has_lpac) { 114 fd6_launch_grid(struct fd_context *ctx, const struct pipe_grid_info *info) in_dt 129 fd6_emit_cs_consts(v, ring, ctx, info); 152 info->block; // v->shader->nir->info->workgroup_size; 153 const unsigned *num_groups = info->grid; 154 /* for some reason, mesa/st doesn't set info->work_dim, so just assume 3: */ 155 const unsigned work_dim = info [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_query.c | 137 struct pipe_driver_query_info *info) in fd_get_driver_query_info() 141 if (!info) in fd_get_driver_query_info() 148 *info = screen->perfcntr_queries[index]; in fd_get_driver_query_info() 152 *info = sw_query_list[index]; in fd_get_driver_query_info() 158 struct pipe_driver_query_group_info *info) in fd_get_driver_query_group_info() 162 if (!info) in fd_get_driver_query_group_info() 170 info->name = g->name; in fd_get_driver_query_group_info() 171 info->max_active_queries = g->num_counters; in fd_get_driver_query_group_info() 172 info->num_queries = g->num_countables; in fd_get_driver_query_group_info() 238 struct pipe_driver_query_info *info in setup_perfcntr_query_info() local 136 fd_get_driver_query_info(struct pipe_screen *pscreen, unsigned index, struct pipe_driver_query_info *info) fd_get_driver_query_info() argument 157 fd_get_driver_query_group_info(struct pipe_screen *pscreen, unsigned index, struct pipe_driver_query_group_info *info) fd_get_driver_query_group_info() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 437 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info() 443 info->start = 0; in dataflash_get_otp_info() 444 info->length = 64; in dataflash_get_otp_info() 445 info->locked = 1; in dataflash_get_otp_info() 446 *retlen = sizeof(*info); in dataflash_get_otp_info() 739 struct flash_info *info; in jedec_lookup() local 742 for (info = dataflash_data; in jedec_lookup() 743 info < dataflash_data + ARRAY_SIZE(dataflash_data); in jedec_lookup() 744 info++) { in jedec_lookup() 745 if (use_extid && !(info in jedec_lookup() 436 dataflash_get_otp_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *info) dataflash_get_otp_info() argument 781 struct flash_info *info; jedec_probe() local 843 struct flash_info *info; dataflash_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | mci.c | 27 struct ath_mci_profile_info *info) in ath_mci_find_profile() 31 if (list_empty(&mci->info)) in ath_mci_find_profile() 34 list_for_each_entry(entry, &mci->info, list) { in ath_mci_find_profile() 35 if (entry->conn_handle == info->conn_handle) in ath_mci_find_profile() 43 struct ath_mci_profile_info *info) in ath_mci_add_profile() 49 (info->type == MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 53 (info->type != MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 60 memcpy(entry, info, 10); in ath_mci_add_profile() 61 INC_PROF(mci, info); in ath_mci_add_profile() 62 list_add_tail(&entry->list, &mci->info); in ath_mci_add_profile() 26 ath_mci_find_profile(struct ath_mci_profile *mci, struct ath_mci_profile_info *info) ath_mci_find_profile() argument 41 ath_mci_add_profile(struct ath_common *common, struct ath_mci_profile *mci, struct ath_mci_profile_info *info) ath_mci_add_profile() argument 87 struct ath_mci_profile_info *info, *tinfo; ath_mci_flush_profile() local 125 struct ath_mci_profile_info *info; ath_mci_update_scheme() local 295 ath_mci_process_profile(struct ath_softc *sc, struct ath_mci_profile_info *info) ath_mci_process_profile() argument 335 struct ath_mci_profile_info info; ath_mci_process_status() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 443 size_t *retlen, struct otp_info *info) in dataflash_get_otp_info() 449 info->start = 0; in dataflash_get_otp_info() 450 info->length = 64; in dataflash_get_otp_info() 451 info->locked = 1; in dataflash_get_otp_info() 452 *retlen = sizeof(*info); in dataflash_get_otp_info() 745 struct flash_info *info; in jedec_lookup() local 748 for (info = dataflash_data; in jedec_lookup() 749 info < dataflash_data + ARRAY_SIZE(dataflash_data); in jedec_lookup() 750 info++) { in jedec_lookup() 751 if (use_extid && !(info in jedec_lookup() 442 dataflash_get_otp_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *info) dataflash_get_otp_info() argument 787 struct flash_info *info; jedec_probe() local 849 struct flash_info *info; dataflash_probe() local [all...] |