/external/ltp/testcases/misc/math/float/bessel/ |
genj0.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 75 int fp; local 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 86 if (!fp) { 88 close(fp); [all...] |
genj1.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 75 int fp; local 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 86 if (!fp) { 88 close(fp); [all...] |
geny0.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 75 int fp; local 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 86 if (!fp) { 88 close(fp); [all...] |
geny1.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 75 int fp; local 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 86 if (!fp) { 88 close(fp); [all...] |
/external/ltp/testcases/misc/math/float/exp_log/ |
genexp.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 74 int fp; local 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 85 if (!fp) { 87 close(fp); [all...] |
genlog.c | 43 int fp; local 53 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 54 if (!fp) { 56 close(fp); 60 write(fp, &tabR[i], sizeof(double)); 63 close(fp); 73 int fp; local 83 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 84 if (!fp) { 86 close(fp); [all...] |
genlog10.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 74 int fp; local 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 85 if (!fp) { 87 close(fp); [all...] |
/external/ltp/testcases/misc/math/float/iperb/ |
gencosh.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 74 int fp; local 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 85 if (!fp) { 87 close(fp); [all...] |
gensinh.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 74 int fp; local 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 85 if (!fp) { 87 close(fp); [all...] |
gentanh.c | 44 int fp; local 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 55 if (!fp) { 57 close(fp); 61 write(fp, &tabR[i], sizeof(double)); 64 close(fp); 74 int fp; local 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 85 if (!fp) { 87 close(fp); [all...] |
/external/ltp/testcases/misc/math/float/power/ |
genceil.c | 43 int fp; local 53 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 54 if (!fp) { 56 close(fp); 60 write(fp, &tabR[i], sizeof(double)); 63 close(fp); 73 int fp; local 83 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 84 if (!fp) { 86 close(fp); [all...] |
genfloor.c | 43 int fp; local 53 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 54 if (!fp) { 56 close(fp); 60 write(fp, &tabR[i], sizeof(double)); 63 close(fp); 73 int fp; local 83 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 84 if (!fp) { 86 close(fp); [all...] |
gensqrt.c | 43 int fp; local 53 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 54 if (!fp) { 56 close(fp); 60 write(fp, &tabR[i], sizeof(double)); 63 close(fp); 79 int fp; local 90 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 91 if (!fp) { 93 close(fp); [all...] |
/external/ltp/testcases/network/nfs/nfslock01/ |
nfs_flock_dgen.c | 13 FILE *fp; local 21 fp = fopen(argv[1], "w"); 44 fprintf(fp, "%s\n", buf); 55 fclose(fp);
|
/external/ltp/tools/pounder21/src/randacoords/ |
coords.c | 30 int fp; local 33 fp = open("/dev/urandom", O_RDONLY); 34 if (fp < 0) { 39 if (read(fp, &seed, sizeof(seed)) != sizeof(seed)) { 44 close(fp);
|
/external/ppp/pppd/plugins/radius/ |
radattr.c | 69 FILE *fp; local 76 fp = fopen(fname, "w"); 77 if (!fp) { 86 fprintf(fp, "%s %s\n", name, value); 89 fclose(fp);
|
/external/selinux/libselinux/src/ |
get_default_type.c | 8 static int find_default_type(FILE * fp, const char *role, char **type); 12 FILE *fp = NULL; local 14 fp = fopen(selinux_default_type_path(), "re"); 15 if (!fp) 18 if (find_default_type(fp, role, type) < 0) { 19 fclose(fp); 23 fclose(fp); 27 static int find_default_type(FILE * fp, const char *role, char **type) 36 while (!feof_unlocked(fp)) { 37 if (!fgets_unlocked(buf, sizeof buf, fp)) { [all...] |
selinux_check_securetty_context.c | 16 FILE *fp; local 17 fp = fopen(selinux_securetty_types_path(), "re"); 18 if (fp) { 22 while ((len = getline(&line, &line_len, fp)) != -1) { 47 fclose(fp);
|
/external/strace/tests/ |
attach-p-cmd-p.c | 61 FILE *fp = fopen(pidfile, "r"); local 62 if (!fp) 66 if (fscanf(fp, "%d", &pid) < 0) 71 if (fclose(fp))
|
/external/strace/tests-m32/ |
attach-p-cmd-p.c | 61 FILE *fp = fopen(pidfile, "r"); local 62 if (!fp) 66 if (fscanf(fp, "%d", &pid) < 0) 71 if (fclose(fp))
|
/external/strace/tests-mx32/ |
attach-p-cmd-p.c | 61 FILE *fp = fopen(pidfile, "r"); local 62 if (!fp) 66 if (fscanf(fp, "%d", &pid) < 0) 71 if (fclose(fp))
|
/external/syslinux/dos/ |
malloc.c | 27 struct free_arena_header *fp; local 29 fp = (struct free_arena_header *)__mem_end; 30 fp->a.type = ARENA_TYPE_FREE; 31 fp->a.size = __heap_end - (char *)__mem_end; 34 fp->a.next = fp->a.prev = &__malloc_head; 35 fp->next_free = fp->prev_free = &__malloc_head; 36 __malloc_head.a.next = __malloc_head.a.prev = fp; 37 __malloc_head.next_free = __malloc_head.prev_free = fp; 83 struct free_arena_header *fp; local [all...] |
/external/tensorflow/tensorflow/core/lib/strings/ |
numbers_test.cc | 31 uint64 fp = (1ull << s) + delta; local 32 string s = FpToString(fp); 35 EXPECT_EQ(fp, fp2); 47 uint64 fp = (1ull << s) + delta; local 49 StringPiece s = Uint64ToHexString(fp, buf); 52 EXPECT_EQ(fp, fp2) << s;
|
/hardware/akm/AK8975_FS/akmdfs/ |
AKFS_FileIO.c | 47 FILE *fp = NULL; local 50 if ((fp = fopen(path, "r")) == NULL) { 58 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.x) != 2) { 65 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.y) != 2) { 72 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.z) != 2) { 80 if (fclose(fp) != 0) { 106 FILE *fp; local 109 if ((fp = fopen(path, "w")) == NULL) { 115 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.x", prms->mfv_ho.u.x) < 0) { ret = 0; } 116 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.y", prms->mfv_ho.u.y) < 0) { ret = 0; [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
jsoncheckertest.cpp | 30 FILE *fp = 0;
local 33 fp = fopen(buffer, "rb");
34 if (fp)
38 if (!fp)
41 fseek(fp, 0, SEEK_END);
42 length = (size_t)ftell(fp);
43 fseek(fp, 0, SEEK_SET);
45 size_t readLength = fread(json, 1, length, fp);
47 fclose(fp);
|