/external/iproute2/tc/ |
D | m_ematch.h | 14 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 …]
|
D | em_meta.c | 125 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()
|
D | m_ematch.c | 257 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()
|
D | em_nbyte.c | 41 struct bstr *args) in nbyte_parse_eopt() 43 struct bstr *a; in nbyte_parse_eopt() 44 struct bstr *needle = args; in nbyte_parse_eopt()
|
D | em_u32.c | 37 struct bstr *args) in u32_parse_eopt() 39 struct bstr *a; in u32_parse_eopt()
|
D | em_canid.c | 58 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()
|
D | em_cmp.c | 41 struct bstr *args) in cmp_parse_eopt() 43 struct bstr *a; in cmp_parse_eopt()
|
D | emp_ematch.y | 16 struct bstr *b;
|
D | em_ipset.c | 199 struct bstr *args) in ipset_parse_eopt()
|
/external/lzma/CPP/Common/ |
D | MyWindows.cpp | 49 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 …]
|
D | MyWindows.h | 197 MY_EXTERN_C void SysFreeString(BSTR bstr); 198 MY_EXTERN_C UINT SysStringByteLen(BSTR bstr); 199 MY_EXTERN_C UINT SysStringLen(BSTR bstr);
|
D | MyCom.h | 76 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/ |
D | fpdf_parser_utility.cpp | 90 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()
|
D | fpdf_parser_decode.cpp | 464 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()
|
D | fpdf_parser_decode.h | 25 CFX_WideString PDF_DecodeText(const CFX_ByteString& bstr);
|
/external/spirv-llvm/lib/SPIRV/Mangler/ |
D | Mangler.cpp | 43 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/ |
D | winfirewall.cc | 137 _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/ |
D | fx_basic_wstring.cpp | 997 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()
|
D | fx_basic_gcc.cpp | 238 const FX_CHAR* bstr, in FXSYS_MultiByteToWideChar() argument 245 buf[wlen] = bstr[i]; in FXSYS_MultiByteToWideChar()
|
D | fx_system.h | 235 const char* bstr,
|
D | fx_basic.h | 140 const CFX_ByteStringC& bstr);
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | CodedOutputStreamTest.cs | 366 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/ |
D | JS_Value.cpp | 130 CFX_ByteString bstr = ToCFXByteString(pRuntime); in MaybeCoerceToNumber() local 131 if (bstr.GetLength() == 0) in MaybeCoerceToNumber() 133 if (bstr == "NaN") in MaybeCoerceToNumber()
|
/external/pdfium/fpdfsdk/ |
D | fpdfview.cpp | 1161 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/ |
D | fpdfview.h | 1027 FPDF_LPCSTR bstr,
|