#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <hipc/client.h>
Go to the source code of this file.
Functions | |
static void | test_strcspn (void) |
static void | test_arysize (void) |
static void | test_hipcClientGetStrutpl (void) |
static void | test_hipcClientGetStrutpl_tooLargeName (void) |
int | main (int argc, char *argv[]) |
Variables | |
const struct HIPC_cl_indp_mbr | b_test_ctl [] |
const size_t | b_ary0_elm_max_idxs [] = { 2, 3, 4 } |
const size_t | b_ary1_elm_max_idxs [] = { 5 } |
const struct HIPC_cl_indp_mbr | b_test_sa [] |
const struct HIPC_cl_indp_mbr | HIPCUD_pidctrl_indp_member_pid_ctrl [] |
const size_t | b_inv_elm_max_idxs [] = { 2 } |
const struct HIPC_cl_indp_mbr | b_inv [] |
const struct HIPC_cl_indp_stru | b_indp_s [] |
const struct HIPC_cl_indp | b_indp = { NULL, 0, 5, 4, b_indp_s } |
unsigned char | b_test_ctl_offset [] = { 0, 4 } |
unsigned char | b_test_ctl_size [] = { 1, 4 } |
unsigned char | b_test_sa_offset [] = { 0, 24, 64 } |
unsigned char | b_test_sa_size [] = { 24, 40, 8 } |
unsigned char | HIPCUD_pidctrl_cmdp_pid_ctrl_offset [] |
unsigned char | HIPCUD_pidctrl_cmdp_pid_ctrl_size [] |
unsigned char | b_inv_offset [] = { 0, 4, 8 } |
unsigned char | b_inv_size [] = { 4, 4, 255 } |
struct HIPC_cl_dp_stru | b_cmdp_s [] |
unsigned char | HIPCUD_pidctrl_smdp_pid_ctrl_offset [] |
unsigned char | HIPCUD_pidctrl_smdp_pid_ctrl_size [] |
struct HIPC_cl_dp_stru | b_smdp_s [] |
unsigned char | b_cmdp_strctsizes [] = { 8, 72, 8, 12 } |
unsigned char | b_smdp_strctsizes [] = { 8, 72, 12, 12 } |
struct HIPC_cl_dp | b_cmdp |
struct HIPC_cl_dp | b_smdp |
struct HIPC_client | b_ri |
|
static |
Definition at line 10 of file test_client_strope.c.
Referenced by main().
|
static |
Definition at line 28 of file test_client_strope.c.
Referenced by main().
|
static |
Definition at line 136 of file test_client_strope.c.
References HIPC_client::err_detail_str, HIPC_ERR_INTERNAL_ERROR, HIPC_ERR_INV_ID_STR, HIPC_ERR_PROTOCOL_VIOLATION, HIPC_SUCCESS, and hipcClientGetStrutpl().
Referenced by main().
|
static |
Definition at line 310 of file test_client_strope.c.
References HIPC_ERR_INV_ID_STR, HIPC_IMG_ALLOCSIZE, hipcClientGetErrDtlStr(), and hipcClientGetStrutpl().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 352 of file test_client_strope.c.
References test_arysize(), test_hipcClientGetStrutpl(), test_hipcClientGetStrutpl_tooLargeName(), and test_strcspn().
const struct HIPC_cl_indp_mbr b_test_ctl[] |
Definition at line 47 of file test_client_strope.c.
const size_t b_ary0_elm_max_idxs[] = { 2, 3, 4 } |
Definition at line 52 of file test_client_strope.c.
const size_t b_ary1_elm_max_idxs[] = { 5 } |
Definition at line 53 of file test_client_strope.c.
const struct HIPC_cl_indp_mbr b_test_sa[] |
Definition at line 54 of file test_client_strope.c.
const struct HIPC_cl_indp_mbr HIPCUD_pidctrl_indp_member_pid_ctrl[] |
Definition at line 61 of file test_client_strope.c.
const size_t b_inv_elm_max_idxs[] = { 2 } |
Definition at line 67 of file test_client_strope.c.
const struct HIPC_cl_indp_mbr b_inv[] |
Definition at line 68 of file test_client_strope.c.
const struct HIPC_cl_indp_stru b_indp_s[] |
Definition at line 74 of file test_client_strope.c.
const struct HIPC_cl_indp b_indp = { NULL, 0, 5, 4, b_indp_s } |
Definition at line 80 of file test_client_strope.c.
unsigned char b_test_ctl_offset[] = { 0, 4 } |
Definition at line 82 of file test_client_strope.c.
unsigned char b_test_ctl_size[] = { 1, 4 } |
Definition at line 83 of file test_client_strope.c.
unsigned char b_test_sa_offset[] = { 0, 24, 64 } |
Definition at line 84 of file test_client_strope.c.
unsigned char b_test_sa_size[] = { 24, 40, 8 } |
Definition at line 85 of file test_client_strope.c.
unsigned char HIPCUD_pidctrl_cmdp_pid_ctrl_offset[] |
Definition at line 86 of file test_client_strope.c.
unsigned char HIPCUD_pidctrl_cmdp_pid_ctrl_size[] |
Definition at line 89 of file test_client_strope.c.
unsigned char b_inv_offset[] = { 0, 4, 8 } |
Definition at line 92 of file test_client_strope.c.
unsigned char b_inv_size[] = { 4, 4, 255 } |
Definition at line 93 of file test_client_strope.c.
struct HIPC_cl_dp_stru b_cmdp_s[] |
Definition at line 95 of file test_client_strope.c.
unsigned char HIPCUD_pidctrl_smdp_pid_ctrl_offset[] |
Definition at line 103 of file test_client_strope.c.
unsigned char HIPCUD_pidctrl_smdp_pid_ctrl_size[] |
Definition at line 107 of file test_client_strope.c.
struct HIPC_cl_dp_stru b_smdp_s[] |
Definition at line 111 of file test_client_strope.c.
unsigned char b_cmdp_strctsizes[] = { 8, 72, 8, 12 } |
Definition at line 119 of file test_client_strope.c.
unsigned char b_smdp_strctsizes[] = { 8, 72, 12, 12 } |
Definition at line 120 of file test_client_strope.c.
struct HIPC_cl_dp b_cmdp |
Definition at line 121 of file test_client_strope.c.
struct HIPC_cl_dp b_smdp |
Definition at line 123 of file test_client_strope.c.
struct HIPC_client b_ri |
Definition at line 127 of file test_client_strope.c.