Lines Matching refs: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");
202 * Determine whether if this comment spans multiple lines. If so,
203 * break apart the comment by storing each line in a different node
204 * within the comment list. This allows the disassembler to
205 * properly indent a multi-line comment.
258 * comment appears on the same line as a line of code. If does,
260 * add it to the comment list so that it can be associated with
266 * If this is not a regular comment, pad with extra spaces that
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");
319 /* If this comment lies on the same line as the latest parse op,
323 * Name(A,"") //comment
328 * //comment
330 * For this case, we only need to add one comment since
334 * would be lexically analyzed as a single comment.
337 * to account for the proper spacing, the actual comment,
338 * extra 2 spaces so that this comment can be converted to the "/ *"
342 * [ (spaces) (comment) ( * /) ('\0') ]
356 /* convert to a "/ *" style comment */
382 * DESCRIPTION: Calculate the length that the each comment takes up within Op.
383 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",
422 CommentLength = strlen (Current->Comment)+3;
423 CvDbgPrint ("Length of standard comment: %d\n", CommentLength);
424 CvDbgPrint (" Comment string: %s\n\n", Current->Comment);
435 CommentLength = strlen (Current->Comment)+3;
437 CvDbgPrint (" Comment string: %s\n\n", Current->Comment);
446 CvDbgPrint ("Length of inline comment: %d\n", CommentLength);
447 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.InlineComment);
454 CvDbgPrint ("Length of end node comment +3: %d\n", CommentLength);
455 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.EndNodeComment);
462 CvDbgPrint ("Length of close brace comment: %d\n", CommentLength);
463 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.CloseBraceComment);
508 /* First, print the file name comment after changing .asl to .dsl */
539 CgWriteOneAmlComment(Op, Current->Comment, CommentOption);
540 CvDbgPrint ("Printing comment: %s\n", Current->Comment);
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 */
628 /* First, print the file name comment after changing .asl to .dsl */
634 CvDbgPrint ("Writing file comment, \"%s\" for %s\n",
648 /* Prevent multiple writes of the same comment */
655 * If there is a such list in this node, print out the comment
670 CgWriteOneAmlComment(Op, Current->Comment, CommentOption);
680 CgWriteOneAmlComment(Op, Current->Comment, CommentOption);
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;
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);