HomeSort by relevance Sort by last modified time
    Searched refs:fp (Results 476 - 500 of 2124) sorted by null

<<11121314151617181920>>

  /external/qemu/scripts/
qapi.py 40 self.fp = schema.fp
53 return "%s:%s:%s: %s" % (self.fp.name, self.line, self.col, self.msg)
57 def __init__(self, fp):
58 self.fp = fp
59 self.src = fp.read()
161 def parse_schema(fp):
163 schema = QAPISchema(fp)
  /system/core/toolbox/upstream-netbsd/bin/kill/
kill.c 212 printsignals(FILE *fp)
219 if (isatty(fileno(fp))) {
221 if (ioctl(fileno(fp), TIOCGWINSZ, &win) == 0 && win.ws_col > 0)
230 fprintf(fp, "\n");
234 fprintf(fp, " ");
236 fprintf(fp, "%s", name);
239 fprintf(fp, "\n");
  /external/bison/lib/
timevar.c 441 /* Summarize timing variables to FP. The timing variable TV_TOTAL has
446 timevar_print (fp)
447 FILE *fp;
460 if (fp == 0)
461 fp = stderr;
475 fputs (_("\nExecution times (seconds)\n"), fp);
498 fprintf (fp, " %-22s:", tv->name);
502 fprintf (fp, "%7.2f (%2.0f%%) usr",
509 fprintf (fp, "%7.2f (%2.0f%%) sys",
516 fprintf (fp, "%7.2f (%2.0f%%) wall"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
urllib.py 186 fp = open(filename, 'rb')
187 return addinfourl(fp, headers, fullurl)
234 fp = self.open_local_file(url1)
235 hdrs = fp.info()
236 fp.close()
240 fp = self.open(url, data)
242 headers = fp.info()
268 block = fp.read(bs)
279 fp.close()
347 fp = h.getfile(
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
urllib.py 186 fp = open(filename, 'rb')
187 return addinfourl(fp, headers, fullurl)
234 fp = self.open_local_file(url1)
235 hdrs = fp.info()
236 fp.close()
240 fp = self.open(url, data)
242 headers = fp.info()
268 block = fp.read(bs)
279 fp.close()
347 fp = h.getfile(
    [all...]
  /frameworks/base/core/jni/
android_os_Debug.cpp 219 static void read_mapinfo(FILE *fp, stats_t* stats)
244 if(fgets(line, sizeof(line), fp) == 0) return;
343 if (fgets(line, 1024, fp) == 0) {
407 FILE *fp; local
410 fp = fopen(tmp, "r");
411 if (fp == 0) return;
413 read_mapinfo(fp, stats);
414 fclose(fp);
490 FILE *fp; local
498 fp = fopen(tmp, "r")
658 FILE* fp = fopen(BINDER_STATS, "r"); local
874 FILE* fp = fdopen(fd, "w"); local
    [all...]
  /external/iproute2/misc/
nstat.c 114 void load_good_table(FILE *fp)
120 while (fgets(buf, sizeof(buf), fp) != NULL) {
160 void load_ugly_table(FILE *fp)
166 while (fgets(buf, sizeof(buf), fp) != NULL) {
200 if (fgets(buf, sizeof(buf), fp) == NULL)
233 FILE *fp = fdopen(net_snmp_open(), "r"); local
234 if (fp) {
235 load_ugly_table(fp);
236 fclose(fp);
242 FILE *fp = fdopen(net_snmp6_open(), "r") local
251 FILE *fp = fdopen(net_netstat_open(), "r"); local
407 FILE *fp = fdopen(clnt, "w"); local
    [all...]
lnstat_util.c 46 while(!feof(lf->fp)) {
52 fgets(buf, sizeof(buf)-1, lf->fp);
94 rewind(lf->fp);
97 fgets(buf, sizeof(buf)-1, lf->fp);
110 rewind(lf->fp);
111 fgets(buf, sizeof(buf)-1, lf->fp);
144 rewind(lf->fp);
145 fgets(buf, sizeof(buf)-1, lf->fp);
194 lf->fp = fopen(lf->path, "r");
195 if (!lf->fp) {
    [all...]
lnstat.c 92 const struct field_params *fp)
96 for (i = 0; i < fp->num; i++) {
97 struct lnstat_field *lf = fp->params[i].lf;
101 fp->params[i].print.width);
230 static struct field_params fp; local
280 if (fp.num >= MAX_FIELDS) {
287 fp.params[fp.num++].name = tok;
304 fp.params[i].print.width = len;
309 fp.params[i].print.width = len
    [all...]
  /external/libsepol/src/
avtab.c 369 int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a,
385 rc = next_entry(buf32, fp, sizeof(uint32_t));
387 ERR(fp->handle, "truncated entry");
393 ERR(fp->handle, "invalid item count");
397 rc = next_entry(buf32, fp, sizeof(uint32_t) * items2);
399 ERR(fp->handle, "truncated entry");
407 ERR(fp->handle, "truncated source type");
413 ERR(fp->handle, "truncated target type");
419 ERR(fp->handle, "truncated target class");
427 ERR(fp->handle, "null entry")
    [all...]
  /external/tinyxml2/
tinyxml2.cpp 1517 FILE* fp = fopen( filename, "rb" ); local
1573 FILE* fp = fdopen(fd, "w"); local
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_store_file.cc 124 bool FileRewind(FILE* fp) {
125 int rv = fseek(fp, 0, SEEK_SET);
130 // Read from |fp| into |item|, and fold the input data into the
133 bool ReadItem(T* item, FILE* fp, base::MD5Context* context) {
134 const size_t ret = fread(item, sizeof(T), 1, fp);
146 // Write |item| to |fp|, and fold the output data into the checksum in
149 bool WriteItem(const T& item, FILE* fp, base::MD5Context* context) {
150 const size_t ret = fwrite(&item, sizeof(T), 1, fp);
163 // Read |count| items into |values| from |fp|, and fold them into the
166 bool ReadToContainer(CT* values, size_t count, FILE* fp,
    [all...]
  /external/icu/icu4c/source/common/
umutex.h 202 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (T::*fp)()) {
207 (obj->*fp)();
215 inline void umtx_initOnce(UInitOnce &uio, void (*fp)()) {
220 (*fp)();
227 inline void umtx_initOnce(UInitOnce &uio, void (*fp)(UErrorCode &), UErrorCode &errCode) {
233 (*fp)(errCode);
246 template<class T> void umtx_initOnce(UInitOnce &uio, void (*fp)(T), T context) {
251 (*fp)(context);
258 template<class T> void umtx_initOnce(UInitOnce &uio, void (*fp)(T, UErrorCode &), T context, UErrorCode &errCode) {
264 (*fp)(context, errCode)
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
inv_sysfs_utils.c 34 FILE *fp; local
39 fp = fopen(filename, "w");
40 if (!fp)
42 count = fprintf(fp, "%ld", data);
43 fclose(fp);
56 FILE *fp; local
61 fp = fopen(filename, "r");
62 if (!fp)
64 count = fread(data, 1, num_bytes, fp);
65 fclose(fp);
    [all...]
  /hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
inv_sysfs_utils.c 28 FILE *fp; local
33 fp = fopen(filename, "w");
34 if (!fp)
36 count = fprintf(fp, "%ld", data);
37 fclose(fp);
50 FILE *fp; local
55 fp = fopen(filename, "r");
56 if (!fp)
58 count = fread(data, 1, num_bytes, fp);
59 fclose(fp);
    [all...]
  /device/asus/flo/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...]
  /device/lge/hammerhead/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...]
  /external/chromium_org/third_party/openssl/openssl/crypto/ec/
eck_prn.c 71 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off)
81 BIO_set_fp(b, fp, BIO_NOCLOSE);
87 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off)
97 BIO_set_fp(b, fp, BIO_NOCLOSE);
103 int ECParameters_print_fp(FILE *fp, const EC_KEY *x)
113 BIO_set_fp(b, fp, BIO_NOCLOSE);
144 static int print_bin(BIO *fp, const char *str, const unsigned char *num,
356 static int print_bin(BIO *fp, const char *name, const unsigned char *buf,
369 if (BIO_write(fp, str, off) <= 0)
373 if (BIO_printf(fp,"%s", name) <= 0
    [all...]
  /external/libcxx/test/depr/depr.c.headers/
wchar_h.pass.cpp 37 ::FILE* fp = 0; local
45 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), "");
46 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), "");
49 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), "");
50 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), "");
57 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), "");
58 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), "");
59 static_assert((std::is_same<decltype(fputwc(L' ', fp)), wint_t>::value), "");
60 static_assert((std::is_same<decltype(fputws(L"", fp)), int>::value), "");
61 static_assert((std::is_same<decltype(fwide(fp, 0)), int>::value), "")
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
values.c 130 static void perf_read_values__display_pretty(FILE *fp,
160 fprintf(fp, "# %*s %*s", pidwidth, "PID", tidwidth, "TID");
162 fprintf(fp, " %*s", counterwidth[j], values->countername[j]);
163 fprintf(fp, "\n");
166 fprintf(fp, " %*d %*d", pidwidth, values->pid[i],
169 fprintf(fp, " %*" PRIu64,
171 fprintf(fp, "\n");
176 static void perf_read_values__display_raw(FILE *fp,
212 fprintf(fp, "# %*s %*s %*s %*s %*s\n",
218 fprintf(fp, " %*d %*d %*s %*" PRIx64 " %*" PRIu64
    [all...]
  /external/openssl/crypto/ec/
eck_prn.c 71 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off)
81 BIO_set_fp(b, fp, BIO_NOCLOSE);
87 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off)
97 BIO_set_fp(b, fp, BIO_NOCLOSE);
103 int ECParameters_print_fp(FILE *fp, const EC_KEY *x)
113 BIO_set_fp(b, fp, BIO_NOCLOSE);
144 static int print_bin(BIO *fp, const char *str, const unsigned char *num,
356 static int print_bin(BIO *fp, const char *name, const unsigned char *buf,
369 if (BIO_write(fp, str, off) <= 0)
373 if (BIO_printf(fp,"%s", name) <= 0
    [all...]
  /external/srec/seti/sltsEngine/src/
run_seq_lts.c 65 static int load_int(PORT_FILE *fp);
66 static SWIsltsResult load_lquestions(LQUESTION ***pquestions, int *pnum_questions, PORT_FILE *fp);
68 static SWIsltsResult load_letter_mapping(PORT_FILE *fp, LM **ppLetterMap);
70 static SWIsltsResult load_phone_mapping(PORT_FILE *fp, PM **ppPhoneMap);
72 static SWIsltsResult load_outputs(char ***poutputs, char ***pinputs, int *pnum, PORT_FILE *fp);
75 LQUESTION ***pquestions, int *num_questions, LM **plm, PORT_FILE *fp);
77 static SWIsltsResult load_allowable_cons_comb(LTS *lts, PORT_FILE *fp);
79 static SWIsltsResult load_question_strings(LTS* lts, PORT_FILE* fp);
170 static int load_int(PORT_FILE *fp)
174 PORT_FREAD_INT16((uint16 *)&v, sizeof(int), 1, fp);
839 PORT_FILE *fp; local
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
wchar_h.pass.cpp 37 ::FILE* fp = 0; local
45 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), "");
46 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), "");
49 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), "");
50 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), "");
57 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), "");
58 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), "");
59 static_assert((std::is_same<decltype(fputwc(L' ', fp)), wint_t>::value), "");
60 static_assert((std::is_same<decltype(fputws(L"", fp)), int>::value), "");
61 static_assert((std::is_same<decltype(fwide(fp, 0)), int>::value), "")
    [all...]
  /external/iproute2/ip/
iproute.c 282 FILE *fp = (FILE*)arg; local
331 fprintf(fp, "Deleted ");
333 fprintf(fp, "%s ", rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1)));
337 fprintf(fp, "%s/%u ", rt_addr_n2a(r->rtm_family,
344 fprintf(fp, "%s ", format_host(r->rtm_family,
351 fprintf(fp, "0/%d ", r->rtm_dst_len);
353 fprintf(fp, "default ");
357 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family,
364 fprintf(fp, "from %s ", format_host(r->rtm_family,
371 fprintf(fp, "from 0/%u ", r->rtm_src_len)
    [all...]
  /external/libpng/
example.c 245 int check_if_png(char *file_name, FILE **fp)
250 if ((*fp = fopen(file_name, "rb")) == NULL)
254 if (fread(buf, 1, PNG_BYTES_TO_CHECK, *fp) != PNG_BYTES_TO_CHECK)
277 FILE *fp;
279 if ((fp = fopen(file_name, "rb")) == NULL)
283 void read_png(FILE *fp, unsigned int sig_read) /* File is already open */
302 fclose(fp);
310 fclose(fp);
324 fclose(fp);
332 png_init_io(png_ptr, fp);
    [all...]

Completed in 1487 milliseconds

<<11121314151617181920>>