Home
last modified time | relevance | path

Searched refs:nlen (Results 1 – 22 of 22) sorted by relevance

/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dchap-new.c258 int clen = 1, nlen, len; in chap_generate_challenge() local
266 nlen = strlen(pcb->chap_server.name); in chap_generate_challenge()
267 memcpy(p + 1 + clen, pcb->chap_server.name, nlen); in chap_generate_challenge()
269 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge()
437 int clen, nlen; local
457 nlen = len - (clen + 1);
483 nlen = strlen(pcb->chap_client.name);
487 len = CHAP_HDRLEN + clen + 1 + nlen;
596 int clen, nlen; local
622 nlen = len - clen - 1;
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/puff/
A Dpuff.c667 int nlen, ndist, ncode; /* number of lengths in descriptor */ in dynamic() local
684 nlen = bits(s, 5) + 257; in dynamic()
687 if (nlen > MAXLCODES || ndist > MAXDCODES) in dynamic()
703 while (index < nlen + ndist) { in dynamic()
724 if (index + symbol > nlen + ndist) in dynamic()
736 err = construct(&lencode, lengths, nlen); in dynamic()
737 if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) in dynamic()
741 err = construct(&distcode, lengths + nlen, ndist); in dynamic()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/infback9/
A Dinfback9.c347 state->nlen = BITS(5) + 257;
353 if (state->nlen > 286) {
383 while (state->have < state->nlen + state->ndist) {
421 if (state->have + copy > state->nlen + state->ndist) {
447 ret = inflate_table9(LENS, state->lens, state->nlen,
456 ret = inflate_table9(DISTS, state->lens + state->nlen,
A Dinflate9.h40 unsigned nlen; /* number of length code lengths */ member
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dinfback.c361 state->nlen = BITS(5) + 257;
368 if (state->nlen > 286 || state->ndist > 30) {
399 while (state->have < state->nlen + state->ndist) {
436 if (state->have + copy > state->nlen + state->ndist) {
462 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next),
471 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
A Dinflate.h115 unsigned nlen; /* number of length code lengths */ member
A Dinflate.c922 state->nlen = BITS(5) + 257;
929 if (state->nlen > 286 || state->ndist > 30) {
960 while (state->have < state->nlen + state->ndist) {
997 if (state->have + copy > state->nlen + state->ndist) {
1023 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next),
1032 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dinfback.c352 state->nlen = BITS(5) + 257;
359 if (state->nlen > 286 || state->ndist > 30) {
390 while (state->have < state->nlen + state->ndist) {
428 if (state->have + copy > state->nlen + state->ndist) {
454 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next),
463 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
A Dinflate.c883 state->nlen = BITS(5) + 257;
890 if (state->nlen > 286 || state->ndist > 30) {
921 while (state->have < state->nlen + state->ndist) {
959 if (state->have + copy > state->nlen + state->ndist) {
985 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next),
994 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/
A Dccm_mode.h112 unsigned int nlen, unsigned int mlen);
/AliOS-Things-master/components/py_engine/external/unzip/internal/
A Dinflate.h112 unsigned nlen; /* number of length code lengths */ member
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Dccm_mode.c40 unsigned int nlen, unsigned int mlen) in tc_ccm_config() argument
48 } else if (nlen != 13) { in tc_ccm_config()
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/
A Dlfs1.h204 uint8_t nlen; member
259 uint8_t nlen; member
A Dlfs1.c663 {entry->off+sizeof(entry->d), entry->d.nlen, data, entry->d.nlen} in lfs1_dir_update()
679 {entry->off, 0, data, entry->d.nlen} in lfs1_dir_append()
699 {entry->off, 0, data, entry->d.nlen} in lfs1_dir_append()
805 entry->d.nlen = 0; in lfs1_dir_find()
873 entry->d.nlen != pathlen) { in lfs1_dir_find()
943 entry.d.nlen = strlen(path); in lfs1_mkdir()
1054 info->name, entry.d.nlen); in lfs1_dir_read()
1322 entry.d.nlen = strlen(path); in lfs1_file_opencfg()
1854 info->name, entry.d.nlen); in lfs1_stat()
1973 newentry.d.nlen = strlen(newpath); in lfs1_rename()
[all …]
A Dlfs2.c2032 lfs2_size_t nlen = strlen(path); in lfs2_rawmkdir() local
2033 if (nlen > lfs2->name_max) { in lfs2_rawmkdir()
2093 {LFS2_MKTAG(LFS2_TYPE_DIR, id, nlen), path}, in lfs2_rawmkdir()
2496 lfs2_size_t nlen = strlen(path);
2497 if (nlen > lfs2->name_max) {
3280 lfs2_size_t nlen = strlen(newpath); local
3281 if (nlen > lfs2->name_max) {
4256 uint8_t nlen; member
4289 uint8_t nlen; member
4364 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen;
[all …]
/AliOS-Things-master/components/ble_host/bt_host/port/core/settings/src/
A Dsettings_priv.h24 int settings_cbor_line(struct mgmt_cbuf *cb, char *name, int nlen, char *value,
/AliOS-Things-master/components/py_engine/engine/py/
A Dobjstr.h76 const byte *find_subbytes(const byte *haystack, size_t hlen, const byte *needle, size_t nlen, int d…
A Dobjstr.c279 const byte *find_subbytes(const byte *haystack, size_t hlen, const byte *needle, size_t nlen, int d… in find_subbytes() argument
280 if (hlen >= nlen) { in find_subbytes()
284 str_index_end = hlen - nlen; in find_subbytes()
286 str_index = hlen - nlen; in find_subbytes()
290 if (memcmp(&haystack[str_index], needle, nlen) == 0) { in find_subbytes()
/AliOS-Things-master/components/littlefs/src/littlefs-v220/
A Dlfs.c1954 lfs_size_t nlen = strlen(path); in lfs_mkdir() local
1955 if (nlen > lfs->name_max) { in lfs_mkdir()
2020 {LFS_MKTAG(LFS_TYPE_DIR, id, nlen), path}, in lfs_mkdir()
2476 lfs_size_t nlen = strlen(path); in lfs_file_opencfg() local
2477 if (nlen > lfs->name_max) { in lfs_file_opencfg()
3543 lfs_size_t nlen = strlen(newpath); in lfs_rename() local
3544 if (nlen > lfs->name_max) { in lfs_rename()
4652 uint8_t nlen; member
4685 uint8_t nlen; member
5120 name, entry1.d.nlen); in lfs_migrate()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/
A Dff.c2264 BYTE nc1, nlen; local
2275 nlen = nc1 = 0; wc = 1;
2279 if (wc != 0 && (wc = lfn[nlen]) != 0) nlen++; /* Get a character if exist */
2284 } while (lfn[nlen]); /* Fill next entry if any char follows */
2286 dirb[XDIR_NumName] = nlen; /* Set name length */
2470 UINT n, nlen, nent; local
2475 for (nlen = 0; fs->lfnbuf[nlen]; nlen++) ; /* Get lfn length */
2479 nent = (nlen + 14) / 15 + 2; /* Number of entries to allocate (85+C0+C1s) */
2523 nent = (sn[NSFLAG] & NS_LFN) ? (nlen + 12) / 13 + 1 : 1; /* Number of entries to allocate */
/AliOS-Things-master/components/fatfs/src/
A Dff.c2123 BYTE nc1, nlen; local
2133 nlen = nc1 = 0; chr = 1; i = SZDIRE * 2;
2137 if (chr && (chr = lfn[nlen]) != 0) nlen++; /* Get a character if exist */
2142 } while (lfn[nlen]); /* Fill next entry if any char follows */
2144 dirb[XDIR_NumName] = nlen; /* Set name length */
2328 UINT n, nlen, nent; local
2333 for (nlen = 0; fs->lfnbuf[nlen]; nlen++) ; /* Get lfn length */
2337 nent = (nlen + 14) / 15 + 2; /* Number of entries to allocate (85+C0+C1s) */
2381 nent = (sn[NSFLAG] & NS_LFN) ? (nlen + 12) / 13 + 1 : 1; /* Number of entries to allocate */
/AliOS-Things-master/components/mbedtls/library/
A Decp_curves.c590 const mbedtls_mpi_uint *n, size_t nlen) in ecp_group_load() argument
596 ecp_mpi_load( &grp->N, n, nlen ); in ecp_group_load()

Completed in 328 milliseconds