Lines Matching +defs:call +defs:c
1 /* $NetBSD: emit1.c,v 1.96 2024/08/29 20:35:19 rillig Exp $ */
4 * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
5 * Copyright (c) 1994, 1995 Jochen Pohl
41 __RCSID("$NetBSD: emit1.c,v 1.96 2024/08/29 20:35:19 rillig Exp $");
53 * const c
108 outchar('c');
329 outchar('c'); /* function call */
338 const function_call *call = tn->u.call;
340 for (size_t i = 0, n = call->args_len; i < n; i++) {
341 const tnode_t *arg = call->args[i];
379 outname(call->func->u.ops.left->u.sym->s_name);
383 outint((int)call->args_len);
384 for (size_t i = 0, n = call->args_len; i < n; i++)
385 outtype(call->args[i]->tn_type);
393 outqchar(char c)
396 if (ch_isprint(c) && c != '\\' && c != '"' && c != '\'') {
397 outchar(c);
402 switch (c) {
434 outchar((char)((((unsigned char)c >> 6) & 07) + '0'));
435 outchar((char)((((unsigned char)c >> 3) & 07) + '0'));
436 outchar((char)((c & 07) + '0'));
451 char c = *cp++;
452 while (c != '\0') {
454 if (c != '%') {
455 c = *cp++;
460 c = *cp++;
463 while (c == '-' || c == '+' || c == ' ' ||
464 c == '#' || c == '0' || c == '*') {
465 outchar(c);
466 c = *cp++;
470 while (ch_isdigit(c)) {
471 outchar(c);
472 c = *cp++;
476 if (c == '.') {
477 outchar(c);
478 c = *cp++;
479 if (c == '*') {
480 outchar(c);
481 c = *cp++;
483 while (ch_isdigit(c)) {
484 outchar(c);
485 c = *cp++;
491 if (c == 'h' || c == 'l' || c == 'L' || c == 'q') {
492 outchar(c);
493 c = *cp++;
500 if (c != '\0') {
501 outqchar(c);
502 char oc = c;
503 c = *cp++;
509 if (c == '^')
510 c = *cp++;
511 if (c == ']')
512 c = *cp++;
514 while (c != '\0' && c != ']') {
515 if (c == '-') {
517 outchar(c);
520 c = *cp++;
522 if (c == ']') {
523 outchar(c);
524 c = *cp++;