Home
last modified time | relevance | path

Searched refs:stringlen (Results 1 – 24 of 24) sorted by relevance

/external/libpcap/
Dpcap-new.c80 size_t stringlen; in pcap_findalldevs_ex() local
195 stringlen = strlen(name); in pcap_findalldevs_ex()
204 if (name[stringlen - 1] != ENDING_CHAR) in pcap_findalldevs_ex()
206 name[stringlen] = ENDING_CHAR; in pcap_findalldevs_ex()
207 name[stringlen + 1] = 0; in pcap_findalldevs_ex()
209 stringlen++; in pcap_findalldevs_ex()
218 if (name[stringlen - 1] != '*') in pcap_findalldevs_ex()
220 name[stringlen] = '*'; in pcap_findalldevs_ex()
221 name[stringlen + 1] = 0; in pcap_findalldevs_ex()
/external/tcpdump/
Dsmbutil.c26 static uint32_t stringlen; variable
36 stringlen = 0; in smb_reset()
633 stringlen = GET_U_1(buf); in smb_fdata1()
635 ND_PRINT("%u", stringlen); in smb_fdata1()
641 stringlen = reverse ? GET_BE_U_2(buf) : in smb_fdata1()
644 ND_PRINT("%u", stringlen); in smb_fdata1()
650 stringlen = reverse ? GET_BE_U_4(buf) : in smb_fdata1()
653 ND_PRINT("%u", stringlen); in smb_fdata1()
702 ND_TCHECK_LEN(buf, stringlen); in smb_fdata1()
703 ND_PRINT("%-*.*s", (int)stringlen, (int)stringlen, buf); in smb_fdata1()
[all …]
Dprint-bgp.c1242 #define UPDATE_BUF_BUFLEN(buf, buflen, stringlen) \ argument
1243 if (stringlen<0) \
1245 else if ((u_int)stringlen>buflen) \
1248 buflen-=stringlen; \
1249 buf+=stringlen; \
1257 int stringlen; in decode_labeled_vpn_l2() local
1270 stringlen = snprintf(buf, buflen, "RD: %s, BGPNH: %s", in decode_labeled_vpn_l2()
1273 UPDATE_BUF_BUFLEN(buf, buflen, stringlen); in decode_labeled_vpn_l2()
1283stringlen = snprintf(buf, buflen, "RD: %s, CE-ID: %u, Label-Block Offset: %u, Label Base %u", in decode_labeled_vpn_l2()
1288 UPDATE_BUF_BUFLEN(buf, buflen, stringlen); in decode_labeled_vpn_l2()
[all …]
Dprint-nfs.c886 u_int stringlen; in nfs_printfh() local
889 stringlen = len; in nfs_printfh()
890 if (stringlen > NFSX_V3FHMAX) in nfs_printfh()
891 stringlen = NFSX_V3FHMAX; in nfs_printfh()
892 strncpy(temp, sfsname, stringlen); in nfs_printfh()
893 temp[stringlen] = '\0'; in nfs_printfh()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dpossible_match_test.cc233 int stringlen = 5; in TEST() local
237 stringlen = 3; in TEST()
241 stringlen, Explode("ab4")); in TEST()
/external/ComputeLibrary/src/core/NEON/kernels/arm_gemm/
Dstd_transforms_sme.hpp52 …void PrepareA_indirect(TOperand *out, const TIn * const * const *ptr, size_t stringlen, size_t rou… in PrepareA_indirect() argument
54 …IndirectInterleave<height_vectors, block, VLType::SME>(out, ptr, stringlen, rounded_stringlen, y0,… in PrepareA_indirect()
Dstd_transforms_fixed.hpp55 …void PrepareA_indirect(TOperand *out, const TIn * const * const *ptr, size_t stringlen, size_t rou… in PrepareA_indirect() argument
57 …IndirectInterleave<height, block, VLType::None>(out, ptr, stringlen, rounded_stringlen, y0, ymax, … in PrepareA_indirect()
Dstd_transforms_sve.hpp53 …void PrepareA_indirect(TOperand *out, const TIn * const * const *ptr, size_t stringlen, size_t rou… in PrepareA_indirect() argument
55 …IndirectInterleave<height, block, VLType::None>(out, ptr, stringlen, rounded_stringlen, y0, ymax, … in PrepareA_indirect()
Dinterleave_indirect.hpp35 void IndirectInterleave(TOut *out, const TIn * const * const *ptr, unsigned int stringlen, unsigned…
Dinterleave_indirect_impl.hpp137 void IndirectInterleave(TOut *out, const TIn * const * const *ptr, unsigned int stringlen, in IndirectInterleave() argument
173 unsigned int in_width = std::min(k_left, stringlen - stringpos); in IndirectInterleave()
Dinterleave_indirect.cpp155 void IndirectInterleave(TOut *out, const TIn * const * const *ptr, unsigned int stringlen, in IndirectInterleave() argument
190 unsigned int in_width = std::min(k_left, stringlen - stringpos); in IndirectInterleave()
/external/libwebsockets/lib/plat/freertos/
Dfreertos-file.c119 lws_find_string_in_file(const char *filename, const char *string, int stringlen) in lws_find_string_in_file() argument
125 lws_find_string_in_file(const char *filename, const char *string, int stringlen) in lws_find_string_in_file() argument
/external/libxml2/
Dxpointer.c2405 int stringlen; /* in bytes */ in xmlXPtrMatchString() local
2417 stringlen = xmlStrlen(string); in xmlXPtrMatchString()
2419 while (stringlen > 0) { in xmlXPtrMatchString()
2420 if ((cur == *end) && (pos + stringlen > *endindex)) in xmlXPtrMatchString()
2425 if (len >= pos + stringlen) { in xmlXPtrMatchString()
2426 match = (!xmlStrncmp(&cur->content[pos], string, stringlen)); in xmlXPtrMatchString()
2431 stringlen, pos + 1); in xmlXPtrMatchString()
2436 *endindex = pos + stringlen; in xmlXPtrMatchString()
2453 stringlen -= sub; in xmlXPtrMatchString()
/external/mesa3d/src/mesa/main/
Dshaderapi.h389 GLint stringlen, const GLchar *string);
403 GLint *stringlen, GLchar *string);
Dshaderapi.c3467 GLint stringlen, const GLchar *string) in _mesa_NamedStringARB() argument
3478 char *string_cp = copy_string(ctx, string, stringlen, caller); in _mesa_NamedStringARB()
3646 GLint *stringlen, GLchar *string) in _mesa_GetNamedStringARB() argument
3667 *stringlen = size; in _mesa_GetNamedStringARB()
/external/libpcap/rpcapd/
Ddaemon.c1649 size_t stringlen = strlen(d->description); in daemon_msg_findallif_req() local
1650 if (stringlen > UINT16_MAX) { in daemon_msg_findallif_req()
1656 CHECK_AND_INCREASE_REPLY_LEN(stringlen); in daemon_msg_findallif_req()
1659 size_t stringlen = strlen(d->name); in daemon_msg_findallif_req() local
1660 if (stringlen > UINT16_MAX) { in daemon_msg_findallif_req()
1666 CHECK_AND_INCREASE_REPLY_LEN(stringlen); in daemon_msg_findallif_req()
/external/python/cpython2/Modules/
Dstropmodule.c599 Py_ssize_t stringlen; in strop_expandtabs() local
604 if (!PyArg_ParseTuple(args, "s#|i:expandtabs", &string, &stringlen, &tabsize)) in strop_expandtabs()
614 e = string + stringlen; in strop_expandtabs()
/external/libwebsockets/lib/core/
Dprivate-lib-core.h781 lws_find_string_in_file(const char *filename, const char *str, int stringlen);
/external/libwebsockets/lib/roles/http/server/
Dserver.c986 lws_find_string_in_file(const char *filename, const char *string, int stringlen) in lws_find_string_in_file() argument
1001 if (match == stringlen) in lws_find_string_in_file()
1008 if (match == stringlen) { in lws_find_string_in_file()
/external/mesa3d/include/GL/
Dglcorearb.h3589 …EDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *s…
3593 …INGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
3596 …glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *s…
3600 …edStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
Dglext.h4243 …EDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *s…
4247 …INGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4250 …glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *s…
4254 …edStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
/external/libepoxy/prebuilt-intermediates/include/epoxy/
Dgl_generated.h7900 …NGARBPROC)(GLint namelen, const GLchar * name, GLsizei bufSize, GLint * stringlen, GLchar * string…
8672 …EDSTRINGARBPROC)(GLenum type, GLint namelen, const GLchar * name, GLint stringlen, const GLchar * …
12216 …StringARB)(GLint namelen, const GLchar * name, GLsizei bufSize, GLint * stringlen, GLchar * string…
13760 …lNamedStringARB)(GLenum type, GLint namelen, const GLchar * name, GLint stringlen, const GLchar * …
/external/libepoxy/prebuilt-intermediates/src/
Dgl_generated_dispatch.c115563 …onst GLchar * name, GLsizei bufSize, GLint * stringlen, GLchar * string), (namelen, name, bufSize,…
116335 … GLint namelen, const GLchar * name, GLint stringlen, const GLchar * string), (type, namelen, name…
/external/OpenCL-CTS/test_conformance/gl/GLEW/GL/
Dglew.h6811 …INGARBPROC) (GLint namelen, const GLchar* name, GLsizei bufSize, GLint *stringlen, GLchar *string);
6814 …EDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar* name, GLint stringlen, const GLchar *s…