Home
last modified time | relevance | path

Searched refs:bstr (Results 1 – 25 of 26) sorted by relevance

12

/external/iproute2/tc/
Dm_ematch.h14 struct bstr struct
19 struct bstr *next; argument
22 extern struct bstr * bstr_alloc(const char *text);
24 static inline struct bstr * bstr_new(char *data, unsigned int len) in bstr_new()
26 struct bstr *b = calloc(1, sizeof(*b)); in bstr_new()
37 static inline int bstrcmp(struct bstr *b, const char *text) in bstrcmp()
48 static inline struct bstr *bstr_next(struct bstr *b) in bstr_next()
53 extern unsigned long bstrtoul(const struct bstr *b);
54 extern void bstr_print(FILE *fd, const struct bstr *b, int ascii);
59 struct bstr *args;
[all …]
Dem_meta.c125 static struct meta_entry * lookup_meta_entry(struct bstr *kind) in lookup_meta_entry()
161 struct bstr *a = (struct bstr *) val; in dump_value()
248 static inline struct bstr *
249 parse_object(struct bstr *args, struct bstr *arg, struct tcf_meta_val *obj, in parse_object()
254 struct bstr *a; in parse_object()
359 struct bstr *args) in meta_parse_eopt()
362 struct bstr *a; in meta_parse_eopt()
Dm_ematch.c257 int em_parse_error(int err, struct bstr *args, struct bstr *carg, in em_parse_error()
495 struct bstr * bstr_alloc(const char *text) in bstr_alloc()
497 struct bstr *b = calloc(1, sizeof(*b)); in bstr_alloc()
513 unsigned long bstrtoul(const struct bstr *b) in bstrtoul()
529 void bstr_print(FILE *fd, const struct bstr *b, int ascii) in bstr_print()
560 struct bstr *b; in print_ematch_tree()
Dem_nbyte.c41 struct bstr *args) in nbyte_parse_eopt()
43 struct bstr *a; in nbyte_parse_eopt()
44 struct bstr *needle = args; in nbyte_parse_eopt()
Dem_u32.c37 struct bstr *args) in u32_parse_eopt()
39 struct bstr *a; in u32_parse_eopt()
Dem_canid.c58 static int canid_parse_rule(struct rules *rules, struct bstr *a, int iseff) in canid_parse_rule()
93 struct bstr *args) in canid_parse_eopt()
Dem_cmp.c41 struct bstr *args) in cmp_parse_eopt()
43 struct bstr *a; in cmp_parse_eopt()
Demp_ematch.y16 struct bstr *b;
Dem_ipset.c199 struct bstr *args) in ipset_parse_eopt()
/external/lzma/CPP/Common/
DMyWindows.cpp49 BSTR bstr = (BSTR)((CBstrSizeType *)p + 1); in SysAllocStringByteLen() local
51 memcpy(bstr, s, len); in SysAllocStringByteLen()
53 ((Byte *)bstr)[len] = 0; in SysAllocStringByteLen()
54 return bstr; in SysAllocStringByteLen()
67 BSTR bstr = (BSTR)((CBstrSizeType *)p + 1); in SysAllocStringLen() local
69 memcpy(bstr, s, size); in SysAllocStringLen()
70 bstr[len] = 0; in SysAllocStringLen()
71 return bstr; in SysAllocStringLen()
84 void SysFreeString(BSTR bstr) in SysFreeString() argument
86 if (bstr) in SysFreeString()
[all …]
DMyWindows.h197 MY_EXTERN_C void SysFreeString(BSTR bstr);
198 MY_EXTERN_C UINT SysStringByteLen(BSTR bstr);
199 MY_EXTERN_C UINT SysStringLen(BSTR bstr);
DMyCom.h76 inline HRESULT StringToBstr(LPCOLESTR src, BSTR *bstr) in StringToBstr() argument
78 *bstr = ::SysAllocString(src); in StringToBstr()
79 return (*bstr != NULL) ? S_OK : E_OUTOFMEMORY; in StringToBstr()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_utility.cpp90 CFX_ByteString PDF_NameDecode(const CFX_ByteStringC& bstr) { in PDF_NameDecode() argument
91 if (bstr.Find('#') == -1) in PDF_NameDecode()
92 return CFX_ByteString(bstr); in PDF_NameDecode()
94 int size = bstr.GetLength(); in PDF_NameDecode()
99 if (bstr[i] == '#' && i < size - 2) { in PDF_NameDecode()
101 FXSYS_toHexDigit(bstr[i + 1]) * 16 + FXSYS_toHexDigit(bstr[i + 2]); in PDF_NameDecode()
104 *pDest++ = bstr[i]; in PDF_NameDecode()
Dfpdf_parser_decode.cpp464 CFX_WideString PDF_DecodeText(const CFX_ByteString& bstr) { in PDF_DecodeText() argument
465 return PDF_DecodeText((const uint8_t*)bstr.c_str(), bstr.GetLength()); in PDF_DecodeText()
Dfpdf_parser_decode.h25 CFX_WideString PDF_DecodeText(const CFX_ByteString& bstr);
/external/spirv-llvm/lib/SPIRV/Mangler/
DMangler.cpp43 std::string bstr; in mangleSequenceID() local
46 bstr.reserve(7); in mangleSequenceID()
48 bstr += charset.substr(SeqID % 36, 1); in mangleSequenceID()
49 std::reverse(bstr.begin(), bstr.end()); in mangleSequenceID()
50 m_stream << bstr; in mangleSequenceID()
/external/webrtc/webrtc/base/
Dwinfirewall.cc137 _bstr_t bstr = filename; in AddApplicationW() local
138 hr = app->put_ProcessImageFileName(bstr); in AddApplicationW()
139 bstr = friendly_name; in AddApplicationW()
141 hr = app->put_Name(bstr); in AddApplicationW()
/external/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp997 CFX_ByteString bstr; in GetByteString() local
999 FX_CHAR* dest_buf = bstr.GetBuffer(dest_len); in GetByteString()
1002 bstr.ReleaseBuffer(dest_len); in GetByteString()
1004 return bstr; in GetByteString()
1009 const CFX_ByteStringC& bstr) { in GetWideString() argument
1011 int src_len = bstr.GetLength(); in GetWideString()
1013 FXSYS_MultiByteToWideChar(codepage, 0, bstr.c_str(), src_len, nullptr, 0); in GetWideString()
1017 FXSYS_MultiByteToWideChar(codepage, 0, bstr.c_str(), src_len, dest_buf, in GetWideString()
Dfx_basic_gcc.cpp238 const FX_CHAR* bstr, in FXSYS_MultiByteToWideChar() argument
245 buf[wlen] = bstr[i]; in FXSYS_MultiByteToWideChar()
Dfx_system.h235 const char* bstr,
Dfx_basic.h140 const CFX_ByteStringC& bstr);
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs366 ByteString bstr = cin.ReadBytes(); in TestCodedInputOutputPosition()
367 Assert.AreEqual(110, bstr.Length); in TestCodedInputOutputPosition()
368 Assert.AreEqual((byte) 109, bstr[109]); in TestCodedInputOutputPosition()
/external/pdfium/fpdfsdk/javascript/
DJS_Value.cpp130 CFX_ByteString bstr = ToCFXByteString(pRuntime); in MaybeCoerceToNumber() local
131 if (bstr.GetLength() == 0) in MaybeCoerceToNumber()
133 if (bstr == "NaN") in MaybeCoerceToNumber()
/external/pdfium/fpdfsdk/
Dfpdfview.cpp1161 FPDF_LPCSTR bstr, in FPDF_BStr_Set() argument
1165 if (!bstr || !length) in FPDF_BStr_Set()
1168 length = FXSYS_strlen(bstr); in FPDF_BStr_Set()
1185 FXSYS_memcpy(str->str, bstr, length); in FPDF_BStr_Set()
/external/pdfium/public/
Dfpdfview.h1027 FPDF_LPCSTR bstr,

12