/external/chromium_org/third_party/skia/src/gpu/gl/ |
D | GrGLUniformManager.cpp | 15 SkASSERT(arrayCount <= uni.fArrayCount || \ 16 (1 == arrayCount && GrGLShaderVar::kNonArray == uni.fArrayCount)) 24 Uniform& uni = fUniforms.push_back(); in appendUniform() local 26 uni.fArrayCount = arrayCount; in appendUniform() 27 uni.fType = type; in appendUniform() 28 uni.fVSLocation = kUnusedUniform; in appendUniform() 29 uni.fFSLocation = kUnusedUniform; in appendUniform() 34 const Uniform& uni = fUniforms[u.toUniformIndex()]; in setSampler() local 35 SkASSERT(uni.fType == kSampler2D_GrSLType); in setSampler() 36 SkASSERT(GrGLShaderVar::kNonArray == uni.fArrayCount); in setSampler() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLUniformManager.cpp | 15 SkASSERT(arrayCount <= uni.fArrayCount || \ 16 (1 == arrayCount && GrGLShaderVar::kNonArray == uni.fArrayCount)) 24 Uniform& uni = fUniforms.push_back(); in appendUniform() local 26 uni.fArrayCount = arrayCount; in appendUniform() 27 uni.fType = type; in appendUniform() 28 uni.fVSLocation = kUnusedUniform; in appendUniform() 29 uni.fFSLocation = kUnusedUniform; in appendUniform() 34 const Uniform& uni = fUniforms[u.toUniformIndex()]; in setSampler() local 35 SkASSERT(uni.fType == kSampler2D_GrSLType); in setSampler() 36 SkASSERT(GrGLShaderVar::kNonArray == uni.fArrayCount); in setSampler() [all …]
|
/external/icu4c/common/ |
D | unorm_it.c | 68 initIndexes(UNormIterator *uni, UCharIterator *iter) { in initIndexes() argument 70 UCharIterator *api=&uni->api; in initIndexes() 75 uni->hasPrevious=FALSE; in initIndexes() 76 uni->hasNext=iter->hasNext(iter); in initIndexes() 79 api->start=api->index=api->limit=uni->capacity; in initIndexes() 80 uni->hasNext=FALSE; in initIndexes() 81 uni->hasPrevious=iter->hasPrevious(iter); in initIndexes() 84 api->start=api->index=api->limit=uni->capacity/2; in initIndexes() 85 uni->hasPrevious=uni->hasNext=TRUE; in initIndexes() 90 reallocArrays(UNormIterator *uni, int32_t capacity, UBool addAtStart) { in reallocArrays() argument [all …]
|
D | unorm_it.h | 115 unorm_closeIter(UNormIterator *uni); 144 unorm_setIter(UNormIterator *uni, UCharIterator *iter, UNormalizationMode mode, UErrorCode *pErrorC…
|
/external/chromium_org/third_party/icu/source/common/ |
D | unorm_it.c | 67 initIndexes(UNormIterator *uni, UCharIterator *iter) { in initIndexes() argument 69 UCharIterator *api=&uni->api; in initIndexes() 74 uni->hasPrevious=FALSE; in initIndexes() 75 uni->hasNext=iter->hasNext(iter); in initIndexes() 78 api->start=api->index=api->limit=uni->capacity; in initIndexes() 79 uni->hasNext=FALSE; in initIndexes() 80 uni->hasPrevious=iter->hasPrevious(iter); in initIndexes() 83 api->start=api->index=api->limit=uni->capacity/2; in initIndexes() 84 uni->hasPrevious=uni->hasNext=TRUE; in initIndexes() 89 reallocArrays(UNormIterator *uni, int32_t capacity, UBool addAtStart) { in reallocArrays() argument [all …]
|
D | unorm_it.h | 115 unorm_closeIter(UNormIterator *uni); 144 unorm_setIter(UNormIterator *uni, UCharIterator *iter, UNormalizationMode mode, UErrorCode *pErrorC…
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | uniform_query.cpp | 59 const struct gl_uniform_storage *const uni = &shProg->UniformStorage[index]; in _mesa_GetActiveUniformARB() local 62 _mesa_copy_string(nameOut, maxLength, length, uni->name); in _mesa_GetActiveUniformARB() 69 *size = MAX2(1, uni->array_elements); in _mesa_GetActiveUniformARB() 73 *type = uni->type->gl_type; in _mesa_GetActiveUniformARB() 109 const struct gl_uniform_storage *uni = &shProg->UniformStorage[index]; in _mesa_GetActiveUniformsiv() local 113 params[i] = uni->type->gl_type; in _mesa_GetActiveUniformsiv() 120 params[i] = MAX2(1, uni->array_elements); in _mesa_GetActiveUniformsiv() 124 params[i] = strlen(uni->name) + 1; in _mesa_GetActiveUniformsiv() 128 params[i] = uni->block_index; in _mesa_GetActiveUniformsiv() 132 params[i] = uni->offset; in _mesa_GetActiveUniformsiv() [all …]
|
D | uniforms.c | 96 _mesa_uniform_attach_driver_storage(struct gl_uniform_storage *uni, in _mesa_uniform_attach_driver_storage() argument 102 uni->driver_storage = (struct gl_uniform_driver_storage*) in _mesa_uniform_attach_driver_storage() 103 realloc(uni->driver_storage, in _mesa_uniform_attach_driver_storage() 105 * (uni->num_driver_storage + 1)); in _mesa_uniform_attach_driver_storage() 107 uni->driver_storage[uni->num_driver_storage].element_stride = element_stride; in _mesa_uniform_attach_driver_storage() 108 uni->driver_storage[uni->num_driver_storage].vector_stride = vector_stride; in _mesa_uniform_attach_driver_storage() 109 uni->driver_storage[uni->num_driver_storage].format = (uint8_t) format; in _mesa_uniform_attach_driver_storage() 110 uni->driver_storage[uni->num_driver_storage].data = data; in _mesa_uniform_attach_driver_storage() 112 uni->num_driver_storage++; in _mesa_uniform_attach_driver_storage() 123 _mesa_uniform_detach_all_driver_storage(struct gl_uniform_storage *uni) in _mesa_uniform_detach_all_driver_storage() argument [all …]
|
/external/mesa3d/src/mesa/main/ |
D | uniform_query.cpp | 59 const struct gl_uniform_storage *const uni = &shProg->UniformStorage[index]; in _mesa_GetActiveUniformARB() local 62 _mesa_copy_string(nameOut, maxLength, length, uni->name); in _mesa_GetActiveUniformARB() 69 *size = MAX2(1, uni->array_elements); in _mesa_GetActiveUniformARB() 73 *type = uni->type->gl_type; in _mesa_GetActiveUniformARB() 109 const struct gl_uniform_storage *uni = &shProg->UniformStorage[index]; in _mesa_GetActiveUniformsiv() local 113 params[i] = uni->type->gl_type; in _mesa_GetActiveUniformsiv() 120 params[i] = MAX2(1, uni->array_elements); in _mesa_GetActiveUniformsiv() 124 params[i] = strlen(uni->name) + 1; in _mesa_GetActiveUniformsiv() 128 params[i] = uni->block_index; in _mesa_GetActiveUniformsiv() 132 params[i] = uni->offset; in _mesa_GetActiveUniformsiv() [all …]
|
D | uniforms.c | 96 _mesa_uniform_attach_driver_storage(struct gl_uniform_storage *uni, in _mesa_uniform_attach_driver_storage() argument 102 uni->driver_storage = (struct gl_uniform_driver_storage*) in _mesa_uniform_attach_driver_storage() 103 realloc(uni->driver_storage, in _mesa_uniform_attach_driver_storage() 105 * (uni->num_driver_storage + 1)); in _mesa_uniform_attach_driver_storage() 107 uni->driver_storage[uni->num_driver_storage].element_stride = element_stride; in _mesa_uniform_attach_driver_storage() 108 uni->driver_storage[uni->num_driver_storage].vector_stride = vector_stride; in _mesa_uniform_attach_driver_storage() 109 uni->driver_storage[uni->num_driver_storage].format = (uint8_t) format; in _mesa_uniform_attach_driver_storage() 110 uni->driver_storage[uni->num_driver_storage].data = data; in _mesa_uniform_attach_driver_storage() 112 uni->num_driver_storage++; in _mesa_uniform_attach_driver_storage() 123 _mesa_uniform_detach_all_driver_storage(struct gl_uniform_storage *uni) in _mesa_uniform_detach_all_driver_storage() argument [all …]
|
/external/skia/tests/ |
D | UnicodeTest.cpp | 21 static bool isUVS(SkUnichar uni) { in isUVS() argument 22 return (uni >= UVS_MIN0 && uni <= UVS_MAX0) || in isUVS() 23 (uni >= UVS_MIN1 && uni <= UVS_MAX1) || in isUVS() 24 (uni >= UVS_MIN2 && uni <= UVS_MAX2); in isUVS() 34 for (SkUnichar uni = gRanges[i] - 8; uni <= gRanges[i+1] + 8; ++uni) { in test_uvs() local 35 bool uvs0 = isUVS(uni); in test_uvs() 36 bool uvs1 = SkUnichar_IsVariationSelector(uni); in test_uvs()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkUtils.h | 66 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = NULL); 79 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL); 84 inline bool SkUnichar_IsVariationSelector(SkUnichar uni) { in SkUnichar_IsVariationSelector() argument 90 if (uni < 0x180B || uni > 0xE01EF) { in SkUnichar_IsVariationSelector() 93 if ((uni > 0x180D && uni < 0xFE00) || (uni > 0xFE0F && uni < 0xE0100)) { in SkUnichar_IsVariationSelector()
|
/external/skia/include/core/ |
D | SkUtils.h | 66 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = NULL); 79 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL); 84 inline bool SkUnichar_IsVariationSelector(SkUnichar uni) { in SkUnichar_IsVariationSelector() argument 90 if (uni < 0x180B || uni > 0xE01EF) { in SkUnichar_IsVariationSelector() 93 if ((uni > 0x180D && uni < 0xFE00) || (uni > 0xFE0F && uni < 0xE0100)) { in SkUnichar_IsVariationSelector()
|
/external/skia/src/core/ |
D | SkUtils.cpp | 241 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[]) { in SkUTF8_FromUnichar() argument 242 if ((uint32_t)uni > 0x10FFFF) { in SkUTF8_FromUnichar() 247 if (uni <= 127) { in SkUTF8_FromUnichar() 249 *utf8 = (char)uni; in SkUTF8_FromUnichar() 258 SkDEBUGCODE(SkUnichar orig = uni;) in SkUTF8_FromUnichar() 260 while (uni > 0x7F >> count) { in SkUTF8_FromUnichar() 261 *p++ = (char)(0x80 | (uni & 0x3F)); in SkUTF8_FromUnichar() 262 uni >>= 6; in SkUTF8_FromUnichar() 272 *--utf8 = (char)(~(0xFF >> count) | uni); in SkUTF8_FromUnichar() 350 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t dst[]) { in SkUTF16_FromUnichar() argument [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkUtils.cpp | 241 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[]) { in SkUTF8_FromUnichar() argument 242 if ((uint32_t)uni > 0x10FFFF) { in SkUTF8_FromUnichar() 247 if (uni <= 127) { in SkUTF8_FromUnichar() 249 *utf8 = (char)uni; in SkUTF8_FromUnichar() 258 SkDEBUGCODE(SkUnichar orig = uni;) in SkUTF8_FromUnichar() 260 while (uni > 0x7F >> count) { in SkUTF8_FromUnichar() 261 *p++ = (char)(0x80 | (uni & 0x3F)); in SkUTF8_FromUnichar() 262 uni >>= 6; in SkUTF8_FromUnichar() 272 *--utf8 = (char)(~(0xFF >> count) | uni); in SkUTF8_FromUnichar() 350 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t dst[]) { in SkUTF16_FromUnichar() argument [all …]
|
/external/openssl/crypto/pkcs12/ |
D | p12_utl.c | 65 unsigned char *OPENSSL_asc2uni(const char *asc, int asclen, unsigned char **uni, int *unilen) in OPENSSL_asc2uni() argument 80 if (uni) *uni = unitmp; in OPENSSL_asc2uni() 84 char *OPENSSL_uni2asc(unsigned char *uni, int unilen) in OPENSSL_uni2asc() argument 90 if (!unilen || uni[unilen - 1]) asclen++; in OPENSSL_uni2asc() 91 uni++; in OPENSSL_uni2asc() 93 for (i = 0; i < unilen; i+=2) asctmp[i>>1] = uni[i]; in OPENSSL_uni2asc()
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
D | p12_utl.c | 65 unsigned char *OPENSSL_asc2uni(const char *asc, int asclen, unsigned char **uni, int *unilen) in OPENSSL_asc2uni() argument 80 if (uni) *uni = unitmp; in OPENSSL_asc2uni() 84 char *OPENSSL_uni2asc(unsigned char *uni, int unilen) in OPENSSL_uni2asc() argument 90 if (!unilen || uni[unilen - 1]) asclen++; in OPENSSL_uni2asc() 91 uni++; in OPENSSL_uni2asc() 93 for (i = 0; i < unilen; i+=2) asctmp[i>>1] = uni[i]; in OPENSSL_uni2asc()
|
/external/chromium_org/third_party/skia/src/views/ |
D | SkTextBox.cpp | 32 SkUnichar uni = SkUTF8_NextUnichar(&text); in linebreak() local 33 int currWS = is_ws(uni); in linebreak() 62 if ('\n' == uni) { in linebreak() 66 uni = SkUTF8_NextUnichar(&text); in linebreak() 67 if ('\r' == uni) { in linebreak() 78 if ('\r' == uni) { in linebreak() 82 uni = SkUTF8_NextUnichar(&text); in linebreak() 83 if ('\n' == uni) { in linebreak()
|
/external/skia/src/views/ |
D | SkTextBox.cpp | 32 SkUnichar uni = SkUTF8_NextUnichar(&text); in linebreak() local 33 int currWS = is_ws(uni); in linebreak() 62 if ('\n' == uni) { in linebreak() 66 uni = SkUTF8_NextUnichar(&text); in linebreak() 67 if ('\r' == uni) { in linebreak() 78 if ('\r' == uni) { in linebreak() 82 uni = SkUTF8_NextUnichar(&text); in linebreak() 83 if ('\n' == uni) { in linebreak()
|
/external/chromium_org/third_party/skia/include/ports/ |
D | SkTypeface_android.h | 29 SK_API bool SkGetFallbackFamilyNameForChar(SkUnichar uni, SkString* name); 46 SK_API bool SkGetFallbackFamilyNameForChar(SkUnichar uni, const char* lang, SkString* name);
|
/external/skia/include/ports/ |
D | SkTypeface_android.h | 29 SK_API bool SkGetFallbackFamilyNameForChar(SkUnichar uni, SkString* name); 46 SK_API bool SkGetFallbackFamilyNameForChar(SkUnichar uni, const char* lang, SkString* name);
|
/external/chromium_org/third_party/JSON/JSON-2.59/lib/JSON/backportPP/ |
D | Compat5005.pm | 56 my $uni = 0x10000 + (hex($_[0]) - 0xD800) * 0x400 + (hex($_[1]) - 0xDC00); # from perlunicode 57 my $bit = unpack('B32', pack('N', $uni));
|
/external/chromium_org/third_party/JSON/out/lib/perl5/JSON/backportPP/ |
D | Compat5005.pm | 56 my $uni = 0x10000 + (hex($_[0]) - 0xD800) * 0x400 + (hex($_[1]) - 0xDC00); # from perlunicode 57 my $bit = unpack('B32', pack('N', $uni));
|
/external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/JSON/backportPP/ |
D | Compat5005.pm | 56 my $uni = 0x10000 + (hex($_[0]) - 0xD800) * 0x400 + (hex($_[1]) - 0xDC00); # from perlunicode 57 my $bit = unpack('B32', pack('N', $uni));
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
D | nsPKCS12Blob.cpp | 61 void unicodeToItem(const PRUnichar *uni, SECItem *item) in unicodeToItem() argument 64 while (uni[len++] != 0); in unicodeToItem() 69 item->data[2*i ] = (unsigned char )(uni[i] << 8); in unicodeToItem() 70 item->data[2*i+1] = (unsigned char )(uni[i]); in unicodeToItem() 73 memcpy(item->data, uni, item->len); in unicodeToItem()
|