Searched defs:fp (Results 1 - 7 of 7) sorted by relevance

/art/test/023-many-interfaces/
H A Diface-gen.c13 FILE* fp; local
20 fp = fopen(nameBuf, "w");
21 if (fp == NULL) {
26 fprintf(fp, "interface Interface%03d {\n", i);
28 fprintf(fp, " int func%03d();\n", i);
29 fprintf(fp, "}\n");
30 fclose(fp);
33 fp = fopen("func-decl", "w");
34 fprintf(fp, " implements\n");
36 fprintf(fp, " Interfac
[all...]
/art/test/303-verification-stress/
H A Dclasses-gen.c13 FILE* fp; local
21 fp = fopen(nameBuf, "w");
22 if (fp == NULL) {
27 fprintf(fp, "public class Test%03d {\n", i);
28 fprintf(fp, " static String[] array = new String[%d];\n", array_size);
29 fprintf(fp, " static {\n");
31 fprintf(fp, " array[%d] = \"string_%04d\";\n", k, k);
33 fprintf(fp, " }\n");
34 fprintf(fp, "}\n");
35 fclose(fp);
[all...]
/art/compiler/utils/
H A Dassembler_thumb_test.cc144 FILE *fp = popen(cmd, "r"); local
145 ASSERT_TRUE(fp != nullptr);
149 while (!feof(fp)) {
151 char *s = fgets(testline, sizeof(testline), fp);
163 fclose(fp);
/art/tools/dmtracedump/
H A Dcreatetesttrace.cc306 void write2LE(FILE* fp, uint16_t val) { argument
307 putc(val & 0xff, fp);
308 putc(val >> 8, fp);
311 void write4LE(FILE* fp, uint32_t val) { argument
312 putc(val & 0xff, fp);
313 putc((val >> 8) & 0xff, fp);
314 putc((val >> 16) & 0xff, fp);
315 putc((val >> 24) & 0xff, fp);
318 void write8LE(FILE* fp, uint64_t val) { argument
319 putc(val & 0xff, fp);
398 FILE* fp = fopen(traceFileName, "w"); local
[all...]
H A Dtracedump.cc822 DataKeys* parseKeys(FILE* fp, int32_t verbose) { argument
832 if (fseek(fp, 0L, SEEK_END) != 0) {
837 pKeys->fileLen = ftell(fp);
843 rewind(fp);
852 if (fread(pKeys->fileData, 1, pKeys->fileLen, fp) != (size_t)pKeys->fileLen) {
871 /* Leave fp pointing to the beginning of the data section. */
872 fseek(fp, offset, SEEK_SET);
911 uint32_t read2LE(FILE* fp) { argument
912 uint32_t val = getc(fp);
913 val |= getc(fp) <<
916 read4LE(FILE* fp) argument
923 read8LE(FILE* fp) argument
940 parseDataHeader(FILE* fp, DataHeader* pHeader) argument
[all...]
/art/runtime/openjdkjvm/
H A DOpenjdkJvm.cc182 JNIEXPORT int jio_fprintf(FILE* fp, const char* fmt, ...) { argument
186 int len = jio_vfprintf(fp, fmt, args);
192 JNIEXPORT int jio_vfprintf(FILE* fp, const char* fmt, va_list args) { argument
193 assert(fp != NULL);
194 return vfprintf(fp, fmt, args);
/art/runtime/hprof/
H A Dhprof.cc371 FileEndianOutput(File* fp, size_t reserved_size) argument
372 : EndianOutputBuffered(reserved_size), fp_(fp), errors_(false) {
373 DCHECK(fp != nullptr);

Completed in 268 milliseconds