/frameworks/minikin/libs/minikin/ |
D | Emoji.cpp | 21 bool isNewEmoji(uint32_t c) { in isNewEmoji() argument 25 if (c < 0x1F6D5 || c > 0x1FA95) { in isNewEmoji() 29 return c == 0x1F6D5 || c == 0x1F6FA || c == 0x1F93F || c == 0x1F971 || c == 0x1F97B || in isNewEmoji() 30 (0x1F7E0 <= c && c <= 0x1F7EB) || (0x1F90D <= c && c <= 0x1F90F) || in isNewEmoji() 31 (0x1F9A5 <= c && c <= 0x1F9AA) || (0x1F9AE <= c && c <= 0x1F9AF) || in isNewEmoji() 32 (0x1F9BA <= c && c <= 0x1F9BF) || (0x1F9C3 <= c && c <= 0x1F9CA) || in isNewEmoji() 33 (0x1F9CD <= c && c <= 0x1F9CF) || (0x1FA70 <= c && c <= 0x1FA73) || in isNewEmoji() 34 (0x1FA78 <= c && c <= 0x1FA7A) || (0x1FA80 <= c && c <= 0x1FA82) || in isNewEmoji() 35 (0x1FA90 <= c && c <= 0x1FA95); in isNewEmoji() 38 bool isEmoji(uint32_t c) { in isEmoji() argument [all …]
|
D | GraphemeBreak.cpp | 30 int32_t tailoredGraphemeClusterBreak(uint32_t c) { in tailoredGraphemeClusterBreak() argument 33 if (c == 0x00AD // SHY in tailoredGraphemeClusterBreak() 34 || c == 0x061C // ALM in tailoredGraphemeClusterBreak() 35 || c == 0x180E // MONGOLIAN VOWEL SEPARATOR in tailoredGraphemeClusterBreak() 36 || c == 0x200B // ZWSP in tailoredGraphemeClusterBreak() 37 || c == 0x200E // LRM in tailoredGraphemeClusterBreak() 38 || c == 0x200F // RLM in tailoredGraphemeClusterBreak() 39 || (0x202A <= c && c <= 0x202E) // LRE, RLE, PDF, LRO, RLO in tailoredGraphemeClusterBreak() 40 || ((c | 0xF) == 0x206F) // WJ, invisible math operators, LRI, RLI, FSI, PDI, in tailoredGraphemeClusterBreak() 42 || c == 0xFEFF // BOM in tailoredGraphemeClusterBreak() [all …]
|
/frameworks/native/opengl/libagl/ |
D | state.cpp | 71 ogles_context_t *c = in ogles_init() local 73 memset(c, 0, sizeof(ogles_context_t)); in ogles_init() 74 ggl_init_context(&(c->rasterizer)); in ogles_init() 78 c->surfaceManager = smgr.get(); in ogles_init() 79 c->surfaceManager->incStrong(c); in ogles_init() 82 c->bufferObjectManager = bomgr.get(); in ogles_init() 83 c->bufferObjectManager->incStrong(c); in ogles_init() 85 ogles_init_array(c); in ogles_init() 86 ogles_init_matrix(c); in ogles_init() 87 ogles_init_vertex(c); in ogles_init() [all …]
|
D | light.cpp | 34 static void invalidate_lighting(ogles_context_t* c); 35 static void lightVertexValidate(ogles_context_t* c, vertex_t* v); 36 static void lightVertexNop(ogles_context_t* c, vertex_t* v); 37 static void lightVertex(ogles_context_t* c, vertex_t* v); 38 static void lightVertexMaterial(ogles_context_t* c, vertex_t* v); 54 static GLfixed fog_linear(ogles_context_t* c, GLfixed z); 55 static GLfixed fog_exp(ogles_context_t* c, GLfixed z); 56 static GLfixed fog_exp2(ogles_context_t* c, GLfixed z); 61 static void init_white(vec4_t& c) { in init_white() argument 62 c.r = c.g = c.b = c.a = 0x10000; in init_white() [all …]
|
D | array.cpp | 46 static void validate_arrays(ogles_context_t* c, GLenum mode); 105 void ogles_init_array(ogles_context_t* c) in ogles_init_array() argument 107 c->arrays.vertex.size = 4; in ogles_init_array() 108 c->arrays.vertex.type = GL_FLOAT; in ogles_init_array() 109 c->arrays.color.size = 4; in ogles_init_array() 110 c->arrays.color.type = GL_FLOAT; in ogles_init_array() 111 c->arrays.normal.size = 4; in ogles_init_array() 112 c->arrays.normal.type = GL_FLOAT; in ogles_init_array() 114 c->arrays.texture[i].size = 4; in ogles_init_array() 115 c->arrays.texture[i].type = GL_FLOAT; in ogles_init_array() [all …]
|
D | texture.cpp | 36 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex); 39 void generateMipmap(ogles_context_t* c, GLint level); 48 void ogles_init_texture(ogles_context_t* c) in ogles_init_texture() argument 50 c->textures.packAlignment = 4; in ogles_init_texture() 51 c->textures.unpackAlignment = 4; in ogles_init_texture() 54 c->textures.defaultTexture = new EGLTextureObject(); in ogles_init_texture() 55 c->textures.defaultTexture->incStrong(c); in ogles_init_texture() 59 bindTextureTmu(c, i, 0, c->textures.defaultTexture); in ogles_init_texture() 60 memset(c->current.texture[i].v, 0, sizeof(vec4_t)); in ogles_init_texture() 61 c->current.texture[i].Q = 0x10000; in ogles_init_texture() [all …]
|
D | vertex.cpp | 30 void ogles_init_vertex(ogles_context_t* c) in ogles_init_vertex() argument 32 c->cull.enable = GL_FALSE; in ogles_init_vertex() 33 c->cull.cullFace = GL_BACK; in ogles_init_vertex() 34 c->cull.frontFace = GL_CCW; in ogles_init_vertex() 36 c->current.color.r = 0x10000; in ogles_init_vertex() 37 c->current.color.g = 0x10000; in ogles_init_vertex() 38 c->current.color.b = 0x10000; in ogles_init_vertex() 39 c->current.color.a = 0x10000; in ogles_init_vertex() 41 c->currentNormal.z = 0x10000; in ogles_init_vertex() 54 void perspective(ogles_context_t* c, vertex_t* v, uint32_t enables) in perspective() argument [all …]
|
D | primitives.cpp | 37 static void primitive_point(ogles_context_t* c, vertex_t* v); 38 static void primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1); 39 static void primitive_clip_triangle(ogles_context_t* c, 42 static void primitive_nop_point(ogles_context_t* c, vertex_t* v); 43 static void primitive_nop_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1); 44 static void primitive_nop_triangle(ogles_context_t* c, 47 static inline bool cull_triangle(ogles_context_t* c, 50 static void lerp_triangle(ogles_context_t* c, 53 static void lerp_texcoords(ogles_context_t* c, 56 static void lerp_texcoords_w(ogles_context_t* c, [all …]
|
D | matrix.cpp | 51 static void point2__nop(transform_t const*, vec4_t* c, vec4_t const* o); 52 static void point3__nop(transform_t const*, vec4_t* c, vec4_t const* o); 53 static void point4__nop(transform_t const*, vec4_t* c, vec4_t const* o); 54 static void point2__generic(transform_t const*, vec4_t* c, vec4_t const* o); 55 static void point3__generic(transform_t const*, vec4_t* c, vec4_t const* o); 56 static void point4__generic(transform_t const*, vec4_t* c, vec4_t const* o); 57 static void point3__mvui(transform_t const*, vec4_t* c, vec4_t const* o); 58 static void point4__mvui(transform_t const*, vec4_t* c, vec4_t const* o); 65 void ogles_init_matrix(ogles_context_t* c) in ogles_init_matrix() argument 67 c->transforms.modelview.init(OGLES_MODELVIEW_STACK_DEPTH); in ogles_init_matrix() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Emoji.java | 56 public static boolean isEmojiModifierBase(int c) { in isEmojiModifierBase() argument 60 if (c == 0x1F91D || c == 0x1F93C) { in isEmojiModifierBase() 66 if ((0x1F9B5 <= c && c <= 0x1F9B6) || (0x1F9B8 <= c && c <= 0x1F9B9)) { in isEmojiModifierBase() 69 return UCharacter.hasBinaryProperty(c, UProperty.EMOJI_MODIFIER_BASE); in isEmojiModifierBase() 75 public static boolean isNewEmoji(int c) { in isNewEmoji() argument 79 if (c < 0x1F6D5 || c > 0x1FA95) { in isNewEmoji() 83 return c == 0x1F6D5 || c == 0x1F6FA || c == 0x1F93F || c == 0x1F971 || c == 0x1F97B in isNewEmoji() 84 || (0x1F7E0 <= c && c <= 0x1F7EB) || (0x1F90D <= c && c <= 0x1F90F) in isNewEmoji() 85 || (0x1F9A5 <= c && c <= 0x1F9AA) || (0x1F9AE <= c && c <= 0x1F9AF) in isNewEmoji() 86 || (0x1F9BA <= c && c <= 0x1F9BF) || (0x1F9C3 <= c && c <= 0x1F9CA) in isNewEmoji() [all …]
|
D | LoginFilter.java | 60 char c = dest.charAt(i); in filter() local 61 if (!isAllowed(c)) onInvalidCharacter(c); in filter() 69 char c = source.charAt(i); in filter() local 70 if (isAllowed(c)) { in filter() 85 onInvalidCharacter(c); in filter() 92 char c = dest.charAt(i); in filter() local 93 if (!isAllowed(c)) onInvalidCharacter(c); in filter() 114 public void onInvalidCharacter(char c) { in onInvalidCharacter() argument 129 public abstract boolean isAllowed(char c); in isAllowed() argument 150 public boolean isAllowed(char c) { in isAllowed() argument [all …]
|
/frameworks/wilhelm/tools/hashgen/ |
D | Makefile | 1 all : IID_to_MPH.c run_test 3 install : IID_to_MPH.c 4 cp IID_to_MPH.c ../../src/autogen 9 %.o : %.c 12 IID_to_MPH.c : part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c 14 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@ 18 part2.c : part23in.c 20 grep '#define MAX_HASH_VALUE' part23in.c > $@ 22 part3.c : part23in.c 25 sed -n '/static const unsigned .* asso_values.. =/,/^ };/p' < part23in.c >> $@ [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseCursorTest.java | 110 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testBlob() local 111 c.moveToNext(); in testBlob() 113 DatabaseUtils.cursorRowToContentValues(c, cv); in testBlob() 115 int bCol = c.getColumnIndexOrThrow("b"); in testBlob() 116 int sCol = c.getColumnIndexOrThrow("s"); in testBlob() 117 int dCol = c.getColumnIndexOrThrow("d"); in testBlob() 118 int lCol = c.getColumnIndexOrThrow("l"); in testBlob() 119 byte[] cBlob = c.getBlob(bCol); in testBlob() 121 assertEquals(s, c.getString(sCol)); in testBlob() 122 assertEquals((double)d, c.getDouble(dCol)); in testBlob() [all …]
|
D | DatabaseStatementTest.java | 85 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testExecuteStatement() local 86 assertEquals(0, c.getCount()); in testExecuteStatement() 87 c.deactivate(); in testExecuteStatement() 139 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementLongBinding() local 140 int numCol = c.getColumnIndexOrThrow("num"); in testStatementLongBinding() 141 c.moveToFirst(); in testStatementLongBinding() 143 long num = c.getLong(numCol); in testStatementLongBinding() 145 c.moveToNext(); in testStatementLongBinding() 147 c.close(); in testStatementLongBinding() 161 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementStringBinding() local [all …]
|
/frameworks/native/libs/binder/ |
D | Debug.cpp | 49 static inline int isident(int c) in isident() argument 51 return isalnum(c) || c == '_'; in isident() 54 static inline bool isasciitype(char c) in isasciitype() argument 56 if( c >= ' ' && c < 127 && c != '\'' && c != '\\' ) return true; in isasciitype() 74 static char* appendcharornum(char c, char* out, bool skipzero = true) in appendcharornum() argument 76 if (skipzero && c == 0) return out; in appendcharornum() 78 if (isasciitype(c)) { in appendcharornum() 79 *out++ = c; in appendcharornum() 85 *out++ = makehexdigit(c>>4); in appendcharornum() 86 *out++ = makehexdigit(c); in appendcharornum() [all …]
|
/frameworks/base/tests/net/java/android/net/ |
D | IpSecConfigTest.java | 39 IpSecConfig c = new IpSecConfig(); in testDefaults() local 40 assertEquals(IpSecTransform.MODE_TRANSPORT, c.getMode()); in testDefaults() 41 assertEquals("", c.getSourceAddress()); in testDefaults() 42 assertEquals("", c.getDestinationAddress()); in testDefaults() 43 assertNull(c.getNetwork()); in testDefaults() 44 assertEquals(IpSecTransform.ENCAP_NONE, c.getEncapType()); in testDefaults() 45 assertEquals(IpSecManager.INVALID_RESOURCE_ID, c.getEncapSocketResourceId()); in testDefaults() 46 assertEquals(0, c.getEncapRemotePort()); in testDefaults() 47 assertEquals(0, c.getNattKeepaliveInterval()); in testDefaults() 48 assertNull(c.getEncryption()); in testDefaults() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 1108 private static void checkChannel(Channel c) { in checkChannel() argument 1109 if (c == null) throw new IllegalArgumentException("Channel needs to be initialized"); in checkChannel() 1120 private static void checkP2pConfig(WifiP2pConfig c) { in checkP2pConfig() argument 1121 if (c == null) throw new IllegalArgumentException("config cannot be null"); in checkP2pConfig() 1122 if (TextUtils.isEmpty(c.deviceAddress)) { in checkP2pConfig() 1157 Channel c = new Channel(srcContext, srcLooper, listener, binder, this); in initalizeChannel() 1158 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel() 1161 bundle.putString(CALLING_PACKAGE, c.mContext.getOpPackageName()); in initalizeChannel() 1163 c.mAsyncChannel.sendMessage(UPDATE_CHANNEL_INFO, 0, in initalizeChannel() 1164 c.putListener(null), bundle); in initalizeChannel() [all …]
|
/frameworks/av/camera/ |
D | Camera.cpp | 54 sp<Camera> c = new Camera(-1); in create() local 55 if (camera->connect(c) == NO_ERROR) { in create() 56 c->mStatus = NO_ERROR; in create() 57 c->mCamera = camera; in create() 58 IInterface::asBinder(camera)->linkToDeath(c); in create() 59 return c; in create() 86 sp<Camera> c = new Camera(cameraId); in connectLegacy() local 87 sp<::android::hardware::ICameraClient> cl = c; in connectLegacy() 94 clientUid, /*out*/&(c->mCamera)); in connectLegacy() 96 if (ret.isOk() && c->mCamera != nullptr) { in connectLegacy() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
D | Android.bp | 7 "src/autocorr.c", 8 "src/az_isp.c", 9 "src/bits.c", 10 "src/c2t64fx.c", 11 "src/c4t64fx.c", 12 "src/convolve.c", 13 "src/cor_h_x.c", 14 "src/decim54.c", 15 "src/deemph.c", 16 "src/dtx.c", [all …]
|
/frameworks/base/tools/aapt/ |
D | pseudolocalize.cpp | 48 char16_t c = str[pos]; in text() local 53 if (c == '\'') { in text() 58 if (c == k_arg_start) { in text() 60 } else if (c == k_arg_end && depth) { in text() 94 pseudolocalize_char(const char16_t c) in pseudolocalize_char() argument 96 switch (c) { in pseudolocalize_char() 155 static bool is_possible_normal_placeholder_end(const char16_t c) { in is_possible_normal_placeholder_end() argument 156 switch (c) { in is_possible_normal_placeholder_end() 202 static bool is_space(const char16_t c) { in is_space() argument 203 return (c == ' ' || c == '\t' || c == '\n'); in is_space() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 54 char c = text.charAt(i); in tokenize() local 56 if (c == ',' || c == ';') { in tokenize() 78 } else if (c == '"') { in tokenize() 82 c = text.charAt(i); in tokenize() 84 if (c == '"') { in tokenize() 87 } else if (c == '\\') { in tokenize() 93 name.append(c); in tokenize() 97 } else if (c == '(') { in tokenize() 102 c = text.charAt(i); in tokenize() 104 if (c == ')') { in tokenize() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ATResponseParser.java | 49 char c = mLine.charAt(mTokStart); in nextBoolean() local 51 if (c == '0') return false; in nextBoolean() 52 if (c == '1') return true; in nextBoolean() 67 char c = mLine.charAt(i); in nextInt() local 70 if (c < '0' || c > '9') { in nextInt() 75 ret += c - '0'; in nextInt() 111 char c = mLine.charAt(mNext++); in nextTok() local 114 c = skipWhiteSpace(c); in nextTok() 116 if (c == '"') { in nextTok() 120 c = mLine.charAt(mNext++); in nextTok() [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | Pseudolocalizer.cpp | 95 char16_t c = str[pos]; in Text() local 100 if (c == '\'') { in Text() 105 if (c == kArgStart) { in Text() 107 } else if (c == kArgEnd && depth) { in Text() 139 static const char* PseudolocalizeChar(const char c) { in PseudolocalizeChar() argument 140 switch (c) { in PseudolocalizeChar() 254 static bool IsPossibleNormalPlaceholderEnd(const char c) { in IsPossibleNormalPlaceholderEnd() argument 255 switch (c) { in IsPossibleNormalPlaceholderEnd() 358 char c = s[i]; in Text() local 359 if (c == '%') { in Text() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | sobeloperator.cpp | 51 for (int c = 0; c < 3; c++) { in computeGradient() local 52 *(gxPtr + offset + c) = in computeGradient() 53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 + in computeGradient() 54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) + in computeGradient() 55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left); in computeGradient() 56 *(gyPtr + offset + c) = in computeGradient() 57 (*(dataPtr + c + below) - *(dataPtr + c + above)) * 2 + in computeGradient() 58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) + in computeGradient() 59 *(dataPtr + right + c + below) - *(dataPtr + right + c + above); in computeGradient() 85 for (int c = 0; c < 3; c++) { in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local [all …]
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | DateUtils.java | 40 Calendar c = Calendar.getInstance(tz); in getKMLTimestamp() local 41 c.setTimeInMillis(when); in getKMLTimestamp() 42 return String.format("%tY-%tm-%tdT%tH:%tM:%tSZ", c, c, c, c, c, c); in getKMLTimestamp() 57 Calendar c = Calendar.getInstance(); in getCurrentTimestamp() local 58 c.setTimeInMillis(System.currentTimeMillis()); in getCurrentTimestamp() 59 return String.format("%tY-%tm-%td-%tH-%tM-%tS", c, c, c, c, c, c); in getCurrentTimestamp()
|