Home
last modified time | relevance | path

Searched refs:fprintf (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Doutput.c150 fprintf(class_stream, "#ifndef %s\n", gate_symbol(ClassName(""))); in p_class_hdr()
151 fprintf(class_stream, "#define %s\n", gate_symbol(ClassName(""))); in p_class_hdr()
152 fprintf(class_stream, "/*\n"); in p_class_hdr()
153 fprintf(class_stream, " * D L G L e x e r C l a s s D e f i n i t i o n\n"); in p_class_hdr()
154 fprintf(class_stream, " *\n"); in p_class_hdr()
155 fprintf(class_stream, " * Generated from:"); in p_class_hdr()
156 fprintf(class_stream, " %s", file_str[0]); in p_class_hdr()
157 fprintf(class_stream, "\n"); in p_class_hdr()
158 fprintf(class_stream, " *\n"); in p_class_hdr()
159 fprintf(class_stream, " * 1989-2001 by Will Cohen, Terence Parr, and Hank Dietz\n"); in p_class_hdr()
[all …]
Dsupport.c51 fprintf(stderr,s,file,line);
108 fprintf(stderr, "dlg: invalid option: '%s'\n", name);
114 fprintf(stderr,
137 fprintf(stderr, "dlg: invalid option: '%s'\n", name);
143 fprintf(stderr,
170 fprintf(stderr,ErrHdr,
172 fprintf(stderr, " Fatal: %s\n", message);
184 fprintf(stderr,ErrHdr,
186 fprintf(stderr, " Error: %s\n", message);
198 fprintf(stderr,ErrHdr,
[all …]
/device/generic/opengl-transport/host/commands/emugen/
DApiGen.cpp65 fprintf(fp, "// Generated Code - DO NOT EDIT !!\n"); in printHeader()
66 fprintf(fp, "// generated by 'emugen'\n"); in printHeader()
80 fprintf(fp, "#ifndef __%s_%s_proc_t_h\n", basename, sideString(side)); in genProcTypes()
81 fprintf(fp, "#define __%s_%s_proc_t_h\n", basename, sideString(side)); in genProcTypes()
82 fprintf(fp, "\n\n"); in genProcTypes()
83 fprintf(fp, "\n#include \"%s_types.h\"\n",basename); in genProcTypes()
84 fprintf(fp, "#ifndef %s_APIENTRY\n",basename); in genProcTypes()
85 fprintf(fp, "#define %s_APIENTRY \n",basename); in genProcTypes()
86 fprintf(fp, "#endif\n"); in genProcTypes()
92 fprintf(fp, "typedef "); in genProcTypes()
[all …]
Dmain.cpp32 fprintf(stderr, "Usage: %s [options] <base name>\n", filename); in usage()
33 fprintf(stderr, "\t-h: This message\n"); in usage()
34 fprintf(stderr, "\t-E <dir>: generate encoder into dir\n"); in usage()
35 fprintf(stderr, "\t-D <dir>: generate decoder into dir\n"); in usage()
36 fprintf(stderr, "\t-i: input dir, local directory by default\n"); in usage()
37fprintf(stderr, "\t-T : generate attribute template into the input directory\n\t\tno other files a… in usage()
38 fprintf(stderr, "\t-W : generate wrapper into dir\n"); in usage()
72 fprintf(stderr, "Missing argument !!\n"); in main()
81 fprintf(stderr, "Usage: %s [options] <base name> \n", argv[0]); in main()
89 fprintf(stderr, "No output specified - aborting\n"); in main()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dlex.c58 fprintf(dlgFile, "<<\n"); in genLexDescr()
59 fprintf(dlgFile, "/* %s -- DLG Description of scanner\n", DlgFileName); in genLexDescr()
60 fprintf(dlgFile, " *\n"); in genLexDescr()
61 fprintf(dlgFile, " * Generated from:"); in genLexDescr()
62 {int i; for (i=0; i<NumFiles; i++) fprintf(dlgFile, " %s", FileStr[i]);} in genLexDescr()
63 fprintf(dlgFile, "\n"); in genLexDescr()
64 fprintf(dlgFile, " *\n"); in genLexDescr()
65 fprintf(dlgFile, " * Terence Parr, Will Cohen, and Hank Dietz: 1989-2001\n"); in genLexDescr()
66 fprintf(dlgFile, " * Purdue University Electrical Engineering\n"); in genLexDescr()
67 fprintf(dlgFile, " * With AHPCRC, University of Minnesota\n"); in genLexDescr()
[all …]
Dbits.c78 fprintf(f, format, (wd&byte_mask[i])>>(i*BitsPerByte));
79 if ( i<sizeof(unsigned)-1) fprintf(f, ",");
124 fprintf(DefFile, "extern SetWordType setwd%d[];\n", wordnum); in DumpSetWdForC()
125 fprintf(ErrFile, in DumpSetWdForC()
130 if ( i!=0 ) fprintf(ErrFile, ","); in DumpSetWdForC()
131 if ( c == 8 ) {fprintf(ErrFile, "\n\t"); c=1;} else c++; in DumpSetWdForC()
132 fprintf(ErrFile, "0x%x", setwd[i]); in DumpSetWdForC()
134 fprintf(ErrFile, "};\n"); in DumpSetWdForC()
150 fprintf(Parser_h, "\tstatic SetWordType setwd%d[%d];\n", wordnum, TokenNum-1); in DumpSetWdForCC()
151 fprintf(Parser_c, in DumpSetWdForCC()
[all …]
Ddumpnode.c17 fprintf(stderr,"{}");
31 fprintf(stderr,"\n");
61 fprintf(stderr," ");
65 fprintf(stderr," %s", (p->expr == NULL ? "null expr" : p->expr));
66 if (p->inverted) fprintf(stderr," predicate inverted !");
68 fprintf(stderr," Redundant!");
70 if (p->isConst) fprintf(stderr," const %d !",p->constValue);
71 fprintf(stderr,"\n");
73 fprintf(stderr,"predicate k=%d",p->k);
76 fprintf(stderr," Incomplete Set=%d !",k);
[all …]
Dfset.c126 if ( p->jtype == RuleBlk ) fprintf(stderr, "FIRST(%s,%d) \n",((Junction *)p)->rname,k);
127 else fprintf(stderr, "rJunc: %s in rule %s\n",
160 fprintf(stderr, "FOLLOW cycle to %s: panic!\n", p->rname);
187 fprintf(stderr, "cache for FOLLOW(%s,%d):", p->rname,k);
189 if ( q->incomplete ) fprintf(stderr, " (incomplete)");
190 fprintf(stderr, "\n");
216 fprintf(stderr, "-->FOLLOW(%s,%d)\n", p->rname,k);
270 fprintf(stderr, "saving FOLLOW(%s,%d):", p->rname, k);
272 if ( q->incomplete ) fprintf(stderr, " (incomplete)");
273 fprintf(stderr, "\n");
[all …]
Dfcache.c86 fprintf(stdout,"\nrule ");
88 fprintf(stdout,"%c",*qstr);
92 if (*qstr == 'i') fprintf(stdout," First[");
93 if (*qstr == 'o') fprintf(stdout," Follow[");
95 fprintf(stdout,"%s]",qstr);
96 if (q->incomplete) fprintf(stdout," *** incomplete ***");
97 fprintf(stdout,"\n");
113 fprintf(stdout,"\n\nDump of First/Follow Cache\n"); in DumpFcache()
122 fprintf(stdout,"\nEnd dump of First/Follow Cache\n"); in DumpFcache()
Ddumpcycles.c29 fprintf(stderr,"Cycle %d: (degree %d) %s -->\n", i++, degree, RulePtr[c->croot]->rname); in dumpcycles()
30 fprintf(stderr," *self*\n"); in dumpcycles()
32 fprintf(stderr,"\n"); in dumpcycles()
36 fprintf(stderr," *** FOLLOW(%s) must be in cache but isn't ***\n", in dumpcycles()
54 fprintf(stderr,"\n");
56 fprintf(stderr,"FoStack[%d] is null\n",k);
59 fprintf(stderr,"FoTOS[%d] is null\n",k);
64 fprintf(stderr,"#%d rule %d %s\n",i,*pi,RulePtr[*pi]->rname);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dprintgrammar.c16 fprintf(fp, "/* Generated by Parser/pgen */\n\n"); in printgrammar()
17 fprintf(fp, "#include \"pgenheaders.h\"\n"); in printgrammar()
18 fprintf(fp, "#include \"grammar.h\"\n"); in printgrammar()
19 fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n"); in printgrammar()
22 fprintf(fp, "grammar _PyParser_Grammar = {\n"); in printgrammar()
23 fprintf(fp, " %d,\n", g->g_ndfas); in printgrammar()
24 fprintf(fp, " dfas,\n"); in printgrammar()
25 fprintf(fp, " {%d, labels},\n", g->g_ll.ll_nlabels); in printgrammar()
26 fprintf(fp, " %d\n", g->g_start); in printgrammar()
27 fprintf(fp, "};\n"); in printgrammar()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/
DEfiRom.c290 fprintf ( in main()
303 fprintf (stdout, "ERROR: Failed to open output file %s\n", mOptions.OutFileName); in main()
314 fprintf (stdout, "Processing EFI file %s\n", FList->FileName); in main()
320 fprintf (stdout, "Processing binary file %s\n", FList->FileName); in main()
325 fprintf (stdout, "ERROR: File not specified as EFI or binary: %s\n", FList->FileName); in main()
330 fprintf (stdout, " Output size = 0x%X\n", Size); in main()
343 fprintf ( in main()
448 fprintf (stdout, "ERROR: Failed to open input file %s\n", InFile->FileName); in ProcessBinFile()
458 fprintf (stdout, " File size = 0x%X\n", FileSize); in ProcessBinFile()
464 fprintf (stdout, "ERROR: Memory allocation failed\n"); in ProcessBinFile()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-utils-test.c38fprintf(stdout, "******************************************************************************\n"… in print_banner()
39 fprintf(stdout, "Cadence Audio Framework (Hosted) : %s \n",app_name); in print_banner()
40 fprintf(stdout, "Copyright (c) 2018 Cadence Design Systems, Inc.\n"); in print_banner()
44fprintf(stdout, "******************************************************************************\n"… in print_banner()
62 fprintf(stdout,"Shared Memory between AP and DSP for IPC: %8d \n", XF_CFG_REMOTE_IPC_POOL_SIZE); in print_mem_mcps_info()
63 fprintf(stdout,"Memory allocated on AP for Device : %8d \n", tot_dev_mem_size); in print_mem_mcps_info()
64 fprintf(stdout,"Memory allocated on AP for Components : %8d \n", tot_comp_mem_size); in print_mem_mcps_info()
65 fprintf(stdout,"Memory allocated on DSP for Components : %8d \n", XF_CFG_LOCAL_POOL_SIZE); in print_mem_mcps_info()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DATokenBuffer.cpp88 fprintf(stderr, "##########dtor: deleting token '%s' (ref %d)\n", in ~ANTLRTokenBuffer()
120 fprintf(stderr,"getToken: next > threshold (high water is %d)\n", threshold-buffer); in getToken()
129 fprintf(stderr,"getToken: next > end_of_buffer (size is %d)\n", buffer_size); in getToken()
146 fprintf(stderr, "rewind(%d)[nm=%d,from=%d,%d.n=%d]\n", pos, num_markers, tp-buffer,pos,test[pos]); in rewind()
162 fprintf(stderr,"mark(%d)[nm=%d,%d.n=%d]\n",tp-buffer,num_markers+1,tp-buffer,test[tp-buffer]); in mark()
188 fprintf(stderr, "bufferedToken(%d)\n", n); in bufferedToken()
216 fprintf(stderr, "in makeRoom.................\n"); in makeRoom()
217 fprintf(stderr, "num_markers==%d\n", num_markers); in makeRoom()
224 fprintf(stderr, "moving lookahead and resetting next\n"); in makeRoom()
227 fprintf(stderr, "tbuf = ["); in makeRoom()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DEfiUtilityMsgs.c487 fprintf (stdout, "%s", Line); in PrintMessage()
492 fprintf (stdout, ": %s ", Text); in PrintMessage()
499 fprintf (stdout, ": %s", Line2); in PrintMessage()
502 fprintf (stdout, "\n"); in PrintMessage()
679 fprintf (stdout, "* Testing without setting utility name\n");
680 fprintf (stdout, "** Test debug message not printed\n");
682 fprintf (stdout, "** Test warning with two strings and two args\n");
684 fprintf (stdout, "** Test error with two strings and two args\n");
686 fprintf (stdout, "** Test parser warning with nothing\n");
688 fprintf (stdout, "** Test parser error with nothing\n");
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DEfiUtilityMsgs.c455 fprintf (stdout, "%04d-%02d-%02d %02d:%02d:%02d", in PrintMessage()
477 fprintf (stdout, "%s...\n", mUtilityName); in PrintMessage()
510 fprintf (stdout, "%s", Line); in PrintMessage()
515 fprintf (stdout, ": %s", Text); in PrintMessage()
517 fprintf (stdout, "\n"); in PrintMessage()
524 fprintf (stdout, " %s\n", Line2); in PrintMessage()
554 fprintf (stdout, "%s\n", Line); in PrintSimpleMessage()
831 fprintf (stdout, "* Testing without setting utility name\n");
832 fprintf (stdout, "** Test debug message not printed\n");
834 fprintf (stdout, "** Test warning with two strings and two args\n");
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/OrderedCollectionTest/
DOrderedCollectionTest.c156 fprintf (Output, "%s: %d: removed\n", __FUNCTION__, UserStruct->Key.Value); in CmdForwardEmpty()
189 fprintf (Output, "%s: %d: removed\n", __FUNCTION__, UserStruct->Key.Value); in CmdBackwardEmpty()
214 fprintf (Output, "%s: %d\n", __FUNCTION__, UserStruct->Key.Value); in CmdForwardList()
236 fprintf (Output, "%s: %d\n", __FUNCTION__, UserStruct->Key.Value); in CmdBackwardList()
261 fprintf (Output, "%s: %d: calloc(): out of memory\n", __FUNCTION__, Value); in CmdInsert()
270 fprintf (Output, "%s: %d: OrderedCollectionInsert(): out of memory\n", in CmdInsert()
278 fprintf (Output, "%s: %d: already exists\n", __FUNCTION__, in CmdInsert()
288 fprintf (Output, "%s: %d: inserted\n", __FUNCTION__, Value); in CmdInsert()
318 fprintf (Output, "%s: %d: not found\n", __FUNCTION__, Value); in CmdFind()
324 fprintf (Output, "%s: %d: found\n", __FUNCTION__, UserStruct->Key.Value); in CmdFind()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFv.c61fprintf (stdout, "%s Version %d.%d %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERS… in Version()
88 fprintf (stdout, "\nUsage: %s [options]\n\n", UTILITY_NAME); in Usage()
93 fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n"); in Usage()
98 fprintf (stdout, "Options:\n"); in Usage()
99 fprintf (stdout, " -o FileName, --outputfile FileName\n\ in Usage()
101 fprintf (stdout, " -i FileName, --inputfile FileName\n\ in Usage()
104 fprintf (stdout, " -b BlockSize, --blocksize BlockSize\n\ in Usage()
107 fprintf (stdout, " -n NumberBlock, --numberblock NumberBlock\n\ in Usage()
110 fprintf (stdout, " -f FfsFile, --ffsfile FfsFile\n\ in Usage()
113 fprintf (stdout, " -s FileTakenSize, --filetakensize FileTakenSize\n\ in Usage()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiCompress/
DEfiCompressMain.c163 fprintf (stdout, "\nCompressed %d files, %d succeed!\n", ActionCount, SuccessCount); in main()
206 fprintf (stdout, " ERROR: CompressType %s not supported!\n", (*argv)+2); in ParseCommandLine()
219 fprintf (stdout, " ERROR: malloc failed!\n"); in ParseCommandLine()
244fprintf (stdout, " ERROR: Compress OutFileName not specified with InFileName: %s!\n", (*Action)->… in ParseCommandLine()
274 fprintf (stdout, "%s --> %s\n", InFileName, OutFileName); in ProcessFile()
277 fprintf (stdout, " ERROR: Can't open output file %s for write!\n", OutFileName); in ProcessFile()
282 fprintf (stdout, " ERROR: Can't open input file %s for read!\n", InFileName); in ProcessFile()
296 fprintf (stdout, " ERROR: Can't allocate memory!\n"); in ProcessFile()
301 fprintf (stdout, " ERROR: Can't read from source!\n"); in ProcessFile()
316 fprintf (stdout, " Error: Compress failed: %x!\n", Status); in ProcessFile()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/
Derrsupport.c24 fprintf(stderr,
30 fprintf(stderr,
44 fprintf(stderr, "parse error: expected any token/tree found found NULL tree\n");
58 fprintf(stderr,
64 fprintf(stderr,
81 fprintf(stderr,
85 fprintf(stderr,
98 fprintf(stderr, "panic: %s\n", err);
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c92 fprintf(stderr, "Failed to open /dev/urandom. Cannot procceed!\n"); in rand32_no_zero_bytes()
100 fprintf(stderr, "Failed to read /dev/urandom. Cannot procceed!\n"); in rand32_no_zero_bytes()
147 fprintf(stderr, "Padding header is invalid\n"); in validateSignature()
153 fprintf(stderr, "Padding bytes 0..1 are invalid\n"); in validateSignature()
159 fprintf(stderr, "Padding last bytes & terminator invalid\n"); in validateSignature()
166 fprintf(stderr, "Padding word %d invalid\n", i); in validateSignature()
178 fprintf(stderr, "hash mismatch\n"); in validateSignature()
207 fprintf(stderr, "Invalid text RSA input data\n"); in handleConvertKey()
221 fprintf(stderr, "Conversion status: %d\n", ret); in handleConvertKey()
243 fprintf(stderr, "Invalid signature header: file is too short\n"); in handleVerify()
[all …]
/device/generic/goldfish/tnc/
Dmain.cpp16 fprintf(stderr, "Usage: %s [-s|-c|-b] <ip> <port>\n", program); in usage()
33 fprintf(stderr, "ERROR: Unable to resolve '%s' and port '%s': %s\n", in resolve()
54 fprintf(stderr, "Unable to connect to server\n"); in runClient()
59 fprintf(stderr, "Failed to send message to server\n"); in runClient()
80 fprintf(stderr, "Unable to bind to address\n"); in runServer()
94 fprintf(stderr, "Error receiving on socket: %s\n", strerror(errno)); in runServer()
98 fprintf(stderr, "Socket unexpectedly closed\n"); in runServer()
112 fprintf(stderr, "ERROR: Could not open bridge socket: %s\n", in configureBridge()
119 fprintf(stderr, "ERROR: cannot create bridge: %s\n", strerror(errno)); in configureBridge()
129 fprintf(stderr, "ERROR: Unable to get interface index for %s\n", in configureBridge()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dfpetestmodule.c65 fprintf(stderr,"overflow"); in test()
69 fprintf(stderr,"\ndiv by 0"); in test()
73 fprintf(stderr,"\nnested outer"); in test()
77 fprintf(stderr,"\nnested inner"); in test()
81 fprintf(stderr,"\ntrailing outer"); in test()
85 fprintf(stderr,"\nnested prior"); in test()
89 fprintf(stderr,"\nnested interior"); in test()
93 fprintf(stderr,"\nnested trailing"); in test()
104 fprintf(stderr,"\tPASS\n"); in printerr()
107 fprintf(stderr,"\tFAIL\n"); in printerr()
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/
DEfiRom.c1233fprintf (stdout, "%s Version %d.%d %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERS… in Version()
1260 fprintf (stdout, "Usage: %s -f VendorId -i DeviceId [options] [file name<s>] \n\n", UTILITY_NAME); in Usage()
1265 fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n"); in Usage()
1270 fprintf (stdout, "Options:\n"); in Usage()
1271 fprintf (stdout, " -o FileName, --output FileName\n\ in Usage()
1273 fprintf (stdout, " -e EfiFileName\n\ in Usage()
1275 fprintf (stdout, " -ec EfiFileName\n\ in Usage()
1277 fprintf (stdout, " -b BinFileName\n\ in Usage()
1279 fprintf (stdout, " -l ClassCode\n\ in Usage()
1281 fprintf (stdout, " -r Rev Hex Revision in the PCI data structure header.\n"); in Usage()
[all …]
/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c42 fprintf(stderr, "Failed to open /dev/urandom. Cannot procceed!\n"); in rand_bytes()
51 fprintf(stderr, "Failed to read /dev/urandom. Cannot procceed!\n"); in rand_bytes()
78 fprintf(stderr, "Using Key ID: %016" PRIX64 "\n", encr.keyID); in handleEncrypt()
83 fprintf(stderr, "Input file is too small\n"); in handleEncrypt()
96 fprintf(stderr, "Padded to %" PRIu32 " bytes\n", bufUsed); in handleEncrypt()
104 fprintf(stderr, "Found AOSP header\n"); in handleEncrypt()
106 fprintf(stderr, "Unknown binary format\n"); in handleEncrypt()
111 fprintf(stderr, "data is marked as signed; encryption is not possible for signed data\n"); in handleEncrypt()
115fprintf(stderr, "data is marked as encrypted; encryption is not possible for encrypted data\n"); in handleEncrypt()
122 fprintf(stderr, "orig len: %" PRIu32 " bytes\n", encr.dataLen); in handleEncrypt()
[all …]

12345678910>>...12