/frameworks/opt/net/lowpan/lowpan_hdlc_adapter/ |
hdlc_lite.h | 39 extern uint16_t hdlc_crc16(uint16_t fcs, uint8_t byte); 42 extern uint16_t hdlc_crc16_finalize(uint16_t fcs);
|
lowpan_hdlc_adapter.cpp | 83 uint16_t fcs = kHdlcCrcResetValue; variable 90 fcs = hdlc_crc16(fcs, c); 94 fcs = hdlc_crc16_finalize(fcs); 96 bufferIndex += hdlc_write_byte(buffer + bufferIndex, uint8_t(fcs & 0xFF)); 97 bufferIndex += hdlc_write_byte(buffer + bufferIndex, uint8_t((fcs >> 8) & 0xFF));
|
hdlc_lite.c | 62 uint16_t hdlc_crc16_finalize(uint16_t fcs) 64 return fcs ^ 0xFFFF;
|
/frameworks/base/core/java/android/service/autofill/ |
FieldClassification.java | 92 final FieldClassification[] fcs = new FieldClassification[length]; local 94 fcs[i] = readFromParcel(parcel); 96 return fcs; 99 static void writeArrayToParcel(@NonNull Parcel parcel, @NonNull FieldClassification[] fcs) { 100 parcel.writeInt(fcs.length); 101 for (int i = 0; i < fcs.length; i++) { 102 fcs[i].writeToParcel(parcel);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
user.h | 32 long int fcs; member in struct:user_fpregs_struct 45 long int fcs; member in struct:user_fpxregs_struct
|
/external/ppp/pppd/include/net/ |
ppp_defs.h | 49 #define PPP_FCSLEN 2 /* octets for FCS */ 105 * Values for FCS calculations. 107 #define PPP_INITFCS 0xffff /* Initial FCS value */ 108 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */ 109 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
user.h | 104 long int fcs; member in struct:user_fpregs_struct 117 long int fcs; member in struct:user_fpxregs_struct
|
/system/bt/stack/rfcomm/ |
rfc_utils.cc | 81 * Description This function calculate FCS for the RFCOMM frame 89 uint8_t fcs = 0xFF; local 92 fcs = rfc_crctable[fcs ^ *p++]; 96 return (0xFF - fcs); 103 * Description This function checks FCS for the RFCOMM frame 108 * received_fcs - received FCS 112 uint8_t fcs = 0xFF; local 115 fcs = rfc_crctable[fcs ^ *p++] [all...] |
rfc_ts_frames.cc | 503 uint8_t ead, eal, fcs; local 521 p_buf->len -= (3 + !ead + !eal + 1); /* Additional 1 for FCS */ 538 fcs = *(p_data + len); 548 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { 557 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { 566 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { 575 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { 585 } else if (!rfc_check_fcs(2, p_start, fcs)) { 586 RFCOMM_TRACE_ERROR("Bad UIH - FCS");
|
/external/ppp/pppd/ |
demand.c | 62 int fcs; variable 95 fcs = PPP_INITFCS; 156 fcs = PPP_INITFCS; 174 * FCS lookup table as calculated by genfcstab. 228 && framelen > 2 && fcs == PPP_GOODFCS) { 236 fcs = PPP_INITFCS; 253 fcs = PPP_FCS(fcs, c);
|
/system/bt/stack/mcap/ |
mca_main.cc | 237 tMCA_FCS_OPT fcs = MCA_FCS_NONE; local 245 fcs = p_dcb->p_chnl_cfg->fcs; 253 if (fcs & MCA_FCS_PRESNT_MASK) { 255 p_cfg->fcs = (fcs & MCA_FCS_USE_MASK);
|
/bionic/libc/include/sys/ |
user.h | 48 long fcs; member in struct:user_fpregs_struct 59 long fcs; member in struct:user_fpxregs_struct
|
/external/fec/ |
rstest.c | 18 int fcs; member in struct:etab 157 rs = init_rs_char(e->symsize,e->genpoly,e->fcs,e->prim,e->nroots,0); 235 rs = init_rs_int(e->symsize,e->genpoly,e->fcs,e->prim,e->nroots,0);
|
/external/syslinux/core/lwip/src/netif/ppp/ |
ppp.h | 130 #define PPP_FCSLEN 2 /* octets for FCS */ 160 * Values for FCS calculations. 162 #define PPP_INITFCS 0xffff /* Initial FCS value */ 163 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */ 164 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
l2cap_sdu.cc | 76 uint16_t fcs = packet.calculate_fcs(); local 78 packet.sdu_data_[packet.sdu_data_.size() - 2] = fcs & 0xFF; 79 packet.sdu_data_[packet.sdu_data_.size() - 1] = (fcs & 0xFF00) >> 8;
|
/system/bt/tools/mcap_tool/ |
mcap_test_mdl.cc | 39 .fcs = MCA_FCS_NONE,
|
/system/bt/bta/hl/ |
bta_hl_utils.cc | [all...] |
/external/google-breakpad/src/client/linux/dump_writer_common/ |
thread_info.cc | 100 out->float_save.error_selector = fpregs.fcs; 113 U16(out->extended_registers + 12, fpxregs.fcs);
|
/system/bt/stack/l2cap/ |
l2c_fcr.cc | 346 * the FCS (Frame Check Sequence) at the end of the buffer. 414 uint16_t fcs; local 451 /* Compute the FCS and add to the end of the buffer if not bypassed */ 453 /* length field in l2cap header has to include FCS length */ 457 /* Calculate the FCS */ 458 fcs = l2c_fcr_tx_get_fcs(p_buf); 460 /* Point to the end of the buffer and put the FCS there */ 467 UINT16_TO_STREAM(p, fcs); 511 uint16_t fcs; local 543 /* Compute the FCS and add to the end of the buffer if not bypassed * 604 uint16_t fcs; local 1342 uint16_t fcs; local [all...] |
l2c_main.cc | 497 STREAM_TO_UINT8(cfg_info.fcs, p); 603 STREAM_TO_UINT8(cfg_info.fcs, p);
|
/external/valgrind/include/vki/ |
vki-x86-linux.h | 582 long fcs; member in struct:vki_user_i387_struct 594 long fcs; member in struct:vki_user_fxsr_struct
|
/external/ppp/pppd/plugins/rp-pppoe/ |
pppoe.h | 220 #define PPPINITFCS16 0xffff /* Initial FCS value */ 285 UINT16_t pppFCS16(UINT16_t fcs, unsigned char *cp, int len);
|
/system/bt/stack/include/ |
mca_api.h | 120 #define MCA_FCS_BYPASS 0x10 /* fcs_present=true, fcs=L2CAP_CFG_FCS_BYPASS */ 121 #define MCA_FCS_USE 0x11 /* fcs_present=true, fcs=L2CAP_CFG_FCS_USE */ 123 #define MCA_FCS_USE_MASK 0x01 /* mask for fcs */ 133 tMCA_FCS_OPT fcs; member in struct:__anon2444
|
l2c_api.h | 104 /* HCI header(4) + L2CAP header(4) + padding(4) or control word(2) + FCS(2) */ 167 bool fcs_present; /* Optionally bypasses FCS checks */ 168 uint8_t fcs; /* '0' if desire is to bypass FCS, otherwise '1' */ member in struct:__anon2435 [all...] |
/system/bt/bta/include/ |
bta_hl_api.h | 265 uint8_t fcs; member in struct:__anon1563
|