Home | History | Annotate | Download | only in reference-ril

Lines Matching refs:err

115     int err;
121 err = nanosleep (&ts, &ts);
122 } while (err < 0 && errno == EINTR);
725 int err = 0;
731 err = AT_ERROR_COMMAND_PENDING;
735 err = writeline (command);
737 if (err < 0) {
755 err = pthread_cond_timeout_np(&s_commandcond, &s_commandmutex, timeoutMsec);
757 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts);
760 err = pthread_cond_wait(&s_commandcond, &s_commandmutex);
763 if (err == ETIMEDOUT) {
764 err = AT_ERROR_TIMEOUT;
780 err = AT_ERROR_CHANNEL_CLOSED;
784 err = 0;
788 return err;
800 int err;
809 err = at_send_command_full_nolock(command, type,
815 if (err == AT_ERROR_TIMEOUT && s_onTimeout != NULL) {
819 return err;
834 int err;
836 err = at_send_command_full (command, NO_RESULT, NULL,
839 return err;
847 int err;
849 err = at_send_command_full (command, SINGLELINE, responsePrefix,
852 if (err == 0 && pp_outResponse != NULL
862 return err;
869 int err;
871 err = at_send_command_full (command, NUMERIC, NULL,
874 if (err == 0 && pp_outResponse != NULL
884 return err;
893 int err;
895 err = at_send_command_full (command, SINGLELINE, responsePrefix,
898 if (err == 0 && pp_outResponse != NULL
908 return err;
916 int err;
918 err = at_send_command_full (command, MULTILINE, responsePrefix,
921 return err;
952 int err = 0;
963 err = at_send_command_full_nolock ("ATE0Q0V1", NO_RESULT,
966 if (err == 0) {
971 if (err == 0) {
980 return err;
990 int err;
1004 err = at_tok_start(&p_cur);
1006 if (err < 0) {
1010 err = at_tok_nextint(&p_cur, &ret);
1012 if (err < 0) {