OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:firstByte
(Results
1 - 25
of
136
) sorted by null
1
2
3
4
5
6
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
utf8_utils.h
49
static int getSequenceSizeByCheckingFirstByte(const uint8_t
firstByte
);
50
static int maskFirstByte(const uint8_t
firstByte
, const int encodeSize);
utf8_utils.cpp
65
/* static */ int Utf8Utils::getSequenceSizeByCheckingFirstByte(const uint8_t
firstByte
) {
67
if ((
firstByte
& FIRST_BYTE_MARKER_MASKS[i]) == FIRST_BYTE_MARKERS[i]) {
75
/* static */ AK_FORCE_INLINE int Utf8Utils::maskFirstByte(const uint8_t
firstByte
,
77
return
firstByte
& FIRST_BYTE_CODE_POINT_BITS_MASKS[sequenceSize];
/external/icu/android_icu4j/src/main/java/android/icu/text/
CharsetRecog_mbcs.java
204
int
firstByte
;
205
firstByte
= it.charValue = it.nextByte(det);
206
if (
firstByte
< 0) {
210
if (
firstByte
<= 0x7f || (
firstByte
>0xa0 &&
firstByte
<=0xdf)) {
218
it.charValue = (
firstByte
<< 8) | secondByte;
270
int
firstByte
;
271
firstByte
= it.charValue = it.nextByte(det);
272
if (
firstByte
< 0)
[
all
...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CharsetRecog_mbcs.java
203
int
firstByte
;
204
firstByte
= it.charValue = it.nextByte(det);
205
if (
firstByte
< 0) {
209
if (
firstByte
<= 0x7f || (
firstByte
>0xa0 &&
firstByte
<=0xdf)) {
217
it.charValue = (
firstByte
<< 8) | secondByte;
269
int
firstByte
;
270
firstByte
= it.charValue = it.nextByte(det);
271
if (
firstByte
< 0)
[
all
...]
/external/icu/icu4c/source/i18n/
csrmbcs.cpp
248
int32_t
firstByte
= it->charValue = it->nextByte(det);
250
if (
firstByte
< 0) {
254
if (
firstByte
<= 0x7F || (
firstByte
> 0xA0 &&
firstByte
<= 0xDF)) {
260
it->charValue = (
firstByte
<< 8) | secondByte;
294
int32_t
firstByte
= 0;
300
firstByte
= it->charValue = it->nextByte(det);
302
if (
firstByte
< 0) {
307
if (
firstByte
<= 0x8D)
[
all
...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
BIG5Tool.java
304
int
firstByte
= 0;
308
firstByte
= it.charValue = it.nextByte();
309
if (
firstByte
< 0) {
314
if (
firstByte
<= 0x0080 ||
315
(sjis &&
firstByte
>=0x00a0 &&
firstByte
< 0x00e0) ||
316
(sjis &&
firstByte
>=0x00fd &&
firstByte
<=0x00ff)) {
332
System.out.println("Error " + Integer.toHexString(
firstByte
) + " " + Integer.toHexString(secondByte));
EUCTool.java
304
int
firstByte
= 0;
310
firstByte
= it.charValue = it.nextByte();
311
if (
firstByte
< 0) {
316
if (
firstByte
<= 0x8d) {
324
if (
firstByte
>= 0xA1 &&
firstByte
<= 0xfe) {
331
if (
firstByte
== 0x8e) {
344
if (
firstByte
== 0x8f) {
356
System.out.println("Error " + Integer.toHexString(
firstByte
) + " " + Integer.toHexString(secondByte)
/external/jline/src/src/main/java/jline/
UnixTerminal.java
371
byte
firstByte
;
384
this.
firstByte
= (byte) recorded;
399
if ((
firstByte
& (byte) 0xE0) == (byte) 0xC0)
402
else if ((
firstByte
& (byte) 0xF0) == (byte) 0xE0)
405
else if ((
firstByte
& (byte) 0xF8) == (byte) 0xF0)
408
throw new IOException("invalid UTF-8 first byte: " +
firstByte
);
418
return
firstByte
;
WindowsTerminal.java
457
byte
firstByte
;
470
this.
firstByte
= (byte) recorded;
485
if ((
firstByte
& (byte) 0xE0) == (byte) 0xC0)
488
else if ((
firstByte
& (byte) 0xF0) == (byte) 0xE0)
491
else if ((
firstByte
& (byte) 0xF8) == (byte) 0xF0)
494
throw new IOException("invalid UTF-8 first byte: " +
firstByte
);
504
return
firstByte
;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
patricia_trie_reading_utils.cpp
49
const uint8_t
firstByte
= ByteArrayUtils::readUint8AndAdvancePosition(buffer, pos);
50
if (
firstByte
< 0x80) {
51
return
firstByte
;
53
return ((
firstByte
& 0x7F) << 8) ^ ByteArrayUtils::readUint8AndAdvancePosition(
/external/walt/ios/WALT/
MIDIClient.m
119
const Byte
firstByte
= packet->data[0];
122
if (
firstByte
>= 0x80 &&
firstByte
!= MIDIMessageSysEx &&
firstByte
!= MIDIMessageSysExEnd) {
141
if (
firstByte
== MIDIMessageSysEx) {
145
} else if (
firstByte
< 0x80 ||
firstByte
== MIDIMessageSysExEnd) {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
byte_array_utils.h
160
* codePointTable. The indices are calculated by subtracting 0x20 from the
firstByte
.
162
const uint8_t
firstByte
= readUint8(buffer, *pos);
163
if (
firstByte
< MINIMUM_ONE_BYTE_CHARACTER_VALUE) {
164
if (
firstByte
== CHARACTER_ARRAY_TERMINATOR) {
173
return codePointTable[
firstByte
- MINIMUM_ONE_BYTE_CHARACTER_VALUE];
175
return
firstByte
;
/external/guava/guava/src/com/google/common/io/
GwtWorkarounds.java
118
int
firstByte
= read();
119
if (
firstByte
== -1) {
122
b[off] = (byte)
firstByte
;
/frameworks/base/core/java/android/net/
NetworkUtils.java
282
int
firstByte
= address.getAddress()[0] & 0xff; // Convert to an unsigned value.
283
if (
firstByte
< 128) {
285
} else if (
firstByte
< 192) {
287
} else if (
firstByte
< 224) {
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
SmsMessage.java
[
all
...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
ImageHeaderParser.java
87
int
firstByte
= streamReader.getUInt8();
90
if (
firstByte
== EXIF_MAGIC_NUMBER >> 8) {
94
final int firstTwoBytes =
firstByte
<< 8 & 0xFF00 | streamReader.getUInt8() & 0xFF;
/external/protobuf/java/core/src/main/java/com/google/protobuf/
AbstractMessageLite.java
309
final int
firstByte
= input.read();
310
if (
firstByte
== -1) {
313
final int size = CodedInputStream.readRawVarint32(
firstByte
, input);
AbstractParser.java
229
int
firstByte
= input.read();
230
if (
firstByte
== -1) {
233
size = CodedInputStream.readRawVarint32(
firstByte
, input);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
Hpack.java
321
int readInt(int
firstByte
, int prefixMask) throws IOException {
322
int prefix =
firstByte
& prefixMask;
345
int
firstByte
= readByte();
346
boolean huffmanDecode = (
firstByte
& 0x80) == 0x80; // 1NNNNNNN
347
int length = readInt(
firstByte
, PREFIX_7_BITS);
/external/lzma/C/
7zArcIn.c
195
Byte
firstByte
, mask;
199
SZ_READ_BYTE(
firstByte
);
200
if ((
firstByte
& 0x80) == 0)
202
*value =
firstByte
;
206
if ((
firstByte
& 0x40) == 0)
208
*value = (((UInt32)
firstByte
& 0x3F) << 8) | v;
217
if ((
firstByte
& mask) == 0)
219
UInt64 highPart = (unsigned)
firstByte
& (unsigned)(mask - 1);
233
Byte
firstByte
;
237
firstByte
= *sd->Data;
[
all
...]
/external/dng_sdk/source/
dng_iptc.cpp
253
uint8
firstByte
= stream.Get_uint8 ();
255
if (
firstByte
!= 0x1C) break;
339
uint8
firstByte
= stream.Get_uint8 ();
341
if (
firstByte
!= 0x1C) break;
/external/llvm/include/llvm/Support/
ConvertUTF.h
175
unsigned getNumBytesForUTF8(UTF8
firstByte
);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
ConvertUTF.h
178
unsigned getNumBytesForUTF8(UTF8
firstByte
);
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
ConvertUTF.h
178
unsigned getNumBytesForUTF8(UTF8
firstByte
);
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/
ConvertUTF.h
178
unsigned getNumBytesForUTF8(UTF8
firstByte
);
Completed in 1043 milliseconds
1
2
3
4
5
6