Lines Matching defs:func_idx
346 /* Get the function descriptor entry at index FUNC_IDX in the decoder
351 uint32_t func_idx)
359 || func_idx >= num_fdes
363 fdep = &ctx->sfd_funcdesc[func_idx];
367 /* Get the offset of the start PC of the SFrame FDE at FUNC_IDX from the start
372 If FUNC_IDX is not a valid index in the given decoder object, returns 0. */
376 uint32_t func_idx)
380 = sframe_decoder_get_offsetof_fde_start_addr (dctx, func_idx, &err);
381 /* If func_idx is not a valid index, return 0. */
385 int32_t func_start_addr = dctx->sfd_funcdesc[func_idx].sfde_func_start_address;
395 sframe_fre_check_range_p (sframe_decoder_ctx *dctx, uint32_t func_idx,
406 fdep = &dctx->sfd_funcdesc[func_idx];
407 func_start_addr = sframe_decoder_get_secrel_func_start_addr (dctx, func_idx);
1062 on-disk layout of the SFrame section) of the FDE at FUNC_IDX in the decoder
1065 If FUNC_IDX is more than the number of SFrame FDEs in the section, sets
1072 uint32_t func_idx, int *errp)
1074 if (func_idx >= sframe_decoder_get_num_fidx (dctx))
1080 + func_idx * sizeof (sframe_func_desc_entry)
1089 int *errp, uint32_t *func_idx)
1122 *func_idx = mid;
1170 uint32_t func_idx;
1182 fdep = sframe_get_funcdesc_with_addr_internal (ctx, pc, &err, &func_idx);
1189 func_start_addr = sframe_decoder_get_secrel_func_start_addr (ctx, func_idx);
1205 if (sframe_fre_check_range_p (ctx, func_idx, start_ip_offset,
1294 /* Get the FRE_IDX'th FRE of the function at FUNC_IDX'th function
1300 unsigned int func_idx,
1315 /* Get function descriptor entry at index func_idx. */
1316 fdep = sframe_decoder_get_funcdesc_at_index (ctx, func_idx);
1367 uint32_t func_idx)
1370 if (func_idx < sframe_encoder_get_num_fidx (encoder))
1373 fde = func_tbl->entry + func_idx;
1505 on-disk layout of the SFrame section) of the FDE at FUNC_IDX in the encoder
1508 If FUNC_IDX is more than the number of SFrame FDEs in the section, sets
1515 uint32_t func_idx, int *errp)
1517 if (func_idx >= sframe_encoder_get_num_fidx (encoder))
1523 + func_idx * sizeof (sframe_func_desc_entry)
1527 /* Add an FRE to function at FUNC_IDX'th function descriptor entry in
1532 unsigned int func_idx,
1548 /* Use func_idx to gather the function descriptor entry. */
1549 fdep = sframe_encoder_get_funcdesc_at_index (encoder, func_idx);