forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
117 changed files
with
2,227 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
// #11793 | ||
|
||
typedef struct pfmlib_pmu { | ||
int flags ; | ||
int (*get_event_encoding[10])(void* this, pfmlib_event_desc_t* e); | ||
} pfmlib_pmu_t ; | ||
|
||
pfmlib_pmu_t sparc_ultra3_support = { .flags = 0 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
|
||
|
||
|
||
/* This is the representation of the expressions to determine the | ||
plural form. */ | ||
struct expression | ||
{ | ||
int nargs; /* Number of arguments. */ | ||
union | ||
{ | ||
unsigned long int num; /* Number value for `num'. */ | ||
struct expression *args[3]; /* Up to three arguments. */ | ||
} val; | ||
}; | ||
|
||
|
||
struct expression GERMANIC_PLURAL = | ||
{ | ||
.nargs = 2, | ||
.val = | ||
{ | ||
.args = | ||
{ | ||
[0] = (struct expression *) &plvar, | ||
[1] = (struct expression *) &plone | ||
} | ||
} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
struct ConDesDesc { | ||
unsigned Order; | ||
unsigned Import; | ||
}; | ||
|
||
// cppcheck-suppress misra-config | ||
static ConDesDesc ConDes[CD_TYPE_COUNT] = { | ||
{ 0, 0 }, | ||
{ 0, 0 }, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
struct _boardcnf_ch { | ||
// cppcheck-suppress misra-config | ||
uint8_t ddr_density[CS_CNT]; | ||
uint64_t ca_swap; | ||
}; | ||
|
||
struct _boardcnf { | ||
|
||
uint16_t dqdm_dly_r; | ||
// cppcheck-suppress misra-config | ||
struct _boardcnf_ch ch[DRAM_CH_CNT]; | ||
}; | ||
|
||
static const struct _boardcnf boardcnfs[1] = { | ||
{ | ||
0x0a0, | ||
{ | ||
{ {0x02, 0x02}, 0x00345201 }, | ||
{ {0x02, 0x02}, 0x00302154 } | ||
} | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
typedef struct _tGames | ||
{ | ||
char magicdirname[10]; | ||
unsigned int expectedmask; | ||
unsigned char pictureorder[3]; | ||
} tGames; | ||
|
||
static const tGames games[1]={ | ||
{"Pawn", 1, {0,1,2}} | ||
}; | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
|
||
static const struct id3_frametype wordlist[] = | ||
{ | ||
{0, "Encryption method registration"}, | ||
{1, "Popularimeter"}, | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
struct three_d_filter_t { | ||
char name[16]; | ||
double elem[2]; | ||
}; | ||
|
||
static three_d_filter_t base_filters[] = { | ||
{"Identity", { 1.0, 0.0 } }, | ||
{"Echo", { 0.4, 0.0 } } | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
#line 3 "<stdout>" | ||
typedef int8_t flex_int8_t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.