Lines Matching full:comment
163 * PARAMETERS: CurrentState Current comment parse state
164 * StringBuffer Buffer containing the comment being processed
169 * DESCRIPTION: Process a single line comment of a c Style comment. This
170 * function captures a line of a c style comment in a char* and
171 * places the comment in the appropriate global buffer.
195 CvDbgPrint ("Multi-line comment\n"); in CvProcessComment()
202 * Determine whether if this comment spans multiple lines. If so, in CvProcessComment()
203 * break apart the comment by storing each line in a different node in CvProcessComment()
204 * within the comment list. This allows the disassembler to in CvProcessComment()
205 * properly indent a multi-line comment. in CvProcessComment()
258 * comment appears on the same line as a line of code. If does, in CvProcessComment()
260 * add it to the comment list so that it can be associated with in CvProcessComment()
266 * If this is not a regular comment, pad with extra spaces that in CvProcessComment()
291 * PARAMETERS: CurrentState Current comment parse state
292 * StringBuffer Buffer containing the comment being processed
296 * DESCRIPTION: Process a single line comment. This function captures a comment
297 * in a char* and places the comment in the appropriate global
315 CvDbgPrint ("Single-line comment\n"); in CvProcessCommentType2()
319 /* If this comment lies on the same line as the latest parse op, in CvProcessCommentType2()
323 * Name(A,"") //comment in CvProcessCommentType2()
328 * //comment in CvProcessCommentType2()
330 * For this case, we only need to add one comment since in CvProcessCommentType2()
334 * would be lexically analyzed as a single comment. in CvProcessCommentType2()
337 * to account for the proper spacing, the actual comment, in CvProcessCommentType2()
338 * extra 2 spaces so that this comment can be converted to the "/ *" in CvProcessCommentType2()
342 * [ (spaces) (comment) ( * /) ('\0') ] in CvProcessCommentType2()
356 /* convert to a "/ *" style comment */ in CvProcessCommentType2()
382 * DESCRIPTION: Calculate the length that the each comment takes up within Op.
383 * Comments look like the following: [0xA9 OptionBtye comment 0x00]
384 * therefore, we add 1 + 1 + strlen (comment) + 1 to get the actual
385 * length of this comment.
403 CvDbgPrint ("==Calculating comment lengths for %s\n", in CvCalculateCommentLengths()
422 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
423 CvDbgPrint ("Length of standard comment: %d\n", CommentLength); in CvCalculateCommentLengths()
424 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
435 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
437 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
446 CvDbgPrint ("Length of inline comment: %d\n", CommentLength); in CvCalculateCommentLengths()
447 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.InlineComment); in CvCalculateCommentLengths()
454 CvDbgPrint ("Length of end node comment +3: %d\n", CommentLength); in CvCalculateCommentLengths()
455 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.EndNodeComment); in CvCalculateCommentLengths()
462 CvDbgPrint ("Length of close brace comment: %d\n", CommentLength); in CvCalculateCommentLengths()
463 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.CloseBraceComment); in CvCalculateCommentLengths()
508 /* First, print the file name comment after changing .asl to .dsl */ in CgWriteAmlDefBlockComment()
539 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlDefBlockComment()
540 CvDbgPrint ("Printing comment: %s\n", Current->Comment); in CgWriteAmlDefBlockComment()
562 * CommentToPrint - Comment that's printed
563 * InputOption - Denotes the comment option.
567 * DESCRIPTION: write a single comment.
623 /* Print out the filename comment if needed */ in CgWriteAmlComment()
628 /* First, print the file name comment after changing .asl to .dsl */ in CgWriteAmlComment()
634 CvDbgPrint ("Writing file comment, \"%s\" for %s\n", in CgWriteAmlComment()
648 /* Prevent multiple writes of the same comment */ in CgWriteAmlComment()
655 * If there is a such list in this node, print out the comment in CgWriteAmlComment()
670 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
680 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
717 * RETURN: Pointer to the comment node. Aborts on allocation failure
816 * defined as a comment table entry, then update the state
884 * PARAMETERS: ToAdd - Contains the comment to be inserted
909 AslGbl_CommentListTail->Comment = ToAdd; in CvAddToCommentList()
918 * toAdd - Contains the comment to be inserted
966 * CommentString in the appropriate global comment list or char*
981 CvDbgPrint ("Placing comment %s for type %d\n", CommentString, Type); in CvPlaceComment()