/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 53 void (*fp)(int) = f_void_1; 54 std::function<void (int)> r1(fp); 71 void (A_void_1::*fp)() = &A_void_1::mem1; 72 std::function<void (A_void_1)> r1(fp); 78 std::function<void (A_void_1*)> r2 = fp; 85 void (A_void_1::*fp)() const = &A_void_1::mem2; 86 std::function<void (A_void_1)> r1(fp); 91 std::function<void (A_void_1*)> r2(fp); 130 int (*fp)(int) = f_int_1; 131 std::function<int (int)> r1(fp); 164 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.pass.cpp | 56 void (*fp)(int) = f_void_1; 57 std::reference_wrapper<void (*)(int)> r1(fp); 74 void (A_void_1::*fp)() = &A_void_1::mem1; 75 std::reference_wrapper<void (A_void_1::*)()> r1(fp); 87 void (A_void_1::*fp)() const = &A_void_1::mem2; 88 std::reference_wrapper<void (A_void_1::*)() const> r1(fp); 131 int (*fp)(int) = f_int_1; 132 std::reference_wrapper<int (*)(int)> r1(fp); 145 int (A_int_1::*fp)() = &A_int_1::mem1; 146 std::reference_wrapper<int (A_int_1::*)()> r1(fp); 163 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-filepath_test.cc | 596 FilePath fp; local 597 EXPECT_EQ("", fp.string()); 601 const FilePath fp("spicy"); 602 EXPECT_EQ("spicy", fp.string()); 604 const FilePath fp_copy(fp); 609 const FilePath fp(std::string("cider")); 610 EXPECT_EQ("cider", fp.string());
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
perftest.h | 76 FILE *fp = 0;
local 78 fp = fopen(filename_ = paths[i], "rb");
79 if (fp)
82 ASSERT_TRUE(fp != 0);
84 fseek(fp, 0, SEEK_END);
85 length_ = (size_t)ftell(fp);
86 fseek(fp, 0, SEEK_SET);
88 ASSERT_EQ(length_, fread(json_, 1, length_, fp));
90 fclose(fp);
|
rapidjsontest.cpp | 339 FILE *fp = fopen(filename_, "rb");
local 341 FileReadStream s(fp, buffer, sizeof(buffer));
344 fclose(fp);
350 FILE *fp = fopen(filename_, "rb");
local 352 FileReadStream s(fp, buffer, sizeof(buffer));
356 fclose(fp);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
prettywritertest.cpp | 141 FILE* fp = TempFile(filename); local 143 FileWriteStream os(fp, buffer, sizeof(buffer)); 148 fclose(fp); 150 fp = fopen(filename, "rb"); 151 fseek(fp, 0, SEEK_END); 152 size_t size = (size_t)ftell(fp); 153 fseek(fp, 0, SEEK_SET); 155 size_t readLength = fread(json, 1, size, fp); 157 fclose(fp);
|
/system/core/libcutils/ |
android_reboot.c | 73 FILE* fp; local 76 if ((fp = setmntent("/proc/mounts", "r")) == NULL) { 80 while ((mentry = getmntent(fp)) != NULL) { 92 endmntent(fp); 135 FILE* fp; local 167 if ((fp = setmntent("/proc/mounts", "r")) == NULL) { 172 while ((mentry = getmntent(fp)) != NULL) { 184 endmntent(fp);
|
/system/core/libpackagelistparser/ |
packagelistparser.c | 94 FILE *fp; local 108 fp = fopen(PACKAGES_LIST_FILE, "re"); 109 if (!fp) { 115 while ((bytesread = getline(&buf, &buflen, fp)) > 0) { 244 fclose(fp);
|
/system/extras/simpleperf/ |
read_apk.cpp | 147 FILE* fp = fopen(apk_path.c_str(), mode.c_str()); local 148 if (fp == nullptr) { 152 if (fread(buf, 4, 1, fp) != 1) { 153 fclose(fp); 156 fclose(fp);
|
/art/compiler/utils/ |
assembler_thumb_test.cc | 144 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); [all...] |
/bionic/libc/bionic/ |
pthread_attr.cpp | 118 FILE* fp = fopen("/proc/self/stat", "re"); local 119 if (fp == nullptr) { 124 if (fgets(line, sizeof(line), fp) == nullptr) { 128 fclose(fp); 164 FILE* fp = fopen("/proc/self/maps", "re"); local 165 if (fp == nullptr) { 169 while (fgets(line, sizeof(line), fp) != NULL) { 175 fclose(fp);
|
/bionic/tests/ |
wchar_test.cpp | 571 FILE* fp = open_wmemstream(&p, &size); local 572 ASSERT_NE(EOF, fputws(L"hello, world!", fp)); 573 fclose(fp);
|
/external/aac/libSYS/include/ |
wav_file.h | 158 FDKFILE *fp; member in struct:WAV
|
/external/bison/lib/ |
localcharset.c | 172 FILE *fp; local 174 fp = fdopen (fd, "r"); 175 if (fp == NULL) 195 c = getc (fp); 204 c = getc (fp); 210 ungetc (c, fp); 211 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 236 fclose (fp);
|
/external/blktrace/btt/ |
devs.c | 117 FILE *fp = my_fopen(str, "w"); local 119 if (fp == NULL) 122 return fp;
|
/external/boringssl/src/crypto/bio/ |
file.c | 216 FILE *fp = (FILE *)b->ptr; local 224 ret = (long)fseek(fp, num, 0); 227 ret = (long)feof(fp); 231 ret = ftell(fp); 259 fp = open_file(ptr, p); 260 if (fp == NULL) { 267 b->ptr = fp;
|
/external/c-ares/ |
ares_gethostbyaddr.c | 184 FILE *fp; local 225 fp = fopen(PATH_HOSTS, "r"); 226 if (!fp) 243 while ((status = ares__get_hostent(fp, addr->family, host)) == ARES_SUCCESS) 264 fclose(fp);
|
ares_search.c | 237 FILE *fp; local 259 fp = fopen(hostaliases, "r"); 260 if (fp) 262 while ((status = ares__read_line(fp, &line, &linesize)) 283 fclose(fp); 288 fclose(fp);
|
/external/clang/test/Sema/ |
nullability.c | 56 float *fp; local 57 fp = (function_pointer_type_3)0; // expected-warning{{from 'function_pointer_type_3' (aka 'int * _Nonnull (*)(int, int)')}} 58 fp = (block_type_3)0; // expected-error{{from incompatible type 'block_type_3' (aka 'int * _Nonnull (^)(int, int)')}} 59 fp = (function_pointer_type_4)0; // expected-warning{{from 'function_pointer_type_4' (aka 'int * _Nonnull (*)(int, int)')}} 60 fp = (function_pointer_type_5)0; // expected-warning{{from 'function_pointer_type_5' (aka 'void (*)(int * _Nonnull)')}} 61 fp = (block_type_4)0; // expected-error{{from incompatible type 'block_type_4' (aka 'int_ptr _Nonnull (^)(int, int)')}}
|
transparent-union.c | 4 float *fp; member in union:__anon8782 11 void g(int *ip, float *fp, char *cp) { 13 f(fp);
|
/external/clang/test/SemaCXX/ |
const-cast.cpp | 38 f fp = 0; local 40 f *fpp = const_cast<f*>(&fp);
|
/external/curl/lib/ |
formdata.h | 46 FILE *fp; /* file to read from */ member in struct:Form
|
/external/deqp/framework/common/ |
tcuImageIO.cpp | 157 FILE* fp = fopen(fileName, "wb"); local 158 TCU_CHECK(fp); 164 fclose(fp); 178 fclose(fp); 185 png_init_io(pngPtr, fp); 201 fclose(fp);
|
/external/dhcpcd-6.8.2/ |
auth.c | 390 FILE *fp; local 396 fp = fopen(RDM_MONOFILE, "r+"); 397 if (fp == NULL) { 400 fp = fopen(RDM_MONOFILE, "w"); 401 if (fp == NULL) 404 flocked = flock(fileno(fp), LOCK_EX); 409 flocked = flock(fileno(fp), LOCK_EX); 411 if (fscanf(fp, "0x%016" PRIu64, &rdm) != 1) 416 if (fseek(fp, 0, SEEK_SET) == -1 || 417 ftruncate(fileno(fp), 0) == -1 | [all...] |
common.c | 198 char *fp = fmt_cpy, *serr = NULL; local 205 *fp++ = '%'; 206 *fp++ = '%'; 212 fmt_wrote = strlcpy(fp, serr, fmt_left); 215 fp += fmt_wrote; 219 *fp++ = *p; 225 *fp++ = '\0';
|