/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_softjobs.c | 299 struct kbase_sync_fence_info info; in kbase_fence_debug_check_atom() local 301 if (!kbase_sync_fence_in_info_get(dep, &info)) { in kbase_fence_debug_check_atom() 305 info.fence, in kbase_fence_debug_check_atom() 306 info.name, in kbase_fence_debug_check_atom() 307 kbase_sync_status_string(info.status)); in kbase_fence_debug_check_atom() 322 struct kbase_sync_fence_info info; in kbase_fence_debug_wait_timeout() local 326 if (kbase_sync_fence_in_info_get(katom, &info)) { in kbase_fence_debug_wait_timeout() 335 info.fence, timeout_ms); in kbase_fence_debug_wait_timeout() 337 info.fence, info in kbase_fence_debug_wait_timeout() 881 kbasep_jit_alloc_validate(struct kbase_context *kctx, struct base_jit_alloc_info *info) kbasep_jit_alloc_validate() argument 959 struct base_jit_alloc_info *info; kbase_jit_allocate_prepare() local 1074 struct base_jit_alloc_info *info; kbase_jit_allocate_process() local 1250 struct base_jit_alloc_info *info; kbase_jit_allocate_finish() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_surface.c | 1056 nv50_blit_select_mode(const struct pipe_blit_info *info) in nv50_blit_select_mode() argument 1058 const unsigned mask = info->mask; in nv50_blit_select_mode() 1060 switch (info->dst.resource->format) { in nv50_blit_select_mode() 1089 if (util_format_is_pure_uint(info->src.format) && in nv50_blit_select_mode() 1090 util_format_is_pure_sint(info->dst.format)) in nv50_blit_select_mode() 1097 nv50_blit_select_fp(struct nv50_blitctx *ctx, const struct pipe_blit_info *info) in nv50_blit_select_fp() argument 1102 nv50_blit_reinterpret_pipe_texture_target(info->src.resource->target); in nv50_blit_select_fp() 1254 const struct pipe_blit_info *info) in nv50_blitctx_pre_blit() 1282 MIN2(info->num_window_rectangles, NV50_MAX_WINDOW_RECTANGLES); in nv50_blitctx_pre_blit() 1283 nv50->window_rect.inclusive = info in nv50_blitctx_pre_blit() 1253 nv50_blitctx_pre_blit(struct nv50_blitctx *ctx, const struct pipe_blit_info *info) nv50_blitctx_pre_blit() argument 1371 nv50_blit_3d(struct nv50_context *nv50, const struct pipe_blit_info *info) nv50_blit_3d() argument 1521 nv50_blit_eng2d(struct nv50_context *nv50, const struct pipe_blit_info *info) nv50_blit_eng2d() argument 1701 nv50_blit(struct pipe_context *pipe, const struct pipe_blit_info *info) nv50_blit() argument [all...] |
/third_party/node/test/js-native-api/test_general/ |
H A D | test_general.c | 13 static napi_value testStrictEquals(napi_env env, napi_callback_info info) { in testStrictEquals() argument 16 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in testStrictEquals() 26 static napi_value testGetPrototype(napi_env env, napi_callback_info info) { in testGetPrototype() argument 29 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in testGetPrototype() 37 static napi_value testGetVersion(napi_env env, napi_callback_info info) { in testGetVersion() argument 45 static napi_value doInstanceOf(napi_env env, napi_callback_info info) { in doInstanceOf() argument 48 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in doInstanceOf() 59 static napi_value getNull(napi_env env, napi_callback_info info) { in getNull() argument 65 static napi_value getUndefined(napi_env env, napi_callback_info info) { in getUndefined() argument 71 static napi_value createNapiError(napi_env env, napi_callback_info info) { in createNapiError() argument 91 testNapiErrorCleanup(napi_env env, napi_callback_info info) testNapiErrorCleanup() argument 102 testNapiTypeof(napi_env env, napi_callback_info info) testNapiTypeof() argument 149 deref_item_was_called(napi_env env, napi_callback_info info) deref_item_was_called() argument 157 wrap_first_arg(napi_env env, napi_callback_info info, napi_finalize finalizer, void* data) wrap_first_arg() argument 170 wrap(napi_env env, napi_callback_info info) wrap() argument 175 unwrap(napi_env env, napi_callback_info info) unwrap() argument 186 remove_wrap(napi_env env, napi_callback_info info) remove_wrap() argument 202 test_finalize_wrap(napi_env env, napi_callback_info info) test_finalize_wrap() argument 206 finalize_was_called(napi_env env, napi_callback_info info) finalize_was_called() argument 214 testAdjustExternalMemory(napi_env env, napi_callback_info info) testAdjustExternalMemory() argument 224 testNapiRun(napi_env env, napi_callback_info info) testNapiRun() argument 245 add_finalizer_only(napi_env env, napi_callback_info info) add_finalizer_only() argument 273 env_cleanup_wrap(napi_env env, napi_callback_info info) env_cleanup_wrap() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | ShaderModuleGL.cpp | 103 ShaderBindingInfo* info = &it.first->second; in ExtractSpirvInfo() 104 info->id = resource.id; in ExtractSpirvInfo() 105 info->base_type_id = resource.base_type_id; in ExtractSpirvInfo() 106 info->bindingType = bindingType; in ExtractSpirvInfo() 111 compiler.get_type(info->base_type_id).image; in ExtractSpirvInfo() 115 info->texture.viewDimension = in ExtractSpirvInfo() 117 info->texture.multisampled = imageType.ms; in ExtractSpirvInfo() 118 info->texture.compatibleSampleTypes = in ExtractSpirvInfo() 123 (info->texture.compatibleSampleTypes & SampleTypeBit::Float) == 0, in ExtractSpirvInfo() 125 info in ExtractSpirvInfo() 326 CombinedSampler* info = &combinedSamplers->back(); TranslateToGLSL() local 366 const auto& info = it.second; TranslateToGLSL() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ieee802_11_auth.c | 35 struct radius_sta info; member 52 os_free(e->info.identity); in hostapd_acl_cache_free_entry() 53 os_free(e->info.radius_cui); in hostapd_acl_cache_free_entry() 54 hostapd_free_psk_list(e->info.psk); in hostapd_acl_cache_free_entry() 86 *out = entry->info; in hostapd_acl_cache_get() 426 psk->next = cache->info.psk; in decode_tunnel_passwords() 427 cache->info.psk = psk; in decode_tunnel_passwords() 456 struct radius_sta *info; in hostapd_acl_recv_radius() local 486 /* Insert Accept/Reject info into ACL cache */ in hostapd_acl_recv_radius() 494 info in hostapd_acl_recv_radius() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/ |
H A D | pinctrl-rockchip.c | 221 static inline const struct rockchip_pin_group *pinctrl_name_to_group(const struct rockchip_pinctrl *info, in pinctrl_name_to_group() argument 226 for (i = 0; i < info->ngroups; i++) { in pinctrl_name_to_group() 227 if (!strcmp(info->groups[i].name, name)) { in pinctrl_name_to_group() 228 return &info->groups[i]; in pinctrl_name_to_group() 239 static struct rockchip_pin_bank *pin_to_bank(struct rockchip_pinctrl *info, unsigned pin) in pin_to_bank() argument 241 struct rockchip_pin_bank *b = info->ctrl->pin_banks; in pin_to_bank() 250 static struct rockchip_pin_bank *bank_num_to_bank(struct rockchip_pinctrl *info, unsigned num) in bank_num_to_bank() argument 252 struct rockchip_pin_bank *b = info->ctrl->pin_banks; in bank_num_to_bank() 255 for (i = 0; i < info->ctrl->nr_banks; i++, b++) { in bank_num_to_bank() 270 struct rockchip_pinctrl *info in rockchip_get_groups_count() local 277 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_get_group_name() local 285 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_get_group_pins() local 300 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_dt_node_to_map() local 771 struct rockchip_pinctrl *info = bank->drvdata; rockchip_get_recalced_mux() local 1353 struct rockchip_pinctrl *info = bank->drvdata; rockchip_get_mux_route() local 1378 struct rockchip_pinctrl *info = bank->drvdata; rockchip_get_mux() local 1440 struct rockchip_pinctrl *info = bank->drvdata; rockchip_verify_mux() local 1477 struct rockchip_pinctrl *info = bank->drvdata; rockchip_set_mux() local 1580 struct rockchip_pinctrl *info = bank->drvdata; px30_calc_pull_reg_and_bit() local 1609 struct rockchip_pinctrl *info = bank->drvdata; px30_calc_drv_reg_and_bit() local 1638 struct rockchip_pinctrl *info = bank->drvdata; px30_calc_schmitt_reg_and_bit() local 1667 struct rockchip_pinctrl *info = bank->drvdata; rv1108_calc_pull_reg_and_bit() local 1695 struct rockchip_pinctrl *info = bank->drvdata; rv1108_calc_drv_reg_and_bit() local 1724 struct rockchip_pinctrl *info = bank->drvdata; rv1108_calc_schmitt_reg_and_bit() local 1753 struct rockchip_pinctrl *info = bank->drvdata; rv1126_calc_pull_reg_and_bit() local 1788 struct rockchip_pinctrl *info = bank->drvdata; rv1126_calc_drv_reg_and_bit() local 1824 struct rockchip_pinctrl *info = bank->drvdata; rv1126_calc_schmitt_reg_and_bit() local 1858 struct rockchip_pinctrl *info = bank->drvdata; rk3308_calc_schmitt_reg_and_bit() local 1879 struct rockchip_pinctrl *info = bank->drvdata; rk1808_calc_pull_reg_and_bit() local 1904 struct rockchip_pinctrl *info = bank->drvdata; rk1808_calc_drv_reg_and_bit() local 1928 struct rockchip_pinctrl *info = bank->drvdata; rk1808_calc_slew_rate_reg_and_bit() local 1952 struct rockchip_pinctrl *info = bank->drvdata; rk1808_calc_schmitt_reg_and_bit() local 1975 struct rockchip_pinctrl *info = bank->drvdata; rk2928_calc_pull_reg_and_bit() local 1990 struct rockchip_pinctrl *info = bank->drvdata; rk3128_calc_pull_reg_and_bit() local 2009 struct rockchip_pinctrl *info = bank->drvdata; rk3188_calc_pull_reg_and_bit() local 2041 struct rockchip_pinctrl *info = bank->drvdata; rk3288_calc_pull_reg_and_bit() local 2074 struct rockchip_pinctrl *info = bank->drvdata; rk3288_calc_drv_reg_and_bit() local 2103 struct rockchip_pinctrl *info = bank->drvdata; rk3228_calc_pull_reg_and_bit() local 2119 struct rockchip_pinctrl *info = bank->drvdata; rk3228_calc_drv_reg_and_bit() local 2135 struct rockchip_pinctrl *info = bank->drvdata; rk3308_calc_pull_reg_and_bit() local 2151 struct rockchip_pinctrl *info = bank->drvdata; rk3308_calc_drv_reg_and_bit() local 2168 struct rockchip_pinctrl *info = bank->drvdata; rk3368_calc_pull_reg_and_bit() local 2198 struct rockchip_pinctrl *info = bank->drvdata; rk3368_calc_drv_reg_and_bit() local 2229 struct rockchip_pinctrl *info = bank->drvdata; rk3399_calc_pull_reg_and_bit() local 2258 struct rockchip_pinctrl *info = bank->drvdata; rk3399_calc_drv_reg_and_bit() local 2285 struct rockchip_pinctrl *info = bank->drvdata; rk3568_calc_slew_rate_reg_and_bit() local 2310 struct rockchip_pinctrl *info = bank->drvdata; rk3568_calc_pull_reg_and_bit() local 2340 struct rockchip_pinctrl *info = bank->drvdata; rk3568_calc_drv_reg_and_bit() local 2383 struct rockchip_pinctrl *info = bank->drvdata; rockchip_get_drive_perpin() local 2460 struct rockchip_pinctrl *info = bank->drvdata; rockchip_set_drive_perpin() local 2595 struct rockchip_pinctrl *info = bank->drvdata; rockchip_get_pull() local 2641 struct rockchip_pinctrl *info = bank->drvdata; rockchip_set_pull() local 2723 struct rockchip_pinctrl *info = bank->drvdata; rk3328_calc_schmitt_reg_and_bit() local 2744 struct rockchip_pinctrl *info = bank->drvdata; rk3568_calc_schmitt_reg_and_bit() local 2764 struct rockchip_pinctrl *info = bank->drvdata; rockchip_get_schmitt() local 2794 struct rockchip_pinctrl *info = bank->drvdata; rockchip_set_schmitt() local 2834 struct rockchip_pinctrl *info = bank->drvdata; px30_calc_slew_rate_reg_and_bit() local 2855 struct rockchip_pinctrl *info = bank->drvdata; rockchip_get_slew_rate() local 2878 struct rockchip_pinctrl *info = bank->drvdata; rockchip_set_slew_rate() local 2905 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_pmx_get_funcs_count() local 2912 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_pmx_get_func_name() local 2920 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_pmx_get_groups() local 2930 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_pmx_set() local 3001 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_pinconf_set() local 3091 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); rockchip_pinconf_get() local 3192 rockchip_pinctrl_child_count(struct rockchip_pinctrl *info, struct device_node *np) rockchip_pinctrl_child_count() argument 3207 rockchip_pinctrl_parse_groups(struct device_node *np, struct rockchip_pin_group *grp, struct rockchip_pinctrl *info, u32 index) rockchip_pinctrl_parse_groups() argument 3270 rockchip_pinctrl_parse_functions(struct device_node *np, struct rockchip_pinctrl *info, u32 index) rockchip_pinctrl_parse_functions() argument 3309 rockchip_pinctrl_parse_dt(struct platform_device *pdev, struct rockchip_pinctrl *info) rockchip_pinctrl_parse_dt() argument 3351 rockchip_pinctrl_register(struct platform_device *pdev, struct rockchip_pinctrl *info) rockchip_pinctrl_register() argument 3521 struct rockchip_pinctrl *info = dev_get_drvdata(dev); rockchip_pinctrl_suspend() local 3545 struct rockchip_pinctrl *info = dev_get_drvdata(dev); rockchip_pinctrl_resume() local 3583 rk3308_soc_data_init(struct rockchip_pinctrl *info) rk3308_soc_data_init() argument 3607 struct rockchip_pinctrl *info; rockchip_pinctrl_probe() local [all...] |
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | power_supply_provider.cpp | 108 inline void PowerSupplyProvider::CapacityAssigner(const char* str, struct BatterydInfo* info) in CapacityAssigner() argument 110 info->capacity_ = ParseInt(str); // default in percent format in CapacityAssigner() 113 inline void PowerSupplyProvider::TotalEnergyAssigner(const char* str, struct BatterydInfo* info) in TotalEnergyAssigner() argument 115 info->totalEnergy_ = ParseInt(str); in TotalEnergyAssigner() 118 inline void PowerSupplyProvider::RemainEnergyAssigner(const char* str, struct BatterydInfo* info) in RemainEnergyAssigner() argument 120 info->remainEnergy_ = ParseInt(str); in RemainEnergyAssigner() 123 inline void PowerSupplyProvider::VoltageAssigner(const char* str, struct BatterydInfo* info) in VoltageAssigner() argument 125 info->voltage_ = ParseInt(str) / UVOL_TO_MVOL; // convert to millivolt(mV) format in VoltageAssigner() 128 inline void PowerSupplyProvider::TemperatureAssigner(const char* str, struct BatterydInfo* info) in TemperatureAssigner() argument 130 info in TemperatureAssigner() 158 HealthStateAssigner(const char* str, struct BatterydInfo* info) HealthStateAssigner() argument 205 ChargeStateAssigner(const char* str, struct BatterydInfo* info) ChargeStateAssigner() argument 210 PresentAssigner(const char* str, struct BatterydInfo* info) PresentAssigner() argument 215 TechnologyAssigner(const char* str, struct BatterydInfo* info) TechnologyAssigner() argument 220 ChargeCounterAssigner(const char* str, struct BatterydInfo* info) ChargeCounterAssigner() argument 225 CurrentAverageAssigner(const char* str, struct BatterydInfo* info) CurrentAverageAssigner() argument 230 CurrentNowAssigner(const char* str, struct BatterydInfo* info) CurrentNowAssigner() argument 445 UpdateInfoByReadSysFile(struct BatterydInfo* info) UpdateInfoByReadSysFile() argument 474 ParseUeventToBatterydInfo(const char* msg, struct BatterydInfo* info) ParseUeventToBatterydInfo() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cinepakenc.c | 259 strip_info *info, int report, in calculate_mode_score() 269 int64_t ret = s->lambda * ((info->v1_size ? CHUNK_HEADER_SIZE + info->v1_size * entry_size : 0) + in calculate_mode_score() 270 (info->v4_size ? CHUNK_HEADER_SIZE + info->v4_size * entry_size : 0) + in calculate_mode_score() 273 switch (info->mode) { in calculate_mode_score() 449 int linesize[4], int v1_vector, strip_info *info) in decode_v1_vector() 456 data[0][1 + linesize[0]] = info->v1_codebook[v1_vector * entry_size]; in decode_v1_vector() 461 data[0][3 + linesize[0]] = info->v1_codebook[v1_vector * entry_size + 1]; in decode_v1_vector() 466 data[0][1 + 3 * linesize[0]] = info in decode_v1_vector() 258 calculate_mode_score(CinepakEncContext *s, int h, strip_info *info, int report, int *training_set_v1_shrunk, int *training_set_v4_shrunk) calculate_mode_score() argument 448 decode_v1_vector(CinepakEncContext *s, uint8_t *data[4], int linesize[4], int v1_vector, strip_info *info) decode_v1_vector() argument 487 decode_v4_vector(CinepakEncContext *s, uint8_t *data[4], int linesize[4], int *v4_vector, strip_info *info) decode_v4_vector() argument 526 encode_mode(CinepakEncContext *s, int h, uint8_t *scratch_data[4], int scratch_linesize[4], uint8_t *last_data[4], int last_linesize[4], strip_info *info, unsigned char *buf) encode_mode() argument 699 quantize(CinepakEncContext *s, int h, uint8_t *data[4], int linesize[4], int v1mode, strip_info *info, mb_encoding encoding) quantize() argument 814 calculate_skip_errors(CinepakEncContext *s, int h, uint8_t *last_data[4], int last_linesize[4], uint8_t *data[4], int linesize[4], strip_info *info) calculate_skip_errors() argument 868 strip_info info; rd_strip() local [all...] |
/third_party/skia/docs/examples/ |
H A D | Canvas_readPixels_a.cpp | 10 SkImageInfo info = SkImageInfo::Make(64, 64, kBGRA_8888_SkColorType, kPremul_SkAlphaType); in REG_FIDDLE() local 11 sk_sp<SkData> data(SkData::MakeUninitialized(info.minRowBytes() * info.height())); in REG_FIDDLE() 12 sk_bzero(data->writable_data(), info.minRowBytes() * info.height()); in REG_FIDDLE() 15 canvas->readPixels(info, data->writable_data(), info.minRowBytes(), x, y); in REG_FIDDLE() 18 sk_sp<SkImage> image = SkImage::MakeRasterData(info, data, info.minRowBytes()); in REG_FIDDLE()
|
/third_party/mesa3d/src/imgui/ |
H A D | imstb_truetype.h | 664 STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 666 STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 734 STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset); 736 // the necessary cached info for the rest of the system. You must allocate 746 STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint); 759 STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float pixels); 767 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels); 772 STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap); 780 STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap); 786 STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, in 1350 stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, int fontstart) stbtt_InitFont_internal() argument 1461 stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint) stbtt_FindGlyphIndex() argument 1554 stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) stbtt_GetCodepointShape() argument 1568 stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) stbtt__GetGlyfOffset() argument 1590 stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) stbtt_GetGlyphBox() argument 1606 stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) stbtt_GetCodepointBox() argument 1611 stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) stbtt_IsGlyphEmpty() argument 1639 stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) stbtt__GetGlyphShapeTT() argument 1950 stbtt__cid_get_glyph_subrs(const stbtt_fontinfo *info, int glyph_index) stbtt__cid_get_glyph_subrs() argument 1978 stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, stbtt__csctx *c) stbtt__run_charstring() argument 2237 stbtt__GetGlyphShapeT2(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) stbtt__GetGlyphShapeT2() argument 2254 stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) stbtt__GetGlyphInfoT2() argument 2265 stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) stbtt_GetGlyphShape() argument 2273 stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing) stbtt_GetGlyphHMetrics() argument 2285 stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) stbtt__GetGlyphKernInfoAdvance() argument 2428 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) stbtt__GetGlyphGPOSInfoAdvance() argument [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imstb_truetype.h | 664 STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 666 STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 734 STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset); 736 // the necessary cached info for the rest of the system. You must allocate 746 STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint); 759 STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float pixels); 767 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels); 772 STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap); 780 STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap); 786 STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, in 1350 stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, int fontstart) stbtt_InitFont_internal() argument 1461 stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint) stbtt_FindGlyphIndex() argument 1554 stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) stbtt_GetCodepointShape() argument 1568 stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) stbtt__GetGlyfOffset() argument 1590 stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) stbtt_GetGlyphBox() argument 1606 stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) stbtt_GetCodepointBox() argument 1611 stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) stbtt_IsGlyphEmpty() argument 1639 stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) stbtt__GetGlyphShapeTT() argument 1950 stbtt__cid_get_glyph_subrs(const stbtt_fontinfo *info, int glyph_index) stbtt__cid_get_glyph_subrs() argument 1978 stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, stbtt__csctx *c) stbtt__run_charstring() argument 2237 stbtt__GetGlyphShapeT2(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) stbtt__GetGlyphShapeT2() argument 2254 stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) stbtt__GetGlyphInfoT2() argument 2265 stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) stbtt_GetGlyphShape() argument 2273 stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing) stbtt_GetGlyphHMetrics() argument 2285 stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) stbtt__GetGlyphKernInfoAdvance() argument 2428 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) stbtt__GetGlyphGPOSInfoAdvance() argument [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | adopt.c | 264 * the info/ssi from the server SS (so the SS callbacks defined there), in lws_adopt_ss_server_accept() 269 new_wsi->a.vhost->ss_handle->info.opaque_user_data_offset); in lws_adopt_ss_server_accept() 276 new_wsi->a.vhost->ss_handle->info.flags |= LWSSSINFLAGS_SERVER; in lws_adopt_ss_server_accept() 279 &new_wsi->a.vhost->ss_handle->info, in lws_adopt_ss_server_accept() 293 h->info.flags |= LWSSSINFLAGS_ACCEPTED; in lws_adopt_ss_server_accept() 484 lws_adopt_desc_t info; in lws_adopt_descriptor_vhost() local 486 memset(&info, 0, sizeof(info)); in lws_adopt_descriptor_vhost() 488 info.vh = vh; in lws_adopt_descriptor_vhost() 489 info in lws_adopt_descriptor_vhost() 498 lws_adopt_descriptor_vhost_via_info(const lws_adopt_desc_t *info) lws_adopt_descriptor_vhost_via_info() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_vbo.c | 461 const struct pipe_draw_info *info, 477 !info->has_user_indices) { 478 struct nv04_resource *res = nv04_resource(info->index.resource); 514 if (!info->has_user_indices) 516 nv04_resource(info->index.resource), 519 data = info->index.user; 548 nv30_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info, argument 555 util_draw_multi(pipe, info, drawid_offset, indirect, draws, num_draws); 559 if (!indirect && (!draws[0].count || !info->instance_count)) 566 if (!info 460 nv30_draw_elements(struct nv30_context *nv30, bool shorten, const struct pipe_draw_info *info, unsigned mode, unsigned start, unsigned count, unsigned instance_count, int32_t index_bias, unsigned index_size) global() argument [all...] |
/third_party/libuv/src/unix/ |
H A D | sysinfo-memory.c | 29 struct sysinfo info; in uv_get_free_memory() local 31 if (sysinfo(&info) == 0) in uv_get_free_memory() 32 return (uint64_t) info.freeram * info.mem_unit; in uv_get_free_memory() 37 struct sysinfo info; in uv_get_total_memory() local 39 if (sysinfo(&info) == 0) in uv_get_total_memory() 40 return (uint64_t) info.totalram * info.mem_unit; in uv_get_total_memory()
|
/third_party/node/deps/uv/src/unix/ |
H A D | sysinfo-memory.c | 29 struct sysinfo info; in uv_get_free_memory() local 31 if (sysinfo(&info) == 0) in uv_get_free_memory() 32 return (uint64_t) info.freeram * info.mem_unit; in uv_get_free_memory() 37 struct sysinfo info; in uv_get_total_memory() local 39 if (sysinfo(&info) == 0) in uv_get_total_memory() 40 return (uint64_t) info.totalram * info.mem_unit; in uv_get_total_memory()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_draw.c | 51 * geometry shaders, and we don't care about this info when GS is on. in prim_is_points_or_lines() 117 const struct pipe_draw_info *info, in crocus_update_draw_info() 121 enum pipe_prim_type mode = info->mode; in crocus_update_draw_info() 168 if (info->mode == PIPE_PRIM_PATCHES && in crocus_update_draw_info() 187 const unsigned cut_index = info->primitive_restart ? info->restart_index : in crocus_update_draw_info() 189 if (ice->state.primitive_restart != info->primitive_restart || in crocus_update_draw_info() 193 ice->state.primitive_restart = info->primitive_restart; in crocus_update_draw_info() 194 ice->state.cut_index = info->restart_index; in crocus_update_draw_info() 203 const struct pipe_draw_info *info, in crocus_update_draw_parameters() 116 crocus_update_draw_info(struct crocus_context *ice, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw) crocus_update_draw_info() argument 202 crocus_update_draw_parameters(struct crocus_context *ice, const struct pipe_draw_info *info, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draw) crocus_update_draw_parameters() argument 275 struct pipe_draw_info info = *dinfo; crocus_indirect_draw_vbo() local 342 struct pipe_draw_info info = *info_in; crocus_draw_vbo_get_vertex_count() local 356 crocus_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *info, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draws, unsigned num_draws) crocus_draw_vbo() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_draw.c | 134 const struct pipe_draw_info *info, in vc4_emit_gl_shader_state() 161 (info->mode == PIPE_PRIM_POINTS && in vc4_emit_gl_shader_state() 186 unsigned index_bias = info->index_size ? draws->index_bias : 0; in vc4_emit_gl_shader_state() 292 vc4_draw_workaround_line_loop_2(struct pipe_context *pctx, const struct pipe_draw_info *info, in vc4_draw_workaround_line_loop_2() argument 297 if (draw->count != 2 || info->mode != PIPE_PRIM_LINE_LOOP) in vc4_draw_workaround_line_loop_2() 300 struct pipe_draw_info local_info = *info; in vc4_draw_workaround_line_loop_2() 313 vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info, in vc4_draw_vbo() argument 320 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws); in vc4_draw_vbo() 324 if (!indirect && (!draws[0].count || !info->instance_count)) in vc4_draw_vbo() 330 !info in vc4_draw_vbo() 133 vc4_emit_gl_shader_state(struct vc4_context *vc4, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draws, uint32_t extra_index_bias) vc4_emit_gl_shader_state() argument [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-fallback.cc | 178 hb_glyph_info_t *info = buffer->info; in _hb_ot_shape_fallback_mark_position_recategorize_marks() local 180 if (_hb_glyph_info_get_general_category (&info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) { in _hb_ot_shape_fallback_mark_position_recategorize_marks() 181 unsigned int combining_class = _hb_glyph_info_get_modified_combining_class (&info[i]); in _hb_ot_shape_fallback_mark_position_recategorize_marks() 182 combining_class = recategorize_combining_class (info[i].codepoint, combining_class); in _hb_ot_shape_fallback_mark_position_recategorize_marks() 183 _hb_glyph_info_set_modified_combining_class (&info[i], combining_class); in _hb_ot_shape_fallback_mark_position_recategorize_marks() 194 hb_glyph_info_t *info = buffer->info; in zero_mark_advances() local 196 if (_hb_glyph_info_get_general_category (&info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) in zero_mark_advances() 217 if (!font->get_glyph_extents (buffer->info[ in position_mark() 357 hb_glyph_info_t *info = buffer->info; position_around_base() local 453 hb_glyph_info_t *info = buffer->info; _hb_ot_shape_fallback_mark_position() local 521 hb_glyph_info_t *info = buffer->info; _hb_ot_shape_fallback_spaces() local [all...] |
/device/soc/rockchip/common/vendor/drivers/clk/ |
H A D | clk-pvtm.c | 42 const struct rockchip_clock_pvtm_info *info; member 82 ret = regmap_write(pvtm->grf, pvtm->info->sel_con, in rockchip_clock_sel_internal_pvtm() 83 wr_msk_bit(pvtm->info->sel_value, pvtm->info->sel_shift, pvtm->info->sel_mask)); in rockchip_clock_sel_internal_pvtm() 94 const struct rockchip_clock_pvtm_info *info = pvtm->info; in rockchip_clock_pvtm_get_value() local 101 regmap_write(pvtm->grf, info->con + 0x4, clk_cnt); in rockchip_clock_pvtm_get_value() 102 regmap_write(pvtm->grf, info->con, wr_msk_bit(0x3, 0, 0x3)); in rockchip_clock_pvtm_get_value() 108 regmap_read(pvtm->grf, info in rockchip_clock_pvtm_get_value() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_dma_fence.c | 47 static int kbase_dma_fence_lock_reservations(struct kbase_dma_fence_resv_info *info, struct ww_acquire_ctx *ctx) in kbase_dma_fence_lock_reservations() argument 57 for (r = 0; r < info->dma_fence_resv_count; r++) { in kbase_dma_fence_lock_reservations() 58 if (info->resv_objs[r] == content_res) { in kbase_dma_fence_lock_reservations() 63 err = ww_mutex_lock(&info->resv_objs[r]->lock, ctx); in kbase_dma_fence_lock_reservations() 77 ww_mutex_unlock(&info->resv_objs[r]->lock); in kbase_dma_fence_lock_reservations() 86 content_res = info->resv_objs[content_res_idx]; in kbase_dma_fence_lock_reservations() 98 static void kbase_dma_fence_unlock_reservations(struct kbase_dma_fence_resv_info *info, struct ww_acquire_ctx *ctx) in kbase_dma_fence_unlock_reservations() argument 102 for (r = 0; r < info->dma_fence_resv_count; r++) { in kbase_dma_fence_unlock_reservations() 103 ww_mutex_unlock(&info->resv_objs[r]->lock); in kbase_dma_fence_unlock_reservations() 280 void kbase_dma_fence_add_reservation(struct reservation_object *resv, struct kbase_dma_fence_resv_info *info, in kbase_dma_fence_add_reservation() argument 299 kbase_dma_fence_wait(struct kbase_jd_atom *katom, struct kbase_dma_fence_resv_info *info) kbase_dma_fence_wait() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_dma_fence.c | 54 kbase_dma_fence_lock_reservations(struct kbase_dma_fence_resv_info *info, in kbase_dma_fence_lock_reservations() argument 65 for (r = 0; r < info->dma_fence_resv_count; r++) { in kbase_dma_fence_lock_reservations() 66 if (info->resv_objs[r] == content_res) { in kbase_dma_fence_lock_reservations() 71 err = ww_mutex_lock(&info->resv_objs[r]->lock, ctx); in kbase_dma_fence_lock_reservations() 84 ww_mutex_unlock(&info->resv_objs[r]->lock); in kbase_dma_fence_lock_reservations() 91 content_res = info->resv_objs[content_res_idx]; in kbase_dma_fence_lock_reservations() 102 kbase_dma_fence_unlock_reservations(struct kbase_dma_fence_resv_info *info, in kbase_dma_fence_unlock_reservations() argument 107 for (r = 0; r < info->dma_fence_resv_count; r++) in kbase_dma_fence_unlock_reservations() 108 ww_mutex_unlock(&info->resv_objs[r]->lock); in kbase_dma_fence_unlock_reservations() 291 struct kbase_dma_fence_resv_info *info, in kbase_dma_fence_add_reservation() 290 kbase_dma_fence_add_reservation(struct reservation_object *resv, struct kbase_dma_fence_resv_info *info, bool exclusive) kbase_dma_fence_add_reservation() argument 309 kbase_dma_fence_wait(struct kbase_jd_atom *katom, struct kbase_dma_fence_resv_info *info) kbase_dma_fence_wait() argument [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/clk/rockchip/ |
H A D | clk-pvtm.c | 43 const struct rockchip_clock_pvtm_info *info; member 82 ret = regmap_write(pvtm->grf, pvtm->info->sel_con, in rockchip_clock_sel_internal_pvtm() 83 wr_msk_bit(pvtm->info->sel_value, in rockchip_clock_sel_internal_pvtm() 84 pvtm->info->sel_shift, in rockchip_clock_sel_internal_pvtm() 85 pvtm->info->sel_mask)); in rockchip_clock_sel_internal_pvtm() 96 const struct rockchip_clock_pvtm_info *info = pvtm->info; in rockchip_clock_pvtm_get_value() local 103 regmap_write(pvtm->grf, info->con + 0x4, clk_cnt); in rockchip_clock_pvtm_get_value() 104 regmap_write(pvtm->grf, info->con, wr_msk_bit(3, 0, 0x3)); in rockchip_clock_pvtm_get_value() 110 regmap_read(pvtm->grf, info in rockchip_clock_pvtm_get_value() [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | volumetexture9.c | 39 struct pipe_resource *info = &This->base.base.info; in NineVolumeTexture9_ctor() local 79 info->screen = pParams->device->screen; in NineVolumeTexture9_ctor() 80 info->target = PIPE_TEXTURE_3D; in NineVolumeTexture9_ctor() 81 info->format = pf; in NineVolumeTexture9_ctor() 82 info->width0 = Width; in NineVolumeTexture9_ctor() 83 info->height0 = Height; in NineVolumeTexture9_ctor() 84 info->depth0 = Depth; in NineVolumeTexture9_ctor() 86 info->last_level = Levels - 1; in NineVolumeTexture9_ctor() 88 info in NineVolumeTexture9_ctor() [all...] |
/third_party/node/src/api/ |
H A D | hooks.cc | 107 std::shared_ptr<AsyncCleanupHookInfo> info; member 133 AsyncCleanupHookInfo* info = static_cast<AsyncCleanupHookInfo*>(arg); in FinishAsyncCleanupHook() local 134 std::shared_ptr<AsyncCleanupHookInfo> keep_alive = info->self; in FinishAsyncCleanupHook() 136 info->env->DecreaseWaitingRequestCounter(); in FinishAsyncCleanupHook() 137 info->self.reset(); in FinishAsyncCleanupHook() 141 AsyncCleanupHookInfo* info = static_cast<AsyncCleanupHookInfo*>(arg); in RunAsyncCleanupHook() local 142 info->env->IncreaseWaitingRequestCounter(); in RunAsyncCleanupHook() 143 info->started = true; in RunAsyncCleanupHook() 144 info->fun(info in RunAsyncCleanupHook() 153 auto info = std::make_shared<AsyncCleanupHookInfo>(); AddEnvironmentCleanupHookInternal() local [all...] |
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-proxy/ |
H A D | minimal-raw-proxy.c | 53 struct lws_context_creation_info info; in main() local 71 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */ in main() 72 info.port = 7681; in main() 73 info.protocols = protocols; in main() 74 info.pvo = &pvo; in main() 75 info.options = LWS_SERVER_OPTION_ADOPT_APPLY_LISTEN_ACCEPT_CONFIG; in main() 76 info.listen_accept_role = "raw-proxy"; in main() 77 info.listen_accept_protocol = "raw-proxy"; in main() 79 context = lws_create_context(&info); in main() [all...] |