HomeSort by relevance Sort by last modified time
    Searched refs:chs (Results 1 - 17 of 17) sorted by null

  /frameworks/base/core/java/android/text/
AndroidBidi.java 25 public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) {
26 if (chs == null || chInfo == null) {
30 if (n < 0 || chs.length < n || chInfo.length < n) {
42 int result = runBidi(dir, chs, chInfo, n, haveInfo);
47 private native static int runBidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo);
StaticLayout.java 142 char[] chs = mChs; local
213 if (end - start > chs.length) {
214 chs = new char[ArrayUtils.idealCharArraySize(end - start)];
215 mChs = chs;
222 TextUtils.getChars(source, start, end, chs, 0);
230 if (chs[i] >= FIRST_RIGHT_TO_LEFT) {
249 chs[x - start] = '\uFFFC';
256 dir = bidi(dir, chs, chdirs, n, false);
270 if (AndroidCharacter.mirror(chs, i, j - i))
282 alter = AlteredCharSequence.make(source, chs, start, end)
    [all...]
  /frameworks/base/core/jni/
android_text_AndroidBidi.cpp 43 jchar* chs = env->GetCharArrayElements(chsArray, NULL); local
44 if (chs != NULL) {
49 ubidi_setPara(bidi, chs, n, dir, NULL, &status);
62 env->ReleaseCharArrayElements(chsArray, chs, JNI_ABORT);
  /frameworks/base/core/tests/coretests/src/android/text/
StaticLayoutBidiTest.java 84 char[] chs = text.toCharArray(); local
85 int n = chs.length;
88 int resultDir = StaticLayout.bidi(dir, chs, chInfo, n, false);
115 char[] chs = text.toCharArray(); local
116 int n = chs.length;
119 int resultDir = AndroidBidi.bidi(dir, chs, chInfo, n, false);
  /external/e2fsprogs/lib/ext2fs/
dosio.c 83 * Calculates a CHS address of a sector from its LBA
86 static void lba2chs(unsigned long lba_addr, CHS *chs, PARTITION *part)
90 chs->offset = lba_addr & 0x000001FF;
92 chs->cyl = abss / (part->sects * part->heads);
93 chs->head = (abss / part->sects) % part->heads;
94 chs->sector = (abss % part->sects) + 1;
376 CHS chs; local
384 lba2chs(loc, &chs, part)
413 CHS chs; local
    [all...]
  /bootable/diskinstaller/libdiskconfig/
diskconfig.h 50 struct chs { struct
60 struct chs start; /* bytes 1-3 */
62 struct chs end; /* bytes 5-7 */
config_mbr.c 37 memset(&pentry->start, 0xff, sizeof(struct chs));
38 memset(&pentry->end, 0xff, sizeof(struct chs));
41 memset(&pentry->start, 0, sizeof(struct chs));
42 memset(&pentry->end, 0, sizeof(struct chs));
  /frameworks/base/awt/javax/imageio/stream/
ImageOutputStreamImpl.java 110 char[] chs = s.toCharArray(); local
111 writeChars(chs, 0, chs.length);
  /system/core/include/diskconfig/
diskconfig.h 55 struct chs { struct
65 struct chs start; /* bytes 1-3 */
67 struct chs end; /* bytes 5-7 */
  /external/webkit/WebCore/loader/
CachedScript.cpp 63 void CachedScript::setEncoding(const String& chs)
65 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
CachedXBLDocument.cpp 61 void CachedXBLDocument::setEncoding(const String& chs)
63 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
CachedXSLStyleSheet.cpp 54 void CachedXSLStyleSheet::setEncoding(const String& chs)
56 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
CachedCSSStyleSheet.cpp 64 void CachedCSSStyleSheet::setEncoding(const String& chs)
66 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
  /external/apache-http/src/org/apache/http/message/
BasicHeaderValueParser.java 304 private static boolean isOneOf(final char ch, final char[] chs) {
305 if (chs != null) {
306 for (int i = 0; i < chs.length; i++) {
307 if (ch == chs[i]) {
  /system/core/libdiskconfig/
config_mbr.c 37 memset(&pentry->start, 0xff, sizeof(struct chs));
38 memset(&pentry->end, 0xff, sizeof(struct chs));
41 memset(&pentry->start, 0, sizeof(struct chs));
42 memset(&pentry->end, 0, sizeof(struct chs));
  /external/webkit/WebCore/platform/text/
StringImpl.cpp 486 int StringImpl::find(const char* chs, int index, bool caseSensitive)
488 if (!chs || index < 0)
491 int chsLength = strlen(chs);
499 const char* chsPlusOne = chs + 1;
504 UChar c = *chs;
510 UChar lc = Unicode::foldCase(*chs);
  /external/qemu/block/
vvfat.c 356 * if the position is outside the specified geometry, fill maximum value for CHS
359 static int sector2CHS(BlockDriverState* bs, mbr_chs_t * chs, int spos){
365 it happens if 32bit sector positions are used, while CHS is only 24bit.
366 Windows/Dos is said to take 1023/255/63 as nonrepresentable CHS */
367 chs->head = 0xFF;
368 chs->sector = 0xFF;
369 chs->cylinder = 0xFF;
372 chs->head = (uint8_t)head;
373 chs->sector = (uint8_t)( (sector+1) | ((spos>>8)<<6) );
374 chs->cylinder = (uint8_t)spos
    [all...]

Completed in 2758 milliseconds