HomeSort by relevance Sort by last modified time
    Searched defs:fp (Results 226 - 250 of 757) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libselinux/src/
label_android_property.c 148 FILE *fp; local
163 if ((fp = fopen(path, "r")) == NULL)
166 if (fstat(fileno(fp), &sb) < 0)
183 while (fgets(line_buf, sizeof line_buf - 1, fp)
210 rewind(fp);
218 fclose(fp);
  /external/libvpx/libvpx/nestegg/test/
test.c 18 stdio_read(void * p, size_t length, void * fp)
22 r = fread(p, length, 1, fp);
23 if (r == 0 && feof(fp))
29 stdio_seek(int64_t offset, int whence, void * fp)
31 return fseek(fp, offset, whence);
35 stdio_tell(void * fp)
37 return ftell(fp);
77 FILE * fp; local
98 fp = fopen(argv[1], "rb");
99 if (!fp)
    [all...]
  /external/mesa3d/src/gallium/drivers/nvc0/
nvc0_program.h 48 } fp; member in struct:nvc0_program
  /external/mesa3d/src/glsl/
main.cpp 70 FILE *fp = fopen(file_name, "rb"); local
72 if (!fp) {
76 fseek(fp, 0L, SEEK_END);
77 size = ftell(fp);
78 fseek(fp, 0L, SEEK_SET);
84 1, size - total_read, fp);
101 fclose(fp);
  /external/mesa3d/src/mesa/main/
arbprogram.c 829 const struct gl_fragment_program *fp = ctx->FragmentProgram.Current; local
832 *params = fp->Base.NumNativeAluInstructions;
835 *params = fp->Base.NumAluInstructions;
838 *params = fp->Base.NumTexInstructions;
841 *params = fp->Base.NumNativeTexInstructions;
844 *params = fp->Base.NumTexIndirections;
847 *params = fp->Base.NumNativeTexIndirections;
  /external/mesa3d/src/mesa/state_tracker/
st_atom_pixeltransfer.c 146 struct gl_fragment_program *fp; local
150 fp = (struct gl_fragment_program *)
152 if (!fp)
170 fp->Base.InputsRead = BITFIELD64_BIT(FRAG_ATTRIB_TEX0);
171 fp->Base.OutputsWritten = BITFIELD64_BIT(FRAG_RESULT_COLOR);
172 fp->Base.SamplersUsed = 0x1; /* sampler 0 (bit 0) is used */
248 fp->Base.SamplersUsed |= (1 << 1); /* sampler 1 is used */
266 fp->Base.Instructions = _mesa_alloc_instructions(ic);
267 if (!fp->Base.Instructions) {
274 _mesa_copy_instructions(fp->Base.Instructions, inst, ic)
297 struct gl_fragment_program *fp; local
    [all...]
  /external/openssh/
auth-rsa.c 299 char *fp; local
329 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX);
331 key_type(key), fp);
332 xfree(fp);
auth2-pubkey.c 267 char *fp; local
322 fp = key_fingerprint(found, SSH_FP_MD5,
325 file, linenum, key_type(found), fp);
337 xfree(fp);
347 xfree(fp);
352 key_type(found), fp, file);
353 xfree(fp);
365 fp = key_fingerprint(found, SSH_FP_MD5, SSH_FP_HEX);
367 key_type(found), fp);
368 xfree(fp);
    [all...]
  /external/openssh/openbsd-compat/
port-linux.c 266 FILE *fp; local
272 if ((fp = fopen(oom_adj_path, "r+")) != NULL) {
273 if (fscanf(fp, "%d", &oom_adj_save) != 1)
277 rewind(fp);
278 if (fprintf(fp, "%d\n", value) <= 0)
285 fclose(fp);
296 FILE *fp; local
300 (fp = fopen(oom_adj_path, "w")) == NULL)
303 if (fprintf(fp, "%d\n", oom_adj_save) <= 0)
308 fclose(fp);
    [all...]
  /external/oprofile/daemon/
opd_anon.c 133 FILE * fp = NULL; local
139 fp = fopen(buf, "r");
140 if (!fp)
143 while (fgets(buf, PATH_MAX, fp) != NULL) {
160 fclose(fp);
  /external/pixman/pixman/
pixman-mips-dspr2-asm.h 65 #define fp $30 macro
  /external/qemu/distrib/sdl-1.2.15/include/
SDL_rwops.h 80 FILE *fp; member in struct:SDL_RWops::__anon27664::__anon27667
102 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFP(FILE *fp, int autoclose);
  /external/qemu/distrib/sdl-1.2.15/src/audio/esd/
SDL_esdaudio.c 252 FILE *fp; local
256 fp = fopen(temp, "r");
257 if ( fp != NULL ) {
258 if ( fgets(temp, sizeof(temp)-1, fp) ) {
266 fclose(fp);
  /external/skia/src/utils/
SkRTConf.cpp 13 SkFILE *fp = sk_fopen(configFileLocation(), kRead_SkFILE_Flag); local
15 if (!fp) {
21 while (!sk_feof(fp)) {
23 if (!sk_fgets(line, sizeof(line), fp)) {
53 sk_fclose(fp);
64 SkFILE *fp = sk_fopen(path, kRead_SkFILE_Flag); local
65 if (!fp) {
68 size_t configFileSize = sk_fgetsize(fp);
72 sk_fclose(fp);
  /external/zlib/src/contrib/iostream2/
zstream.h 55 izstream(FILE* fp) : m_fp(0) { open(fp); }
70 void open(FILE* fp) {
71 SET_BINARY_MODE(fp);
73 m_fp = ::gzdopen(fileno(fp), "rb");
101 gzFile fp() { return m_fp; } function in class:izstream
116 return ::gzread(zs.fp(), x, items*sizeof(T));
124 ::gzread(zs.fp(), &x, sizeof(T));
140 ::gzread(zs.fp(), x, len.value());
148 ::gzread(zs.fp(), x, len.value())
234 gzFile fp() { return m_fp; } function in class:ozstream
    [all...]
  /frameworks/base/core/jni/
android_net_TrafficStats.cpp 77 FILE *fp = fopen(QTAGUID_IFACE_STATS, "r"); local
78 if (fp == NULL) {
87 while (fgets(buffer, sizeof(buffer), fp) != NULL) {
114 if (fclose(fp) != 0) {
121 FILE *fp = fopen(QTAGUID_UID_STATS, "r"); local
122 if (fp == NULL) {
131 while (fgets(buffer, sizeof(buffer), fp) != NULL) {
144 if (fclose(fp) != 0) {
com_android_internal_net_NetworkStatsFactory.cpp 70 FILE *fp = fopen(path8.c_str(), "r"); local
71 if (fp == NULL) {
79 while (fgets(buffer, sizeof(buffer), fp) != NULL) {
96 if (fclose(fp) != 0) {
  /frameworks/base/media/tests/omxjpegdecoder/
omx_jpeg_decoder.cpp 67 FILE* fp = fopen(filename, "w+"); local
69 if (NULL == fp) {
74 int numChars = fwrite(data, sizeof(char), 1024, fp);
79 fclose(fp);
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicColorMatrix.cpp 142 float fp[16]; member in class:android::renderscript::RsdCpuScriptIntrinsicColorMatrix
198 if (fabs(fp[i]) != 0.f) {
670 ip[ct] = (short)(fp[ct] * 256.f + 0.5f);
671 tmpFp[ct] = fp[ct] * fpMul;
672 //ALOGE("mat %i %f %f", ct, fp[ct], tmpFp[ct]);
697 memcpy (fp, data, sizeof(fp));
  /hardware/broadcom/wlan/bcmdhd/dhdutil/
ucode_download.c 132 FILE *fp = NULL; local
145 if ((fp = fopen(fw_filename, "rb")) == NULL) {
153 tmp_len = fread(&main_trx_hdr, sizeof(uint8), maintrx_hdr_len, fp);
165 ucode_pos = fseek(fp, ucode_trx_offset, SEEK_SET);
177 maintrx_hdr_len, fp);
194 ucode_info_len, fp);
260 if (fp)
261 fclose(fp);
  /hardware/invensense/60xx/mlsdk/platform/linux/
mlsl_linux_mpu.c 98 FILE *fp; local
101 fp = fopen(MLCFG_FILE, "rb");
102 if (fp == NULL) {
106 bytesRead = fread(cfg, 1, len, fp);
112 fclose(fp);
124 FILE *fp; local
128 fp = fopen(MLCFG_FILE,"wb");
129 if (fp == NULL) {
138 bytesWritten = fwrite(cfgId, 1, 4, fp);
144 bytesWritten = fwrite(cfg, 1, len, fp);
158 FILE *fp; local
189 FILE *fp; local
    [all...]
  /hardware/invensense/65xx/libsensors_iio/
MPLSupport.cpp 239 FILE *fp; local
  /hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpeg_test.c 43 FILE *fp = fopen(filename, "w+"); \
44 if (fp) { \
45 rc = fwrite(p_addr, 1, len, fp); \
46 fclose(fp); \
143 FILE *fp = NULL; local
145 fp = fopen(p_obj->filename, "rb");
146 if (!fp) {
150 fseek(fp, 0, SEEK_END);
151 file_size = ftell(fp);
152 fseek(fp, 0, SEEK_SET)
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
localcharset.c 122 FILE *fp; local
148 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
165 c = getc (fp);
174 c = getc (fp);
180 ungetc (c, fp);
181 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
207 fclose (fp);
  /prebuilts/tools/darwin-x86/sdl/include/SDL/
SDL_rwops.h 80 FILE *fp; member in struct:SDL_RWops::__anon63343::__anon63346
102 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFP(FILE *fp, int autoclose);

Completed in 654 milliseconds

1 2 3 4 5 6 7 8 91011>>