Searched defs:fp (Results 276 - 300 of 464) sorted by relevance

<<111213141516171819

/external/libppp/src/
H A Dipv6cp.c464 ipv6cp_LayerUp(struct fsm *fp) argument
467 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp);
470 log_Printf(LogIPV6CP, "%s: LayerUp.\n", fp->link->name);
479 radius_Account_Set_Ipv6(&fp->bundle->radacct6, ipv6cp->his_ifid);
480 radius_Account(&fp->bundle->radius, &fp->bundle->radacct6,
481 fp->bundle->links, RAD_START, &ipv6cp->throughput);
488 if (!Enabled(fp->bundle, OPT_IPCP)) {
489 if (fp->bundle->radius.cfg.file && fp
520 ipv6cp_LayerDown(struct fsm *fp) argument
572 ipv6cp_LayerStart(struct fsm *fp) argument
585 ipv6cp_LayerFinish(struct fsm *fp) argument
596 ipv6cp_InitRestartCounter(struct fsm *fp, int what) argument
616 ipv6cp_SendConfigReq(struct fsm *fp) argument
642 ipv6cp_SendTerminateAck(struct fsm *fp, u_char id) argument
682 ipv6cp_DecodeConfig(struct fsm *fp, u_char *cp, u_char *end, int mode_type, struct fsm_decode *dec) argument
[all...]
H A Dlcp.c359 LcpInitRestartCounter(struct fsm *fp, int what) argument
362 struct lcp *lcp = fsm2lcp(fp);
364 fp->FsmTimer.load = lcp->cfg.fsm.timeout * SECTICKS;
367 fp->restart = lcp->cfg.fsm.maxreq;
370 fp->restart = lcp->cfg.fsm.maxtrm;
373 fp->restart = 1;
379 LcpSendConfigReq(struct fsm *fp) argument
382 struct physical *p = link2physical(fp->link);
383 struct lcp *lcp = fsm2lcp(fp);
392 fp
541 LcpSendTerminateAck(struct fsm *fp, u_char id) argument
553 LcpLayerStart(struct fsm *fp) argument
565 LcpLayerFinish(struct fsm *fp) argument
572 LcpLayerUp(struct fsm *fp) argument
590 LcpLayerDown(struct fsm *fp) argument
659 LcpDecodeConfig(struct fsm *fp, u_char *cp, u_char *end, int mode_type, struct fsm_decode *dec) argument
[all...]
H A Dmppe.c430 MPPEUsable(struct fsm *fp) argument
434 struct radius *r = &fp->bundle->radius;
447 struct lcp *lcp = &fp->link->lcp;
458 MPPERequired(struct fsm *fp) argument
465 if (*fp->bundle->radius.cfg.file && fp->bundle->radius.mppe.policy)
466 return fp->bundle->radius.mppe.policy == MPPE_POLICY_REQUIRED ? 1 : 0;
469 return fp->link->ccp.cfg.mppe.required;
/external/libsepol/src/
H A Dmodule.c39 static int policy_file_seek(struct policy_file *fp, size_t offset) argument
41 switch (fp->type) {
47 return fseek(fp->fp, (long)offset, SEEK_SET);
49 if (offset > fp->size) {
53 fp->data -= fp->size - fp->len;
54 fp->data += offset;
55 fp
62 policy_file_length(struct policy_file *fp) argument
[all...]
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c837 FILE *fp; local
859 fp = fopen(f, "rb");
861 if (!fp)
867 if (fseek(fp, 0, SEEK_END))
873 file_size = ftell(fp);
882 rewind(fp);
884 if (fread(file_buf, sizeof(char), file_size, fp) != file_size)
890 if (fclose(fp))
/external/linux-tools-perf/util/
H A Devent.c61 FILE *fp; local
69 fp = fopen(filename, "r");
70 if (fp == NULL) {
82 if (fgets(bf, sizeof(bf), fp) == NULL) {
139 fclose(fp);
150 FILE *fp; local
154 fp = fopen(filename, "r");
155 if (fp == NULL) {
173 if (fgets(bf, sizeof(bf), fp) == NULL)
220 fclose(fp);
[all...]
H A Dsort.c337 const char *list_name, FILE *fp)
340 if (fp != NULL)
341 fprintf(fp, "# %s: %s\n", list_name,
336 sort_entry__setup_elide(struct sort_entry *self, struct strlist *list, const char *list_name, FILE *fp) argument
/external/linux-tools-perf/util/scripting-engines/
H A Dtrace-event-python.c368 FILE *fp; local
381 fp = fopen(script, "r");
382 if (!fp) {
389 err = PyRun_SimpleFile(fp, script);
/external/mdnsresponder/mDNSPosix/
H A DResponder.c472 static mDNSBool ReadALine(char *buf, size_t bufSize, FILE *fp, mDNSBool skipBlankLines) argument
480 if (fgets(buf, bufSize, fp) == NULL)
505 FILE * fp = fopen(filePath, "r"); local
507 if (fp == NULL) {
527 if (! ReadALine(name, sizeof(nameBuf), fp, mDNStrue))
543 if (! ReadALine(type, sizeof(type), fp, mDNSfalse))
562 if (! ReadALine(port, sizeof(port), fp, mDNSfalse))
575 if (!ReadALine(rawText, sizeof(rawText), fp, mDNSfalse)) break;
599 } while (!feof(fp));
601 if (!feof(fp)) {
676 FILE *fp; local
[all...]
H A DmDNSUNP.c86 FILE *fp; local
103 if ((fp = fopen(PROC_IFINET6_PATH, "r")) != NULL) {
108 while (fscanf(fp,
/external/openfst/src/include/fst/
H A Dbi-table.h280 explicit VectorBiTable(FP *fp = 0, size_t table_size = 0)
281 : fp_(fp ? fp : new FP()) {
294 ssize_t fp = (*fp_)(entry); local
295 if (fp >= fp2id_.size())
296 fp2id_.resize(fp + 1);
297 I &id_ref = fp2id_[fp];
337 explicit VectorHashBiTable(S *s, FP *fp = 0, H *h = 0,
341 fp_(fp ? fp
372 uint64 fp = (*fp_)(entry); local
[all...]
/external/openssl/apps/
H A Dopenssl.c229 FUNCTION f,*fp; local
369 fp=lh_FUNCTION_retrieve(prog,&f);
370 if (fp != NULL)
373 ret=fp->func(Argc,Argv);
467 FUNCTION f,*fp; local
473 fp=lh_FUNCTION_retrieve(prog,&f);
474 if (fp == NULL)
480 fp = &f;
486 fp = &f;
489 if (fp !
[all...]
/external/openssl/crypto/asn1/
H A Da_strex.c527 int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) argument
533 btmp = BIO_new_fp(fp, BIO_NOCLOSE);
539 return do_name_ex(send_fp_chars, fp, nm, indent, flags);
549 int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) argument
551 return do_print_ex(send_fp_chars, fp, flags, str);
H A Dbio_asn1.c120 static long asn1_bio_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
365 static long asn1_bio_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument
368 return BIO_callback_ctrl(b->next_bio,cmd,fp);
/external/openssl/crypto/conf/
H A Dconf.h126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, variable
164 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline);
/external/openssl/crypto/
H A Dmem_dbg.c826 void CRYPTO_mem_leaks_fp(FILE *fp) argument
838 BIO_set_fp(b,fp,BIO_NOCLOSE);
/external/openssl/crypto/pem/
H A Dpem_lib.c167 void *PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x, argument
178 BIO_set_fp(b,fp,BIO_NOCLOSE);
314 int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, argument
326 BIO_set_fp(b,fp,BIO_NOCLOSE);
576 int PEM_write(FILE *fp, char *name, char *header, unsigned char *data, argument
587 BIO_set_fp(b,fp,BIO_NOCLOSE);
656 int PEM_read(FILE *fp, char **name, char **header, unsigned char **data, argument
667 BIO_set_fp(b,fp,BIO_NOCLOSE);
/external/openssl/include/openssl/
H A Dconf.h126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, variable
164 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline);
/external/openssl/ssl/
H A Ds3_lib.c3397 long ssl3_callback_ctrl(SSL *s, int cmd, void (*fp)(void)) argument
3424 s->cert->rsa_tmp_cb = (RSA *(*)(SSL *, int, int))fp;
3431 s->cert->dh_tmp_cb = (DH *(*)(SSL *, int, int))fp;
3438 s->cert->ecdh_tmp_cb = (EC_KEY *(*)(SSL *, int, int))fp;
3445 unsigned char *, int, void *))fp;
3702 long ssl3_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp)(void)) argument
3713 cert->rsa_tmp_cb = (RSA *(*)(SSL *, int, int))fp;
3720 cert->dh_tmp_cb = (DH *(*)(SSL *, int, int))fp;
3727 cert->ecdh_tmp_cb = (EC_KEY *(*)(SSL *, int, int))fp;
3733 ctx->tlsext_servername_callback=(int (*)(SSL *,int *,void *))fp;
[all...]
/external/oprofile/libpopt/
H A Dpopthelp.c213 * @param fp output file handle
218 static void singleOptionHelp(FILE * fp, size_t maxLeftCol, argument
222 /*@modifies *fp, fileSystem @*/
359 fprintf(fp," %-*s ", maxLeftCol+displaypad, left);
361 fprintf(fp," %s\n", left);
387 fprintf(fp, format, help, " ");
395 if (helpLength) fprintf(fp, "%s\n", help);
467 * @param fp output file handle
473 static void itemHelp(FILE * fp, argument
477 /*@modifies *fp, fileSyste
500 singleTableHelp(poptContext con, FILE * fp, const struct poptOption * table, size_t left, const char * translation_domain) argument
541 showHelpIntro(poptContext con, FILE * fp) argument
564 poptPrintHelp(poptContext con, FILE * fp, int flags) argument
585 singleOptionUsage(FILE * fp, size_t cursor, const struct poptOption * opt, const char *translation_domain) argument
661 itemUsage(FILE * fp, size_t cursor, poptItem item, int nitems, const char * translation_domain) argument
705 singleTableUsage(poptContext con, FILE * fp, size_t cursor, const struct poptOption * opt, const char * translation_domain, poptDone done) argument
756 showShortOptions(const struct poptOption * opt, FILE * fp, char * str) argument
785 poptPrintUsage(poptContext con, FILE * fp, int flags) argument
[all...]
/external/qemu/android/utils/
H A Dini.c261 FILE* fp = fopen(filepath, "rt"); local
267 if (fp == NULL) {
273 fseek(fp, 0, SEEK_END);
274 size = ftell(fp);
275 fseek(fp, 0, SEEK_SET);
290 len = fread(text, 1, size, fp);
297 fclose(fp);
314 FILE* fp = fopen(filepath, "wt"); local
319 if (fp == NULL) {
329 if (fwrite(temp, p - temp, 1, fp) !
[all...]
/external/qemu/distrib/libpng-1.2.19/
H A Dpng.c637 png_init_io(png_structp png_ptr, png_FILE_p fp) argument
641 png_ptr->io_ptr = (png_voidp)fp;
/external/srec/tools/test_g2g/
H A Dtest_g2g.c200 FILE* fp; local
201 fp = fopen(base, "rb");
202 if(!fp) g2gsize = 0;
204 fseek(fp, 0, SEEK_END);
205 g2gsize = ftell(fp);
206 fclose(fp);
479 FILE* fp; local
484 fp = fopen(filelist, "r");
485 if(!fp) {
490 while( fgets(line, sizeof(line), fp)) {
[all...]
/external/tcpdump/
H A Dprint-atalk.c545 FILE *fp; local
552 && (fp = fopen("/etc/atalk.names", "r"))) {
556 while (fgets(line, sizeof(line), fp)) {
577 fclose(fp);
/external/v8/src/
H A Dmksnapshot.cc103 void Print(FILE* fp) { argument
107 fprintf(fp, "\n");
110 fprintf(fp, ",");
112 fprintf(fp, "%u", static_cast<unsigned char>(at(j)));

Completed in 1400 milliseconds

<<111213141516171819