HomeSort by relevance Sort by last modified time
    Searched defs:fp (Results 151 - 175 of 1027) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/iproute2/ip/
ipnetconf.c 46 FILE *fp = (FILE*)arg; local
73 fprintf(fp, "ipv4 ");
76 fprintf(fp, "ipv6 ");
79 fprintf(fp, "unknown ");
88 fprintf(fp, "all ");
91 fprintf(fp, "default ");
94 fprintf(fp, "dev %s ", ll_index_to_name(*ifindex));
100 fprintf(fp, "forwarding %s ",
106 fprintf(fp, "rp_filter off ");
108 fprintf(fp, "rp_filter strict ")
    [all...]
rtmon.c 31 static void write_stamp(FILE *fp)
45 fwrite((void*)n1, 1, NLMSG_ALIGN(n1->nlmsg_len), fp);
51 FILE *fp = (FILE*)arg; local
53 write_stamp(fp);
54 fwrite((void*)n, 1, NLMSG_ALIGN(n->nlmsg_len), fp);
55 fflush(fp);
75 FILE *fp; local
156 fp = fopen(file, "w");
157 if (fp == NULL) {
170 write_stamp(fp);
    [all...]
  /external/iproute2/lib/
names.c 22 static int read_id_name(FILE *fp, int *id, char *name)
27 while (fgets(buf, sizeof(buf), fp)) {
73 FILE *fp; local
78 fp = fopen(path, "r");
79 if (!fp)
82 while ((ret = read_id_name(fp, &id, &namebuf[0]))) {
110 fclose(fp);
  /external/ipsec-tools/src/racoon/
logger.c 126 FILE *fp; local
130 fp = fopen(p->fname, "a");
131 if (fp == NULL)
133 fprintf(fp, "%s", str);
134 fclose(fp);
144 FILE *fp; local
148 fp = fopen(p->fname, "a");
149 if (fp == NULL)
152 vfprintf(fp, fmt, ap);
155 fclose(fp);
163 FILE *fp; local
183 FILE *fp; local
    [all...]
plainrsa-gen.c 119 gen_rsa_key(FILE *fp, size_t bits, unsigned long exp)
136 fprintf(fp, "# : PUB 0s%s\n", pubkey64->v);
137 fprintf(fp, ": RSA\t{\n");
138 fprintf(fp, "\t# RSA %zu bits\n", bits);
139 fprintf(fp, "\t# pubkey=0s%s\n", pubkey64->v);
140 fprintf(fp, "\tModulus: 0x%s\n", lowercase(BN_bn2hex(key->n)));
141 fprintf(fp, "\tPublicExponent: 0x%s\n", lowercase(BN_bn2hex(key->e)));
142 fprintf(fp, "\tPrivateExponent: 0x%s\n", lowercase(BN_bn2hex(key->d)));
143 fprintf(fp, "\tPrime1: 0x%s\n", lowercase(BN_bn2hex(key->p)));
144 fprintf(fp, "\tPrime2: 0x%s\n", lowercase(BN_bn2hex(key->q)))
158 FILE *fp = stdout; local
    [all...]
  /external/libdivsufsort/examples/
bwt.c 60 write_int(FILE *fp, saidx_t n) {
64 return fwrite(c, sizeof(unsigned char), 4, fp);
80 FILE *fp, *ofp; local
108 if(fopen_s(&fp, fname = argv[i], "rb") != 0) {
110 if((fp = LFS_FOPEN(fname = argv[i], "rb")) == NULL) {
124 fp = stdin;
155 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) {
156 n = LFS_FTELL(fp);
157 rewind(fp);
184 for(n = 0; 0 < (m = fread(T, sizeof(sauchar_t), blocksize, fp)); n += m)
    [all...]
unbwt.c 60 read_int(FILE *fp, saidx_t *n) {
62 size_t m = fread(c, sizeof(unsigned char), 4, fp);
82 FILE *fp, *ofp; local
101 if(fopen_s(&fp, fname = argv[1], "rb") != 0) {
103 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) {
117 fp = stdin;
147 if(read_int(fp, &blocksize) != 4) {
163 for(n = 0; (m = read_int(fp, &pidx)) != 0; n += m) {
165 if((m != 4) || ((m = fread(T, sizeof(sauchar_t), blocksize, fp)) == 0)) {
168 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in"
    [all...]
  /external/libpng/contrib/examples/
iccfrompng.c 37 extract(FILE *fp, png_uint_32 *proflen)
58 png_init_io(png_ptr, fp);
94 FILE *fp = fopen(filename, "rb"); local
96 if (fp != NULL)
99 png_bytep profile = extract(fp, &proflen);
  /external/libvncserver/common/
vncauth.c 75 FILE *fp; local
79 if ((fp = fopen(fname,"w")) == NULL) return 1;
83 fchmod(fileno(fp), S_IRUSR|S_IWUSR);
103 putc(encryptedPasswd[i], fp);
106 fclose(fp);
120 FILE *fp; local
124 if ((fp = fopen(fname,"r")) == NULL) {
130 ch = getc(fp);
132 fclose(fp);
139 fclose(fp);
    [all...]
  /external/libxml2/doc/examples/
testWriter.c 343 FILE *fp; local
603 fp = fopen(file, "w");
604 if (fp == NULL) {
609 fprintf(fp, "%s", (const char *) buf->content);
611 fclose(fp);
    [all...]
  /external/mesa3d/src/gallium/drivers/nvc0/
nvc0_shader_state.c 108 struct nvc0_program *fp = nvc0->fragprog; local
110 if (!nvc0_program_validate(nvc0, fp))
112 nvc0_program_update_context_state(nvc0, fp, 4);
114 if (fp->fp.early_z != nvc0->state.early_z_forced) {
115 nvc0->state.early_z_forced = fp->fp.early_z;
116 IMMED_NVC0(push, NVC0_3D(FORCE_EARLY_FRAGMENT_TESTS), fp->fp.early_z);
121 PUSH_DATA (push, fp->code_base)
    [all...]
  /external/selinux/policycoreutils/semodule_expand/
semodule_expand.c 45 FILE *fp, *outfile; local
123 fp = fopen(basename, "r");
124 if (!fp) {
129 sepol_policy_file_set_fp(pf, fp);
136 fclose(fp);
  /external/selinux/policycoreutils/semodule_link/
semodule_link.c 38 FILE *fp = NULL; local
50 fp = fopen(filename, "r");
51 if (!fp) {
56 sepol_policy_file_set_fp(pf, fp);
66 fclose(fp);
72 if (fp)
73 fclose(fp);
  /external/skia/src/gpu/gl/
GrGLProgramDesc.cpp 85 const GrFragmentProcessor& fp,
88 for (int i = 0; i < fp.numChildProcessors(); ++i) {
89 if (!gen_frag_proc_and_meta_keys(primProc, fp.childProcessor(i), glslCaps, b)) {
94 fp.getGLSLProcessorKey(glslCaps, b);
96 return gen_meta_key(fp, glslCaps, primProc.getTransformKey(fp.coordTransforms(),
97 fp.numTransformsExclChildren()), b);
125 const GrFragmentProcessor& fp = pipeline.getFragmentProcessor(i); local
126 if (!gen_frag_proc_and_meta_keys(primProc, fp, glslCaps, &b)) {
  /external/skia/src/gpu/vk/
GrVkProgramDesc.cpp 72 const GrFragmentProcessor& fp,
75 for (int i = 0; i < fp.numChildProcessors(); ++i) {
76 if (!gen_frag_proc_and_meta_keys(primProc, fp.childProcessor(i), glslCaps, b)) {
81 fp.getGLSLProcessorKey(glslCaps, b);
83 return gen_meta_key(fp, glslCaps, primProc.getTransformKey(fp.coordTransforms(),
84 fp.numTransformsExclChildren()), b);
112 const GrFragmentProcessor& fp = pipeline.getFragmentProcessor(i); local
113 if (!gen_frag_proc_and_meta_keys(primProc, fp, glslCaps, &b)) {
  /external/tlsdate/src/common/
fmemopen.c 165 FILE *fp; local
178 fp = __sfp();
179 if (fp == NULL)
193 fp->_close = &fmemopen_close1;
198 fp->_close = &fmemopen_close0;
211 // fp->pub._flags = flags;
212 fp->_write = (flags & __SRD) ? NULL : &fmemopen_write;
213 fp->_read = (flags & __SWR) ? NULL : &fmemopen_read;
214 fp->_seek = &fmemopen_seek;
215 fp->_cookie = (void *)cookie
    [all...]
  /external/toybox/toys/other/
sysctl.c 124 FILE *fp = xfopen(*toys.optargs ? *toys.optargs : "/etc/sysctl.conf", "r"); local
130 if (-1 == (len = getline(&line, &len, fp))) break;
148 fclose(fp);
  /external/toybox/toys/pending/
more.c 77 FILE *fp, *cin; local
97 fp = stdin;
98 if (*toys.optargs && !(fp = fopen(*toys.optargs, "r"))) {
103 fstat(fileno(fp), &st);
112 while ((ch = getc(fp)) != EOF) {
116 (int) (100 * ( (double) ftell(fp) / (double) st.st_size)),
135 fclose(fp);
  /external/vboot_reference/tests/
vb21_host_fw_preamble_tests.c 32 struct vb2_fw_preamble *fp; local
77 TEST_SUCC(vb2_fw_preamble_create(&fp, prik4096,
82 TEST_PTR_NEQ(fp, NULL, " fp_ptr");
83 TEST_SUCC(vb2_verify_fw_preamble(fp, fp->c.total_size, pubk4096, &wb),
85 TEST_EQ(strcmp(vb2_common_desc(fp), test_desc), 0, " desc");
86 TEST_EQ(fp->fw_version, test_version, " fw_version");
87 TEST_EQ(fp->flags, test_flags, " flags");
88 TEST_EQ(fp->hash_count, 3, " hash_count");
90 hash_next = fp->hash_offset
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicColorMatrix.java 82 FieldPacker fp = new FieldPacker(16*4); local
83 fp.addMatrix(mMatrix);
84 setVar(0, fp);
121 FieldPacker fp = new FieldPacker(4*4); local
122 fp.addF32(f.x);
123 fp.addF32(f.y);
124 fp.addF32(f.z);
125 fp.addF32(f.w);
126 setVar(1, fp);
144 FieldPacker fp = new FieldPacker(4*4) local
    [all...]
  /hardware/bsp/intel/peripheral/libmraa/examples/c++/
Iio-dummy.cpp 91 FILE *fp = fopen("/sys/bus/iio/devices/iio_evgen/poke_ev0", "w"); local
92 if (fp == NULL)
94 fprintf(fp, "1\n");
95 fclose(fp);
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
viddec_fw_debug.h 70 uint32_t ret1, fp, sp, wim, psr; local
72 read_fp(fp);
77 //DEBUG_WRITE(sp, wim, fp, ret1, (*crash), 0xFED);
78 DEBUG_WRITE(sp, wim, fp, ret1, psr, 0xFFFFFFFF);
  /hardware/intel/common/libva/test/decode/
loadjpeg.c 49 static int filesize(FILE *fp)
52 fseek(fp, 0, SEEK_END);
53 pos = ftell(fp);
54 fseek(fp, 0, SEEK_SET);
63 FILE *fp; local
70 fp = fopen(infilename, "rb");
71 if (fp == NULL)
73 length_of_file = filesize(fp);
77 fread(buf, length_of_file, 1, fp);
78 fclose(fp);
    [all...]
  /hardware/intel/common/utils/media_resource_manager/arbitrator/
MediaResourceArbitrator.cpp 45 FILE *fp = NULL; local
47 fp = ::fopen(configFilePath, "r");
48 if (fp == NULL) {
55 ParseXMLFile(fp);
170 void MediaResourceArbitrator::ParseXMLFile(FILE* fp) {
191 int len = (int)::fread(pBuf, 1, mBufSize, fp);
193 if (ferror(fp)) {
194 clearerr(fp);
210 if (fp)
211 ::fclose(fp);
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
ml_load_dmp.c 289 FILE *fp; local
294 if ((fp = fopen(dmp_path, "rb")) < 0) {
297 i = fread(dmp_img, 1, dmpSize, fp);
299 fclose(fp);
300 fp = fopen(out_file, "wt");
301 if(fp == NULL) {
305 fprintf(fp, "char rec[]={\n");
307 fprintf(fp, "0x%02x, ", dmp_img[i]);
309 fprintf(fp, "\n");
312 fprintf(fp, "};\n ")
    [all...]

Completed in 1330 milliseconds

1 2 3 4 5 67 8 91011>>