Home
last modified time | relevance | path

Searched refs:readlen (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/testing/
Dzcgzip.cc56 int readlen; in main() local
68 readlen = read(STDIN_FILENO, outptr, outlen); in main()
69 if (readlen <= 0) { in main()
73 if (readlen < outlen) { in main()
74 out.BackUp(outlen - readlen); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/
DiLBC_testLib.c46 size_t len, readlen; in main() local
130 readlen = 80; in main()
132 readlen = (size_t)(mode << 3); in main()
134 while(fread(data, sizeof(short), readlen, ifileid) == readlen) { in main()
139 len_int=WebRtcIlbcfix_Encode(Enc_Inst, data, readlen, encoded_data); in main()
/external/android-clat/
Dclatd.c333 ssize_t readlen; in read_packet() local
336 readlen = read(read_fd, buf, PACKETLEN); in read_packet()
338 if(readlen < 0) { in read_packet()
343 } else if(readlen == 0) { in read_packet()
350 if (readlen < (ssize_t) sizeof(*tun_header)) { in read_packet()
351 logmsg(ANDROID_LOG_WARN,"read_packet/short read: got %ld bytes", readlen); in read_packet()
366 readlen -= sizeof(*tun_header); in read_packet()
367 translate_packet(write_fd, to_ipv6, packet, readlen); in read_packet()
/external/libnfc-nci/halimpl/pn54x/utils/
DphNxpConfig.cpp96 bool getValue(const char* name, char* pValue, long len,long* readlen) const;
488 bool CNfcConfig::getValue(const char* name, char* pValue, long len,long* readlen) const in getValue()
500 *readlen = pParam->str_len(); in getValue()
504 *readlen = -1; in getValue()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java357 int readlen; in loadBytes() local
358 while ((readlen = is.read(buff)) > 0) { in loadBytes()
359 out.write(buff, 0, readlen); in loadBytes()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c712 DWORD readlen = *reply_len; in wpa_ctrl_request() local
717 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request()
719 *reply_len = readlen; in wpa_ctrl_request()