Changes between Initial Version and Version 1 of BoilerplateOnlyDocs

Show
Ignore:
Timestamp:
01/16/10 15:20:34 (12 years ago)
Author:
mikehh
Comment:

report as at r43470 (to be modified as necessary)

Legend:

Unmodified
Added
Removed
Modified
  • BoilerplateOnlyDocs

    v1 v1  
     1'''Boilerplate Only in C Function Documentation''' 
     2 
     3The following is extracted from the test t/codingstd/c_function_docs.t. 
     4 
     5The following gives the C source file in single quotes, followed by the output for the test - prefixed by # 
     6 
     7It gives the number of functions lacking documentation in the source file, then the function(s) that lack documentation (boilerplate only) and the header (=item C<...>). 
     8 
     9Bear in mind we are dealing with POD and that it expects a maximum line length of 78. 
     10 
     11as of r43470 the following C functions are lacking documentation: 
     12{{{ 
     13 
     14'examples/c/nanoparrot.c' 
     15 
     16# 2 function(s) lacking documentation: 
     17# examples/c/nanoparrot.c (boilerplate only) 
     18# In: 
     19# =item C<static void run(Interp *interp, opcode_t *pc)> 
     20# 
     21# examples/c/nanoparrot.c (boilerplate only) 
     22# In: 
     23# =item C<int main(int argc, char *argv[])> 
     24 
     25'examples/compilers/japhc.c' 
     26 
     27# 1 function(s) lacking documentation: 
     28# examples/compilers/japhc.c (boilerplate only) 
     29# In: 
     30# =item C<static int unescape(char *string)> 
     31 
     32'compilers/imcc/instructions.c' 
     33 
     34# 2 function(s) lacking documentation: 
     35# compilers/imcc/instructions.c (boilerplate only) 
     36# In: 
     37# =item C<static int e_file_close(PARROT_INTERP, void *param)> 
     38# 
     39# compilers/imcc/instructions.c (boilerplate only) 
     40# In: 
     41# =item C<static int e_file_emit(PARROT_INTERP, void *param, const IMC_Unit *unit, 
     42# const Instruction *ins)> 
     43 
     44'compilers/imcc/optimizer.c' 
     45 
     46# 4 function(s) lacking documentation: 
     47# compilers/imcc/optimizer.c (boilerplate only) 
     48# In: 
     49# =item C<int optimize(PARROT_INTERP, IMC_Unit *unit)> 
     50# 
     51# compilers/imcc/optimizer.c (boilerplate only) 
     52# In: 
     53# =item C<static int branch_cond_loop_swap(PARROT_INTERP, IMC_Unit *unit, 
     54# Instruction *branch, Instruction *start, Instruction *cond)> 
     55# 
     56# compilers/imcc/optimizer.c (boilerplate only) 
     57# In: 
     58# =item C<static int dead_code_remove(PARROT_INTERP, IMC_Unit *unit)> 
     59# 
     60# compilers/imcc/optimizer.c (boilerplate only) 
     61# In: 
     62# =item C<static int used_once(PARROT_INTERP, IMC_Unit *unit)> 
     63 
     64'compilers/imcc/parser_util.c' 
     65 
     66# 11 function(s) lacking documentation: 
     67# compilers/imcc/parser_util.c (boilerplate only) 
     68# In: 
     69# =item C<static Instruction * var_arg_ins(PARROT_INTERP, IMC_Unit *unit, const 
     70# char *name, SymReg **r, int n, int emit)> 
     71# 
     72# compilers/imcc/parser_util.c (boilerplate only) 
     73# In: 
     74# =item C<int do_yylex_init(PARROT_INTERP, yyscan_t* yyscanner)> 
     75# 
     76# compilers/imcc/parser_util.c (boilerplate only) 
     77# In: 
     78# =item C<PMC * IMCC_compile_pir_s(PARROT_INTERP, const char *s, STRING 
     79# **error_message)> 
     80# 
     81# compilers/imcc/parser_util.c (boilerplate only) 
     82# In: 
     83# =item C<PMC * IMCC_compile_pasm_s(PARROT_INTERP, const char *s, STRING 
     84# **error_message)> 
     85# 
     86# compilers/imcc/parser_util.c (boilerplate only) 
     87# In: 
     88# =item C<PMC * imcc_compile_pasm_ex(PARROT_INTERP, const char *s)> 
     89# 
     90# compilers/imcc/parser_util.c (boilerplate only) 
     91# In: 
     92# =item C<PMC * imcc_compile_pir_ex(PARROT_INTERP, const char *s)> 
     93# 
     94# compilers/imcc/parser_util.c (boilerplate only) 
     95# In: 
     96# =item C<void * IMCC_compile_file_s(PARROT_INTERP, const char *s, STRING 
     97# **error_message)> 
     98# 
     99# compilers/imcc/parser_util.c (boilerplate only) 
     100# In: 
     101# =item C<static int change_op(PARROT_INTERP, IMC_Unit *unit, SymReg **r, int num, 
     102# int emit)> 
     103# 
     104# compilers/imcc/parser_util.c (boilerplate only) 
     105# In: 
     106# =item C<static const char * try_rev_cmp(const char *name, SymReg **r)> 
     107# 
     108# compilers/imcc/parser_util.c (boilerplate only) 
     109# In: 
     110# =item C<void imcc_init(PARROT_INTERP)> 
     111# 
     112# compilers/imcc/parser_util.c (boilerplate only) 
     113# In: 
     114# =item C<void imcc_destroy(PARROT_INTERP)> 
     115 
     116'compilers/imcc/pbc.c' 
     117 
     118# 2 function(s) lacking documentation: 
     119# compilers/imcc/pbc.c (boilerplate only) 
     120# In: 
     121# =item C<static subs_t * find_sub_by_subid(PARROT_INTERP, const char *lookup, 
     122# const subs_t *sym, int *pc)> 
     123# 
     124# compilers/imcc/pbc.c (boilerplate only) 
     125# In: 
     126# =item C<STRING * IMCC_string_from__STRINGC(PARROT_INTERP, char *buf)> 
     127 
     128'compilers/imcc/pcc.c' 
     129 
     130# 3 function(s) lacking documentation: 
     131# compilers/imcc/pcc.c (boilerplate only) 
     132# In: 
     133# =item C<static int pcc_reg_mov(PARROT_INTERP, unsigned char d, unsigned char s, 
     134# void *vinfo)> 
     135# 
     136# compilers/imcc/pcc.c (boilerplate only) 
     137# In: 
     138# =item C<static Instruction * move_regs(PARROT_INTERP, IMC_Unit *unit, 
     139# Instruction *ins, size_t n, SymReg **dest, SymReg **src)> 
     140# 
     141# compilers/imcc/pcc.c (boilerplate only) 
     142# In: 
     143# =item C<static void insert_tail_call(PARROT_INTERP, IMC_Unit *unit, Instruction 
     144# *ins, SymReg *sub, SymReg *meth)> 
     145 
     146'compilers/imcc/reg_alloc.c' 
     147 
     148# 11 function(s) lacking documentation: 
     149# compilers/imcc/reg_alloc.c (boilerplate only) 
     150# In: 
     151# =item C<static unsigned int* ig_get_word(int i, int j, int N, unsigned int 
     152# *graph, int *bit_ofs)> 
     153# 
     154# compilers/imcc/reg_alloc.c (boilerplate only) 
     155# In: 
     156# =item C<static void ig_set(int i, int j, int N, unsigned int *graph)> 
     157# 
     158# compilers/imcc/reg_alloc.c (boilerplate only) 
     159# In: 
     160# =item C<unsigned int ig_test(int i, int j, int N, unsigned int *graph)> 
     161# 
     162# compilers/imcc/reg_alloc.c (boilerplate only) 
     163# In: 
     164# =item C<static unsigned int* ig_allocate(int N)> 
     165# 
     166# compilers/imcc/reg_alloc.c (boilerplate only) 
     167# In: 
     168# =item C<void free_reglist(IMC_Unit *unit)> 
     169# 
     170# compilers/imcc/reg_alloc.c (boilerplate only) 
     171# In: 
     172# =item C<void graph_coloring_reg_alloc(PARROT_INTERP, IMC_Unit *unit)> 
     173# 
     174# compilers/imcc/reg_alloc.c (boilerplate only) 
     175# In: 
     176# =item C<static void sort_reglist(IMC_Unit *unit)> 
     177# 
     178# compilers/imcc/reg_alloc.c (boilerplate only) 
     179# In: 
     180# =item C<static void compute_one_du_chain(SymReg *r, IMC_Unit *unit)> 
     181# 
     182# compilers/imcc/reg_alloc.c (boilerplate only) 
     183# In: 
     184# =item C<static void vanilla_reg_alloc(PARROT_INTERP, IMC_Unit *unit)> 
     185# 
     186# compilers/imcc/reg_alloc.c (boilerplate only) 
     187# In: 
     188# =item C<static void allocate_lexicals(PARROT_INTERP, IMC_Unit *unit)> 
     189# 
     190# compilers/imcc/reg_alloc.c (boilerplate only) 
     191# In: 
     192# =item C<static void allocate_non_volatile(PARROT_INTERP, IMC_Unit *unit)> 
     193 
     194'compilers/imcc/symreg.c' 
     195 
     196# 1 function(s) lacking documentation: 
     197# compilers/imcc/symreg.c (boilerplate only) 
     198# In: 
     199# =item C<static int int_overflows(const SymReg *r)> 
     200 
     201'compilers/pirc/src/pircapi.c' 
     202 
     203# 2 function(s) lacking documentation: 
     204# compilers/pirc/src/pircapi.c (boilerplate only) 
     205# In: 
     206# =item C<void parse_file(PARROT_INTERP, int flexdebug, FILE *infile, char * const 
     207# filename, int flags, int thr_id, unsigned macro_size, char * const outputfile)> 
     208# 
     209# compilers/pirc/src/pircapi.c (boilerplate only) 
     210# In: 
     211# =item C<PackFile_ByteCode * pirc_compile_file(PARROT_INTERP, const char 
     212# *filename, STRING **error_message)> 
     213 
     214 
     215'config/gen/platform/ansi/dl.c' 
     216 
     217# 4 function(s) lacking documentation: 
     218# config/gen/platform/ansi/dl.c (boilerplate only) 
     219# In: 
     220# =item C<void * Parrot_dlopen(const char *filename)> 
     221# 
     222# config/gen/platform/ansi/dl.c (boilerplate only) 
     223# In: 
     224# =item C<const char * Parrot_dlerror(void)> 
     225# 
     226# config/gen/platform/ansi/dl.c (boilerplate only) 
     227# In: 
     228# =item C<void * Parrot_dlsym(void *handle, const char *symbol)> 
     229# 
     230# config/gen/platform/ansi/dl.c (boilerplate only) 
     231# In: 
     232# =item C<int Parrot_dlclose(void *handle)> 
     233 
     234'config/gen/platform/ansi/exec.c' 
     235 
     236# 1 function(s) lacking documentation: 
     237# config/gen/platform/ansi/exec.c (boilerplate only) 
     238# In: 
     239# =item C<INTVAL Parrot_Run_OS_Command_Argv(PARROT_INTERP, PMC *cmdargs)> 
     240 
     241'config/gen/platform/ansi/time.c' 
     242 
     243# 3 function(s) lacking documentation: 
     244# config/gen/platform/ansi/time.c (boilerplate only) 
     245# In: 
     246# =item C<INTVAL Parrot_intval_time(void)> 
     247# 
     248# config/gen/platform/ansi/time.c (boilerplate only) 
     249# In: 
     250# =item C<FLOATVAL Parrot_floatval_time(void)> 
     251# 
     252# config/gen/platform/ansi/time.c (boilerplate only) 
     253# In: 
     254# =item C<void Parrot_sleep(unsigned int seconds)> 
     255 
     256'config/gen/platform/darwin/memalign.c' 
     257 
     258# 6 function(s) lacking documentation: 
     259# config/gen/platform/darwin/memalign.c (boilerplate only) 
     260# In: 
     261# =item C<static unsigned long log2int(unsigned long x)> 
     262# 
     263# config/gen/platform/darwin/memalign.c (boilerplate only) 
     264# In: 
     265# =item C<static unsigned long roundDownPowerOf2(unsigned long x)> 
     266# 
     267# config/gen/platform/darwin/memalign.c (boilerplate only) 
     268# In: 
     269# =item C<static unsigned long roundUpPowerOf2(unsigned long x)> 
     270# 
     271# config/gen/platform/darwin/memalign.c (boilerplate only) 
     272# In: 
     273# =item C<static unsigned long roundUpToPageBoundary(unsigned long x)> 
     274# 
     275# config/gen/platform/darwin/memalign.c (boilerplate only) 
     276# In: 
     277# =item C<void * Parrot_memalign(size_t align, size_t size)> 
     278# 
     279# config/gen/platform/darwin/memalign.c (boilerplate only) 
     280# In: 
     281# =item C<void Parrot_free_memalign(void *p)> 
     282 
     283'config/gen/platform/generic/dl.c' 
     284 
     285# 4 function(s) lacking documentation: 
     286# config/gen/platform/generic/dl.c (boilerplate only) 
     287# In: 
     288# =item C<void * Parrot_dlopen(const char *filename)> 
     289# 
     290# config/gen/platform/generic/dl.c (boilerplate only) 
     291# In: 
     292# =item C<const char * Parrot_dlerror(void)> 
     293# 
     294# config/gen/platform/generic/dl.c (boilerplate only) 
     295# In: 
     296# =item C<void * Parrot_dlsym(void *handle, const char *symbol)> 
     297# 
     298# config/gen/platform/generic/dl.c (boilerplate only) 
     299# In: 
     300# =item C<int Parrot_dlclose(void *handle)> 
     301'config/gen/platform/generic/exec.c' 
     302 
     303# 1 function(s) lacking documentation: 
     304# config/gen/platform/generic/exec.c (boilerplate only) 
     305# In: 
     306# =item C<INTVAL Parrot_Run_OS_Command_Argv(PARROT_INTERP, PMC *cmdargs)> 
     307 
     308'config/gen/platform/generic/math.c' 
     309 
     310# 1 function(s) lacking documentation: 
     311# config/gen/platform/generic/math.c (boilerplate only) 
     312# In: 
     313# =item C<int Parrot_signbit_l(long double x)> 
     314 
     315'config/gen/platform/generic/stat.c' 
     316 
     317# 7 function(s) lacking documentation: 
     318# config/gen/platform/generic/stat.c (boilerplate only) 
     319# In: 
     320# =item C<PMC * Parrot_stat_file(PARROT_INTERP, STRING *filename)> 
     321# 
     322# config/gen/platform/generic/stat.c (boilerplate only) 
     323# In: 
     324# =item C<PMC * Parrot_stat_info_pmc(PARROT_INTERP, STRING *filename, INTVAL 
     325# thing)> 
     326# 
     327# config/gen/platform/generic/stat.c (boilerplate only) 
     328# In: 
     329# =item C<static INTVAL stat_common(PARROT_INTERP, struct stat *statbuf, INTVAL 
     330# thing, int status)> 
     331# 
     332# config/gen/platform/generic/stat.c (boilerplate only) 
     333# In: 
     334# =item C<INTVAL Parrot_stat_info_intval(PARROT_INTERP, STRING *file, INTVAL 
     335# thing)> 
     336# 
     337# config/gen/platform/generic/stat.c (boilerplate only) 
     338# In: 
     339# =item C<INTVAL Parrot_fstat_info_intval(PARROT_INTERP, INTVAL file, INTVAL 
     340# thing)> 
     341# 
     342# config/gen/platform/generic/stat.c (boilerplate only) 
     343# In: 
     344# =item C<FLOATVAL Parrot_stat_info_floatval(PARROT_INTERP, STRING *filename, 
     345# INTVAL thing)> 
     346# 
     347# config/gen/platform/generic/stat.c (boilerplate only) 
     348# In: 
     349# =item C<STRING * Parrot_stat_info_string(PARROT_INTERP, STRING *filename, INTVAL 
     350# thing)> 
     351 
     352'config/gen/platform/generic/time.c' 
     353 
     354# 6 function(s) lacking documentation: 
     355# config/gen/platform/generic/time.c (boilerplate only) 
     356# In: 
     357# =item C<INTVAL Parrot_intval_time(void)> 
     358# 
     359# config/gen/platform/generic/time.c (boilerplate only) 
     360# In: 
     361# =item C<FLOATVAL Parrot_floatval_time(void)> 
     362# 
     363# config/gen/platform/generic/time.c (boilerplate only) 
     364# In: 
     365# =item C<void Parrot_sleep(unsigned int seconds)> 
     366# 
     367# config/gen/platform/generic/time.c (boilerplate only) 
     368# In: 
     369# =item C<struct tm * Parrot_gmtime_r(const time_t *t, struct tm *tm)> 
     370# 
     371# config/gen/platform/generic/time.c (boilerplate only) 
     372# In: 
     373# =item C<struct tm * Parrot_localtime_r(const time_t *t, struct tm *tm)> 
     374# 
     375# config/gen/platform/generic/time.c (boilerplate only) 
     376# In: 
     377# =item C<char* Parrot_asctime_r(const struct tm *tm, char *buffer)> 
     378 
     379'config/gen/platform/netbsd/math.c' 
     380 
     381# 1 function(s) lacking documentation: 
     382# config/gen/platform/netbsd/math.c (boilerplate only) 
     383# In: 
     384# =item C<int Parrot_signbit_l(long double x)> 
     385 
     386'config/gen/platform/openbsd/math.c' 
     387 
     388# 1 function(s) lacking documentation: 
     389# config/gen/platform/openbsd/math.c (boilerplate only) 
     390# In: 
     391# =item C<int Parrot_signbit_l(long double x)> 
     392 
     393'config/gen/platform/solaris/math.c' 
     394 
     395# 1 function(s) lacking documentation: 
     396# config/gen/platform/solaris/math.c (boilerplate only) 
     397# In: 
     398# =item C<int Parrot_signbit_l(long double x)> 
     399 
     400'config/gen/platform/solaris/time.c' 
     401 
     402# 6 function(s) lacking documentation: 
     403# config/gen/platform/solaris/time.c (boilerplate only) 
     404# In: 
     405# =item C<INTVAL Parrot_intval_time(void)> 
     406# 
     407# config/gen/platform/solaris/time.c (boilerplate only) 
     408# In: 
     409# =item C<FLOATVAL Parrot_floatval_time(void)> 
     410# 
     411# config/gen/platform/solaris/time.c (boilerplate only) 
     412# In: 
     413# =item C<void Parrot_sleep(unsigned int seconds)> 
     414# 
     415# config/gen/platform/solaris/time.c (boilerplate only) 
     416# In: 
     417# =item C<struct tm * Parrot_gmtime_r(const time_t *t, struct tm *tm)> 
     418# 
     419# config/gen/platform/solaris/time.c (boilerplate only) 
     420# In: 
     421# =item C<struct tm * Parrot_localtime_r(const time_t *t, struct tm *tm)> 
     422# 
     423# config/gen/platform/solaris/time.c (boilerplate only) 
     424# In: 
     425# =item C<char* Parrot_asctime_r(const struct tm *tm, char *buffer)> 
     426 
     427'src/string/charset/ascii.c' 
     428 
     429# 2 function(s) lacking documentation: 
     430# src/string/charset/ascii.c (boilerplate only) 
     431# In: 
     432# =item C<static INTVAL is_cclass(PARROT_INTERP, INTVAL flags, const STRING 
     433# *source_string, UINTVAL offset)> 
     434# 
     435# src/string/charset/ascii.c (boilerplate only) 
     436# In: 
     437# =item C<static INTVAL find_not_cclass(PARROT_INTERP, INTVAL flags, STRING 
     438# *source_string, UINTVAL offset, UINTVAL count)> 
     439 
     440'src/string/charset/binary.c' 
     441 
     442# 4 function(s) lacking documentation: 
     443# src/string/charset/binary.c (boilerplate only) 
     444# In: 
     445# =item C<static INTVAL is_cclass(PARROT_INTERP, INTVAL flags, const STRING 
     446# *source_string, UINTVAL offset)> 
     447# 
     448# src/string/charset/binary.c (boilerplate only) 
     449# In: 
     450# =item C<static INTVAL find_cclass(PARROT_INTERP, INTVAL flags, STRING 
     451# *source_string, UINTVAL offset, UINTVAL count)> 
     452# 
     453# src/string/charset/binary.c (boilerplate only) 
     454# In: 
     455# =item C<static INTVAL find_not_cclass(PARROT_INTERP, INTVAL flags, STRING 
     456# *source_string, UINTVAL offset, UINTVAL count)> 
     457# 
     458# src/string/charset/binary.c (boilerplate only) 
     459# In: 
     460# =item C<static STRING * string_from_codepoint(PARROT_INTERP, UINTVAL codepoint)> 
     461 
     462'src/string/charset/iso-8859-1.c' 
     463 
     464# 2 function(s) lacking documentation: 
     465# src/string/charset/iso-8859-1.c (boilerplate only) 
     466# In: 
     467# =item C<static INTVAL is_cclass(PARROT_INTERP, INTVAL flags, const STRING 
     468# *source_string, UINTVAL offset)> 
     469# 
     470# src/string/charset/iso-8859-1.c (boilerplate only) 
     471# In: 
     472# =item C<static INTVAL find_not_cclass(PARROT_INTERP, INTVAL flags, STRING 
     473# *source_string, UINTVAL offset, UINTVAL count)> 
     474 
     475'src/string/charset/unicode.c' 
     476 
     477# 4 function(s) lacking documentation: 
     478# src/string/charset/unicode.c (boilerplate only) 
     479# In: 
     480# =item C<static int u_iscclass(PARROT_INTERP, UINTVAL codepoint, INTVAL flags)> 
     481# 
     482# src/string/charset/unicode.c (boilerplate only) 
     483# In: 
     484# =item C<static INTVAL is_cclass(PARROT_INTERP, INTVAL flags, const STRING 
     485# *source_string, UINTVAL offset)> 
     486# 
     487# src/string/charset/unicode.c (boilerplate only) 
     488# In: 
     489# =item C<static INTVAL find_cclass(PARROT_INTERP, INTVAL flags, STRING 
     490# *source_string, UINTVAL offset, UINTVAL count)> 
     491# 
     492# src/string/charset/unicode.c (boilerplate only) 
     493# In: 
     494# =item C<static INTVAL find_not_cclass(PARROT_INTERP, INTVAL flags, STRING 
     495# *source_string, UINTVAL offset, UINTVAL count)> 
     496 
     497'src/tsq.c' 
     498 
     499# 1 function(s) lacking documentation: 
     500# src/tsq.c (boilerplate only) 
     501# In: 
     502# =item C<void queue_signal(QUEUE *queue)> 
     503 
     504'src/debug.c' 
     505 
     506# 6 function(s) lacking documentation: 
     507# src/debug.c (boilerplate only) 
     508# In: 
     509# =item C<static const DebuggerCmd * get_cmd(const char **cmd)> 
     510# 
     511# src/debug.c (boilerplate only) 
     512# In: 
     513# =item C<static const char * skip_whitespace(const char *cmd)> 
     514# 
     515# src/debug.c (boilerplate only) 
     516# In: 
     517# =item C<static unsigned long get_uint(const char **cmd, unsigned int def)> 
     518# 
     519# src/debug.c (boilerplate only) 
     520# In: 
     521# =item C<static unsigned long get_ulong(const char **cmd, unsigned long def)> 
     522# 
     523# src/debug.c (boilerplate only) 
     524# In: 
     525# =item C<static unsigned short condition_regtype(const char *cmd)> 
     526# 
     527# src/debug.c (boilerplate only) 
     528# In: 
     529# =item C<static void list_breakpoints(PDB_t *pdb)> 
     530 
     531}}} 
     532 
     533