/external/libmtp/examples/ |
H A D | tracks.c | 29 if (track->title != NULL) 31 if (track->artist != NULL) 33 if (track->genre != NULL) 35 if (track->composer != NULL) 37 if (track->album != NULL) 39 if (track->date != NULL) 41 if (track->filename != NULL) 116 for(iter = device_list; iter != NULL; iter = iter->next) 121 if (friendlyname == NULL) { 122 printf("Friendly name: (NULL)\ [all...] |
/external/libnfc-nxp/Linux_x86/ |
H A D | phDal4Nfc_messageQueueLib.c | 74 if (pQueue == NULL) 77 if (pthread_mutex_init (&pQueue->nCriticalSectionMutex, NULL) == -1) 106 if (pQueue->pItems != NULL) 109 while(p->pNext != NULL) { p = p->pNext; } 110 while(p->pPrev != NULL) 114 p->pNext = NULL; 118 pQueue->pItems = NULL; 145 if ((msqid == 0) || (msgp == NULL) || (msgsz == 0)) 153 if (pNew == NULL) 158 if (pQueue->pItems != NULL) [all...] |
/external/libpng/ |
H A D | pngrio.c | 37 if (png_ptr->read_data_fn != NULL) 40 png_error(png_ptr, "Call to NULL read function"); 51 if (png_ptr->seek_data_fn != NULL) 54 png_error(png_ptr, "Call to NULL seek function"); 70 if (png_ptr == NULL) 76 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 102 if (png_ptr == NULL) 111 NULL) ) 127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 154 * the input functions. May be NULL [all...] |
/external/openssl/apps/ |
H A D | nseq.c | 72 char **args, *infile = NULL, *outfile = NULL; 73 BIO *in = NULL, *out = NULL; 75 X509 *x509 = NULL; 76 NETSCAPE_CERT_SEQUENCE *seq = NULL; 79 if (bio_err == NULL) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); 134 while((x509 = PEM_read_bio_X509(in, NULL, NULL, NULL))) [all...] |
H A D | ocsp.c | 127 ENGINE *e = NULL; 129 char *host = NULL, *port = NULL, *path = "/"; 130 char *reqin = NULL, *respin = NULL; 131 char *reqout = NULL, *respout = NULL; 132 char *signfile = NULL, *keyfile = NULL; 133 char *rsignfile = NULL, *rkeyfil [all...] |
H A D | ec.c | 89 EC_KEY *eckey = NULL; 92 const EVP_CIPHER *enc = NULL; 93 BIO *in = NULL, *out = NULL; 97 char *passargin = NULL, *passargout = NULL; 98 char *passin = NULL, *passout = NULL; 106 if (bio_err == NULL) 107 if ((bio_err=BIO_new(BIO_s_file())) != NULL) [all...] |
H A D | req.c | 151 static char *default_config_file=NULL; 153 static CONF *req_conf=NULL; 160 ENGINE *e = NULL, *gen_eng = NULL; 163 X509 *x509ss=NULL; 164 X509_REQ *req=NULL; 165 EVP_PKEY_CTX *genctx = NULL; 166 const char *keyalg = NULL; 167 char *keyalgstr = NULL; 168 STACK_OF(OPENSSL_STRING) *pkeyopts = NULL, *sigopt [all...] |
/external/openssl/crypto/ecdh/ |
H A D | ech_ossl.c | 90 NULL, /* init */ 91 NULL, /* finish */ 94 NULL /* app_data */ 113 EC_POINT *tmp=NULL; 114 BIGNUM *x=NULL, *y=NULL; 119 unsigned char *buf=NULL; 127 if ((ctx = BN_CTX_new()) == NULL) goto err; 133 if (priv_key == NULL) 140 if ((tmp=EC_POINT_new(group)) == NULL) [all...] |
/external/openssl/ssl/ |
H A D | bio_ssl.c | 92 NULL, /* ssl_gets, */ 109 if (bs == NULL) 125 if (a == NULL) return(0); 127 if (bs->ssl != NULL) SSL_shutdown(bs->ssl); 130 if (a->init && (bs->ssl != NULL)) 135 if (a->ptr != NULL) 148 if (out == NULL) return(0); 189 tm=(unsigned long)time(NULL); 235 if (out == NULL) return(0); 264 tm=(unsigned long)time(NULL); [all...] |
/external/ppp/pppd/plugins/radius/ |
H A D | radrealms.c | 32 { NULL } 64 realm = NULL; 68 if ((fd = fopen(radrealms_config, "r")) == NULL) { 74 while ((fgets(buffer, sizeof(buffer), fd) != NULL)) { 84 if (p == NULL || (strcmp(p, "authserver") !=0 99 if ((p = strtok(NULL, "\t ")) == NULL) { 106 if ((realm != NULL && strcmp(p, realm) == 0) || 107 (realm == NULL && strcmp(p, "DEFAULT") == 0) ) { 109 if ((p = strtok(NULL, " [all...] |
/external/speex/libspeex/ |
H A D | modes.c | 49 #ifndef NULL 50 #define NULL 0 macro 162 NULL, 166 NULL, 183 NULL, 332 {NULL, &nb_submode1, &nb_submode2, &nb_submode3, &nb_submode4, &nb_submode5, &nb_submode6, &nb_submode7, 333 &nb_submode8, NULL, NULL, NULL, NULL, NUL [all...] |
/external/srec/srec/EventLog/src/ |
H A D | EventLog.c | 28 if (self == NULL) 38 if (self == NULL) 48 if (self == NULL) 58 if (self == NULL) 68 if (self == NULL) 78 if (self == NULL) 88 if (self == NULL) 98 if (self == NULL) 108 if (self == NULL) 118 if (self == NULL) [all...] |
/external/webrtc/src/system_wrappers/test/map/ |
H A D | map.cc | 32 if (map_item_pointer != NULL) 43 while (map_item != NULL) 68 FailTest(remove_item == NULL); 70 FailTest(test_map.Find(2) != NULL); 71 remove_item = NULL; 75 FailTest(test_map.Find(1) != NULL); 82 FailTest(first_item == NULL); 86 FailTest(last_item == NULL); 90 FailTest(second_item == NULL); 92 FailTest(test_map.Next(last_item) != NULL); [all...] |
/external/libnfc-nxp/src/ |
H A D | phFriNfc_OvrHal.c | 87 if ((NULL == OvrHal) || (NULL == CompletionInfo) || (NULL == RemoteDevInfo) 88 || (NULL == (void*)SendBuf) || (NULL == RecvBuf) || (NULL == RecvLength) 191 if( (NULL==OvrHal) || (NULL==CompletionInfo) || (NULL==RemoteDevInfo) 192 || (NULL [all...] |
H A D | phHciNfc_LinkMgmt.c | 129 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; 130 phHciNfc_LinkMgmt_Info_t *p_link_mgmt_info=NULL; 133 if( ( NULL == psHciContext ) 134 || (NULL == pHwRef ) 141 if( ( NULL == psHciContext->p_link_mgmt_info ) 149 p_link_mgmt_info->p_pipe_info = NULL; 157 if( NULL == p_link_mgmt_info ) 205 if(NULL == p_pipe_info ) 229 if(NULL == p_pipe_info ) 279 if( (NULL [all...] |
H A D | phLibNfc.c | 64 pphLibNfc_LibContext_t gpphLibContext=NULL; 91 if(NULL != gpphLibContext) 101 if(NULL != gpphLibContext) 194 if((NULL == pDriverHandle)||(NULL == pInitCb)) 198 else if(NULL == gpphLibContext) 203 if(NULL == gpphLibContext) 221 if( gpphLibContext->psHwReference!=NULL) 258 pphLibNfc_LibContext_t pLibContext=NULL; 259 pphLibNfc_RspCb_t pClientCb=NULL; [all...] |
/external/openssl/crypto/asn1/ |
H A D | n_pkey.c | 127 NETSCAPE_PKEY *pkey = NULL; 128 NETSCAPE_ENCRYPTED_PKEY *enckey = NULL; 134 if (a == NULL) return(0); 136 if ((pkey=NETSCAPE_PKEY_new()) == NULL) goto err; 137 if ((enckey=NETSCAPE_ENCRYPTED_PKEY_new()) == NULL) goto err; 141 if ((pkey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; 144 rsalen = i2d_RSAPrivateKey(a, NULL); 152 pkeylen=i2d_NETSCAPE_PKEY(pkey,NULL); 159 if ((enckey->enckey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; 162 if (pp == NULL) [all...] |
/external/openssl/crypto/ec/ |
H A D | eck_prn.c | 76 if ((b=BIO_new(BIO_s_file())) == NULL) 92 if ((b=BIO_new(BIO_s_file())) == NULL) 108 if ((b=BIO_new(BIO_s_file())) == NULL) 127 ret = EVP_PKEY_print_private(bp, pk, off, NULL); 139 ret = EVP_PKEY_print_params(bp, pk, 4, NULL); 149 unsigned char *buffer=NULL; 152 BN_CTX *ctx=NULL; 153 const EC_POINT *point=NULL; 154 BIGNUM *p=NULL, *a=NULL, * [all...] |
H A D | ec_asn1.c | 89 if (group == NULL) 107 if (group == NULL) 213 } ASN1_ADB_END(X9_62_CHARACTERISTIC_TWO, 0, type, 0, &char_two_def_tt, NULL); 229 } ASN1_ADB_END(X9_62_FIELDID, 0, fieldType, 0, &fieldID_def_tt, NULL); 301 BIGNUM *tmp = NULL; 303 if (group == NULL || field == NULL) 307 if (field->fieldType != NULL) 309 if (field->p.other != NULL) 314 if ((field->fieldType = OBJ_nid2obj(nid)) == NULL) [all...] |
/external/skia/src/core/ |
H A D | SkFlattenable.cpp | 21 size_t size = matrix.flatten(NULL); 33 size_t size = rgn.flatten(NULL); 52 fRCArray = NULL; 55 fTFArray = NULL; 58 fFactoryTDArray = NULL; 59 fFactoryArray = NULL; 66 fRCArray = NULL; 69 fTFArray = NULL; 72 fFactoryTDArray = NULL; 73 fFactoryArray = NULL; [all...] |
/external/srec/srec/Recognizer/src/ |
H A D | Recognizer.c | 30 if (self == NULL) 43 if (self == NULL) 56 if (self == NULL) 66 if (self == NULL) 76 if (self == NULL) 86 if (self == NULL) 96 if (self == NULL) 106 if (self == NULL) 116 if (self == NULL) 126 if (self == NULL) [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | isakmp_frag.c | 128 if ((frag = vmalloc(fraglen)) == NULL) { 129 plog(LLV_ERROR, LOCATION, NULL, 152 plog(LLV_ERROR, LOCATION, NULL, "isakmp_send failed\n"); 191 plog(LLV_ERROR, LOCATION, NULL, "Message too short\n"); 204 plog(LLV_ERROR, LOCATION, NULL, "Fragment too short\n"); 208 if ((buf = vmalloc(ntohs(frag->len) - sizeof(*frag))) == NULL) { 209 plog(LLV_ERROR, LOCATION, NULL, "Cannot allocate memory\n"); 213 if ((item = racoon_malloc(sizeof(*item))) == NULL) { 214 plog(LLV_ERROR, LOCATION, NULL, "Cannot allocate memory\n"); 224 item->frag_next = NULL; [all...] |
H A D | proposal.c | 85 if (new == NULL) 86 return NULL; 97 if (new == NULL) 98 return NULL; 111 if (*head == NULL) { 133 if (p == NULL) 159 if (new == NULL) 160 return NULL; 175 if (tr == NULL) 199 struct saprop *newpp = NULL; [all...] |
/external/openssl/crypto/stack/ |
H A D | stack.c | 97 if ((ret=sk_new(sk->comp)) == NULL) goto err; 100 if (s == NULL) goto err; 112 return(NULL); 125 if ((ret=OPENSSL_malloc(sizeof(_STACK))) == NULL) 127 if ((ret->data=OPENSSL_malloc(sizeof(char *)*MIN_NODES)) == NULL) 130 ret->data[i]=NULL; 139 return(NULL); 146 if(st == NULL) return 0; 151 if (s == NULL) 187 return(NULL); [all...] |
/external/openssl/crypto/bio/ |
H A D | bio_lib.c | 68 BIO *ret=NULL; 71 if (ret == NULL) 74 return(NULL); 79 ret=NULL; 87 bio->callback=NULL; 88 bio->cb_arg=NULL; 94 bio->ptr=NULL; 95 bio->prev_bio=NULL; 96 bio->next_bio=NULL; 101 if (method->create != NULL) [all...] |