/external/grpc-grpc/src/ruby/lib/grpc/ |
D | errors.rb | 55 codes = {} 56 codes[OK] = Ok 57 codes[CANCELLED] = Cancelled 58 codes[UNKNOWN] = Unknown 59 codes[INVALID_ARGUMENT] = InvalidArgument 60 codes[DEADLINE_EXCEEDED] = DeadlineExceeded 61 codes[NOT_FOUND] = NotFound 62 codes[ALREADY_EXISTS] = AlreadyExists 63 codes[PERMISSION_DENIED] = PermissionDenied 64 codes[UNAUTHENTICATED] = Unauthenticated [all …]
|
/external/grpc-grpc/src/core/lib/slice/ |
D | b64.cc | 131 static void decode_one_char(const unsigned char* codes, unsigned char* result, in decode_one_char() argument 133 uint32_t packed = (static_cast<uint32_t>(codes[0]) << 2) | in decode_one_char() 134 (static_cast<uint32_t>(codes[1]) >> 4); in decode_one_char() 138 static void decode_two_chars(const unsigned char* codes, unsigned char* result, in decode_two_chars() argument 140 uint32_t packed = (static_cast<uint32_t>(codes[0]) << 10) | in decode_two_chars() 141 (static_cast<uint32_t>(codes[1]) << 4) | in decode_two_chars() 142 (static_cast<uint32_t>(codes[2]) >> 2); in decode_two_chars() 147 static int decode_group(const unsigned char* codes, size_t num_codes, in decode_group() argument 157 decode_one_char(codes, result, result_offset); in decode_group() 161 decode_two_chars(codes, result, result_offset); in decode_group() [all …]
|
/external/syzkaller/vendor/google.golang.org/grpc/transport/ |
D | http_util.go | 59 http2ErrConvTab = map[http2.ErrCode]codes.Code{ 60 http2.ErrCodeNo: codes.Internal, 61 http2.ErrCodeProtocol: codes.Internal, 62 http2.ErrCodeInternal: codes.Internal, 63 http2.ErrCodeFlowControl: codes.ResourceExhausted, 64 http2.ErrCodeSettingsTimeout: codes.Internal, 65 http2.ErrCodeStreamClosed: codes.Internal, 66 http2.ErrCodeFrameSize: codes.Internal, 67 http2.ErrCodeRefusedStream: codes.Unavailable, 68 http2.ErrCodeCancel: codes.Canceled, [all …]
|
/external/syzkaller/vendor/google.golang.org/grpc/status/ |
D | status.go | 46 return fmt.Sprintf("rpc error: code = %s desc = %s", codes.Code(p.GetCode()), p.GetMessage()) 60 func (s *Status) Code() codes.Code { 62 return codes.OK 64 return codes.Code(s.s.Code) 86 if s.Code() == codes.OK { 93 func New(c codes.Code, msg string) *Status { 98 func Newf(c codes.Code, format string, a ...interface{}) *Status { 103 func Error(c codes.Code, msg string) error { 108 func Errorf(c codes.Code, format string, a ...interface{}) error { 127 return &Status{s: &spb.Status{Code: int32(codes.OK)}}, true [all …]
|
D | go16.go | 34 return New(codes.OK, "") 36 return New(codes.DeadlineExceeded, err.Error()) 38 return New(codes.Canceled, err.Error()) 40 return New(codes.Unknown, err.Error())
|
D | go17.go | 36 return New(codes.OK, "") 38 return New(codes.DeadlineExceeded, err.Error()) 40 return New(codes.Canceled, err.Error()) 42 return New(codes.Unknown, err.Error())
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationSettings.java | 136 int[] codes; in aliasReordering() local 138 codes = codesAndRanges; in aliasReordering() 140 codes = Arrays.copyOf(codesAndRanges, codesLength); in aliasReordering() 153 reorderCodes = codes; in aliasReordering() 175 setReordering(data, codes); in aliasReordering() 178 public void setReordering(CollationData data, int[] codes) { in setReordering() argument 179 if(codes.length == 0 || (codes.length == 1 && codes[0] == Collator.ReorderCodes.NONE)) { in setReordering() 184 data.makeReorderRanges(codes, rangesList); in setReordering() 233 setReorderArrays(codes, ranges, rangesStart, rangesLength, table); in setReordering() 236 private void setReorderArrays(int[] codes, in setReorderArrays() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationSettings.java | 138 int[] codes; in aliasReordering() local 140 codes = codesAndRanges; in aliasReordering() 142 codes = Arrays.copyOf(codesAndRanges, codesLength); in aliasReordering() 155 reorderCodes = codes; in aliasReordering() 177 setReordering(data, codes); in aliasReordering() 180 public void setReordering(CollationData data, int[] codes) { in setReordering() argument 181 if(codes.length == 0 || (codes.length == 1 && codes[0] == Collator.ReorderCodes.NONE)) { in setReordering() 186 data.makeReorderRanges(codes, rangesList); in setReordering() 235 setReorderArrays(codes, ranges, rangesStart, rangesLength, table); in setReordering() 238 private void setReorderArrays(int[] codes, in setReorderArrays() argument [all …]
|
/external/u-boot/fs/jffs2/ |
D | mini_inflate.c | 37 stream->codes.bits = 8; in init_stream() 38 stream->codes.num_symbols = 19; in init_stream() 39 stream->codes.lengths = stream->code_lengths; in init_stream() 40 stream->codes.symbols = stream->code_symbols; in init_stream() 41 stream->codes.count = stream->code_count; in init_stream() 42 stream->codes.first = stream->code_first; in init_stream() 43 stream->codes.pos = stream->code_pos; in init_stream() 224 struct huffman_set *codes = &(stream->codes); in decompress_dynamic() local 235 init_code_tables(codes); in decompress_dynamic() 243 codes->lengths[huffman_order[i]] = length; in decompress_dynamic() [all …]
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_cmap.cpp | 184 int CheckFourByteCodeRange(uint8_t* codes, in CheckFourByteCodeRange() argument 193 if (codes[iChar] < ranges[seg].m_Lower[iChar] || in CheckFourByteCodeRange() 194 codes[iChar] > ranges[seg].m_Upper[iChar]) { in CheckFourByteCodeRange() 213 uint8_t codes[4]; in GetFourByteCharSizeImpl() local 214 codes[0] = codes[1] = 0x00; in GetFourByteCharSizeImpl() 215 codes[2] = static_cast<uint8_t>(charcode >> 8 & 0xFF); in GetFourByteCharSizeImpl() 216 codes[3] = static_cast<uint8_t>(charcode); in GetFourByteCharSizeImpl() 225 if (codes[offset + iChar] < ranges[iSeg].m_Lower[iChar] || in GetFourByteCharSizeImpl() 226 codes[offset + iChar] > ranges[iSeg].m_Upper[iChar]) { in GetFourByteCharSizeImpl() 359 uint8_t codes[4]; in GetNextChar() local [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | huffman_codec.cpp | 116 std::vector<std::string> codes; in TEST() local 118 codes.push_back(BitsToStream(entry.second.first, entry.second.second)); in TEST() 121 std::sort(codes.begin(), codes.end()); in TEST() 123 ASSERT_LT(codes.size(), 20u) << "Inefficient test ahead"; in TEST() 125 for (size_t i = 0; i < codes.size(); ++i) { in TEST() 126 for (size_t j = i + 1; j < codes.size(); ++j) { in TEST() 127 ASSERT_FALSE(codes[i] == codes[j].substr(0, codes[i].length())) in TEST() 128 << codes[i] << " is prefix of " << codes[j]; in TEST()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | huffman_codec.cpp | 116 std::vector<std::string> codes; in TEST() local 118 codes.push_back(BitsToStream(entry.second.first, entry.second.second)); in TEST() 121 std::sort(codes.begin(), codes.end()); in TEST() 123 ASSERT_LT(codes.size(), 20u) << "Inefficient test ahead"; in TEST() 125 for (size_t i = 0; i < codes.size(); ++i) { in TEST() 126 for (size_t j = i + 1; j < codes.size(); ++j) { in TEST() 127 ASSERT_FALSE(codes[i] == codes[j].substr(0, codes[i].length())) in TEST() 128 << codes[i] << " is prefix of " << codes[j]; in TEST()
|
/external/python/cpython2/Tools/ssl/ |
D | make_ssl_data.py | 22 codes = [] 30 codes.append((code, (libcode, name, num))) 31 return codes 54 codes = {} variable 61 codes[errcode] = libcode, errname, errnum 62 codes.update(dict(new_codes)) 78 for errcode, (libcode, name, num) in sorted(codes.items()):
|
/external/python/cpython3/Tools/ssl/ |
D | make_ssl_data.py | 22 codes = [] 30 codes.append((code, (libcode, name, num))) 31 return codes 54 codes = {} variable 61 codes[errcode] = libcode, errname, errnum 62 codes.update(dict(new_codes)) 78 for errcode, (libcode, name, num) in sorted(codes.items()):
|
/external/libexif/libexif/ |
D | exif-log.c | 42 } codes[] = { variable 57 for (i = 0; codes[i].title; i++) if (codes[i].code == code) break; in exif_log_code_get_title() 58 return _(codes[i].title); in exif_log_code_get_title() 66 for (i = 0; codes[i].message; i++) if (codes[i].code == code) break; in exif_log_code_get_message() 67 return _(codes[i].message); in exif_log_code_get_message()
|
/external/pcre/dist2/src/ |
D | pcre2_serialize.c | 72 pcre2_serialize_encode(const pcre2_code **codes, int32_t number_of_codes, in pcre2_serialize_encode() argument 87 if (codes == NULL || serialized_bytes == NULL || serialized_size == NULL) in pcre2_serialize_encode() 98 if (codes[i] == NULL) return PCRE2_ERROR_NULL; in pcre2_serialize_encode() 99 re = (const pcre2_real_code *)(codes[i]); in pcre2_serialize_encode() 129 re = (const pcre2_real_code *)(codes[i]); in pcre2_serialize_encode() 163 pcre2_serialize_decode(pcre2_code **codes, int32_t number_of_codes, in pcre2_serialize_decode() argument 177 if (data == NULL || codes == NULL) return PCRE2_ERROR_NULL; in pcre2_serialize_decode() 222 memctl->free(codes[j], memctl->memory_data); in pcre2_serialize_decode() 223 codes[j] = NULL; in pcre2_serialize_decode() 246 codes[i] = dst_re; in pcre2_serialize_decode()
|
/external/mesa3d/src/glx/ |
D | dri2.c | 65 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code); 95 switch ((wire->u.u.type & 0x7f) - info->codes->first_event) { in DRI2WireToEvent() 180 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code) in DRI2Error() argument 182 if (err->majorCode == codes->major_opcode && in DRI2Error() 190 if (err->majorCode == codes->major_opcode && in DRI2Error() 197 if (err->majorCode == codes->major_opcode && in DRI2Error() 213 *eventBase = info->codes->first_event; in DRI2QueryExtension() 214 *errorBase = info->codes->first_error; in DRI2QueryExtension() 233 req->reqType = info->codes->major_opcode; in DRI2QueryVersion() 261 XESetWireToEvent (dpy, info->codes->first_event + i, DRI2WireToEvent); in DRI2QueryVersion() [all …]
|
D | XF86dri.c | 105 *event_basep = info->codes->first_event; 106 *error_basep = info->codes->first_error; 129 req->reqType = info->codes->major_opcode; in XF86DRIQueryVersion() 159 req->reqType = info->codes->major_opcode; in XF86DRIQueryDirectRenderingCapable() 188 req->reqType = info->codes->major_opcode; in XF86DRIOpenConnection() 239 req->reqType = info->codes->major_opcode; in XF86DRIAuthConnection() 268 req->reqType = info->codes->major_opcode; in XF86DRICloseConnection() 293 req->reqType = info->codes->major_opcode; in XF86DRIGetClientDriverName() 343 req->reqType = info->codes->major_opcode; in XF86DRICreateContextWithConfig() 381 req->reqType = info->codes->major_opcode; in XF86DRIDestroyContext() [all …]
|
/external/syzkaller/vendor/google.golang.org/grpc/ |
D | rpc_util.go | 463 …return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max leng… 466 …return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max (%d … 489 return nil, status.Errorf(codes.Internal, "grpc: error while marshaling: %v", err.Error()) 492 return nil, status.Errorf(codes.ResourceExhausted, "grpc: message too large (%d bytes)", len(b)) 506 return status.Errorf(codes.Internal, "grpc: error while compressing: %v", err.Error()) 563 return status.New(codes.Internal, "grpc: compressed flag set with identity or empty encoding") 566 …return status.Newf(codes.Unimplemented, "grpc: Decompressor is not installed for grpc-encoding %q"… 569 return status.Newf(codes.Internal, "grpc: received unexpected payload format %d", pf) 596 return status.Errorf(codes.Internal, "grpc: failed to decompress the received message %v", err) 601 return status.Errorf(codes.Internal, "grpc: failed to decompress the received message %v", err) [all …]
|
/external/fonttools/Lib/fontTools/ |
D | unicode.py | 22 codes = _makeunicodes(fd) 24 codes = _makeunicodes(f) 25 self.codes = codes 29 return self.codes[charCode]
|
/external/syzkaller/vendor/github.com/googleapis/gax-go/ |
D | call_option.go | 71 func OnCodes(cc []codes.Code, bo Backoff) Retryer { 74 codes: append([]codes.Code(nil), cc...), 80 codes []codes.Code member 89 for _, rc := range r.codes {
|
/external/grpc-grpc/doc/ |
D | statuscodes.md | 1 # Status codes and their use in gRPC 3 gRPC uses a set of well defined status codes as part of the RPC API. All 10 the pre-defined status codes are generated by the gRPC libraries. This 13 server-side to return one of the codes generated by the gRPC libraries). 15 The following table lists the codes that may be returned by the gRPC 43 The following status codes are never generated by the library: 52 …codes on which to retry. As shown in the table above, the gRPC library can generate the same statu…
|
/external/mesa3d/src/glx/apple/ |
D | appledri.c | 102 switch ((event->u.u.type & 0x7f) - info->codes->first_event) { in wire_to_event() 137 *event_basep = info->codes->first_event; 138 *error_basep = info->codes->first_error; 164 req->reqType = info->codes->major_opcode; 196 req->reqType = info->codes->major_opcode; 227 req->reqType = info->codes->major_opcode; 262 req->reqType = info->codes->major_opcode; 297 req->reqType = info->codes->major_opcode; 320 req->reqType = info->codes->major_opcode; in XAppleDRICreateSharedBuffer() 366 req->reqType = info->codes->major_opcode; in XAppleDRISwapBuffers() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | IsoRegionData.java | 44 BufferedReader codes; 45 codes = CldrUtility.getUTF8Data("tlds-alpha-by-domain.txt"); 48 String line = codes.readLine(); 67 codes.close(); in codes.close() 70 codes = CldrUtility.getUTF8Data("territory_codes.txt"); 72 String line = codes.readLine(); 108 codes.close(); in codes.close()
|
/external/libdrm/tests/ttmtest/src/ |
D | xf86dri.c | 103 *event_basep = info->codes->first_event; 104 *error_basep = info->codes->first_error; 129 req->reqType = info->codes->major_opcode; 161 req->reqType = info->codes->major_opcode; 193 req->reqType = info->codes->major_opcode; 242 req->reqType = info->codes->major_opcode; 273 req->reqType = info->codes->major_opcode; 301 req->reqType = info->codes->major_opcode; 351 req->reqType = info->codes->major_opcode; 394 req->reqType = info->codes->major_opcode; in uniDRIDestroyContext() [all …]
|