/external/icu4c/layout/ |
H A D | ContextualGlyphInsertionProc2.cpp | 49 le_int16 count = (flags & cgiMarkedInsertCountMask) >> 5; local 53 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(markGlyph, count + 1); 54 for (i = 0; i < count; i++, markIndex++) { 60 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(markGlyph, count + 1); 62 for (i = 1; i < count + 1; i++, markIndex++) { 71 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(markGlyph, count + 1); 72 for (i = 0; i < count; i++, markIndex++) { 78 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(markGlyph, count + 1); 80 for (i = 1; i < count + 1; i++, markIndex++) { 89 le_int16 count local [all...] |
H A D | GXLayoutEngine.cpp | 31 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument 37 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 42 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); 50 return count; 54 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument 61 if (chars == NULL || offset < 0 || count < 0) {
|
H A D | GXLayoutEngine2.cpp | 29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument 35 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 40 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); 47 return count; 51 void GXLayoutEngine2::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument 58 if (chars == NULL || offset < 0 || count < 0) {
|
H A D | LEInsertionList.cpp | 19 le_int32 count; member in struct:InsertionRecord 54 LEGlyphID *LEInsertionList::insert(le_int32 position, le_int32 count, LEErrorCode &success) argument 60 InsertionRecord *insertion = (InsertionRecord *) LE_NEW_ARRAY(char, sizeof(InsertionRecord) + (count - ANY_NUMBER) * sizeof (LEGlyphID)); 67 insertion->count = count; 69 growAmount += count - 1; 88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
|
/external/llvm/unittests/ADT/ |
H A D | SmallPtrSetTest.cpp | 89 EXPECT_TRUE(a.count(&buf[2])); 90 EXPECT_TRUE(b.count(&buf[0])); 91 EXPECT_TRUE(b.count(&buf[1])); 98 EXPECT_TRUE(a.count(&buf[0])); 99 EXPECT_TRUE(a.count(&buf[1])); 100 EXPECT_TRUE(a.count(&buf[3])); 101 EXPECT_TRUE(b.count(&buf[2])); 107 EXPECT_TRUE(a.count(&buf[2])); 108 EXPECT_TRUE(b.count(&buf[0])); 109 EXPECT_TRUE(b.count( [all...] |
/external/openssl/crypto/rc2/ |
H A D | rc2speed.c | 176 long count; local 196 count=10; 201 count*=2; 203 for (i=count; i; i--) 207 ca=count/512; 208 cb=count; 209 cc=count*8/BUFSIZE+1; 211 #define COND(d) (count != (d)) 215 #define COUNT(d) (count) 222 for (count [all...] |
/external/skia/bench/ |
H A D | SortBench.cpp | 15 static void rand_proc(int array[], int count) { argument 17 for (int i = 0; i < count; ++i) { 22 static void randN_proc(int array[], int count) { argument 25 for (int i = 0; i < count; ++i) { 30 static void forward_proc(int array[], int count) { argument 31 for (int i = 0; i < count; ++i) { 36 static void backward_proc(int array[], int count) { argument 37 for (int i = 0; i < count; ++i) { 42 static void same_proc(int array[], int count) { argument 43 for (int i = 0; i < count; 65 skqsort_sort(int array[], int count) argument 69 skheap_sort(int array[], int count) argument 81 qsort_sort(int array[], int count) argument [all...] |
/external/skia/src/animator/ |
H A D | SkTypedArray.cpp | 19 if (index >= count()) { 49 SkDS32Array::SkDS32Array(const int32_t src[], U16CPU count) argument 51 SkASSERT(src || count == 0); 58 if (count) 60 fArray = (int32_t*)sk_malloc_throw(count * sizeof(int32_t)); 64 memcpy(fArray, src, sizeof(int32_t) * count); 65 fReserve = fCount = SkToU16(count); 103 int32_t* SkDS32Array::append(U16CPU count, const int32_t* src) argument 106 if (count) 109 src + count < 153 insert(U16CPU index, U16CPU count, const int32_t* src) argument [all...] |
/external/skia/tests/ |
H A D | MemsetTest.cpp | 57 static bool compare16(const uint16_t base[], uint16_t value, int count) { argument 58 for (int i = 0; i < count; ++i) { 67 static bool compare32(const uint32_t base[], uint32_t value, int count) { argument 68 for (int i = 0; i < count; ++i) { 80 for (int count = 0; count < MAX_COUNT; ++count) { 85 sk_memset16(base, VALUE16, count); 89 compare16(base, VALUE16, count) && 90 compare16(base + count, [all...] |
H A D | SortTest.cpp | 46 int count = rand.nextRangeU(1, SK_ARRAY_COUNT(randomArray)); local 47 rand_array(rand, randomArray, count); 51 qsort(sortedArray, count, sizeof(sortedArray[0]), compare_int); 54 SkTHeapSort<int>(workingArray, count); 55 check_sort(reporter, "Heap", workingArray, sortedArray, count); 58 SkTQSort<int>(workingArray, workingArray + count - 1); 59 check_sort(reporter, "Quick", workingArray, sortedArray, count);
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | ContentLengthInputStream.java | 174 int count = this.in.read(b, off, len); 175 pos += count; 176 return count; 208 long count = 0; 214 count += l; 217 this.pos += count; 218 return count;
|
/external/chromium/chrome/browser/renderer_host/ |
H A D | gtk_key_bindings_handler.cc | 158 GtkTextView* text_view, GtkDeleteType type, gint count) { 159 if (!count) 165 commands[0] = (count > 0 ? "DeleteForward" : "DeleteBackward"); 168 commands[0] = (count > 0 ? "DeleteWordForward" : "DeleteWordBackward"); 171 if (count > 0) { 184 commands[0] = (count > 0 ? "DeleteToEndOfLine" : 188 commands[0] = (count > 0 ? "DeleteToEndOfParagraph" : 201 if (count < 0) 202 count = -count; 157 DeleteFromCursor( GtkTextView* text_view, GtkDeleteType type, gint count) argument 215 MoveCursor( GtkTextView* text_view, GtkMovementStep step, gint count, gboolean extend_selection) argument 264 MoveViewport( GtkTextView* text_view, GtkScrollStep step, gint count) argument [all...] |
/external/chromium_org/content/browser/renderer_host/ |
H A D | gtk_key_bindings_handler.cc | 148 GtkTextView* text_view, GtkDeleteType type, gint count) { 149 if (!count) 155 commands[0] = (count > 0 ? "DeleteForward" : "DeleteBackward"); 158 commands[0] = (count > 0 ? "DeleteWordForward" : "DeleteWordBackward"); 161 if (count > 0) { 174 commands[0] = (count > 0 ? "DeleteToEndOfLine" : 178 commands[0] = (count > 0 ? "DeleteToEndOfParagraph" : 191 if (count < 0) 192 count = -count; 147 DeleteFromCursor( GtkTextView* text_view, GtkDeleteType type, gint count) argument 205 MoveCursor( GtkTextView* text_view, GtkMovementStep step, gint count, gboolean extend_selection) argument 254 MoveViewport( GtkTextView* text_view, GtkScrollStep step, gint count) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | api_validate.h | 40 _mesa_max_buffer_index(struct gl_context *ctx, GLuint count, GLenum type, 51 GLenum mode, GLint start, GLsizei count); 55 GLenum mode, GLsizei count, GLenum type, 60 GLenum mode, const GLsizei *count, 67 GLsizei count, GLenum type, 73 GLsizei count, GLsizei primcount); 77 GLenum mode, GLsizei count, GLenum type,
|
/external/guava/guava/src/com/google/common/io/ |
H A D | CountingInputStream.java | 34 private long count; field in class:CountingInputStream 48 return count; 54 count++; 62 count += result; 69 count += result; 75 mark = count; 88 count = mark;
|
/external/mesa3d/src/mesa/main/ |
H A D | api_validate.h | 40 _mesa_max_buffer_index(struct gl_context *ctx, GLuint count, GLenum type, 51 GLenum mode, GLint start, GLsizei count); 55 GLenum mode, GLsizei count, GLenum type, 60 GLenum mode, const GLsizei *count, 67 GLsizei count, GLenum type, 73 GLsizei count, GLsizei primcount); 77 GLenum mode, GLsizei count, GLenum type,
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
H A D | t_dd_dmatmp2.h | 119 GLuint count, 122 if (start < count) { 125 EMIT_PRIM( ctx, GL_POINTS, HW_POINTS, start, count ); 131 GLuint count, 136 count -= (count-start) & 1; 138 if (start+1 >= count) 146 EMIT_PRIM( ctx, GL_LINES, HW_LINES, start, count ); 155 GLuint count, 161 if (start+1 >= count) 117 render_points_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 129 render_lines_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 153 render_line_strip_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 200 render_line_loop_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 289 render_triangles_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 310 render_tri_strip_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 355 render_tri_fan_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 398 render_poly_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 412 render_quad_strip_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 463 render_quads_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 512 render_noop( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 542 render_points_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 566 render_lines_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 605 render_line_strip_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 634 render_line_loop_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 686 render_triangles_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 719 render_tri_strip_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 749 render_tri_fan_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 776 render_poly_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 802 render_quad_strip_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 864 render_quads_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument [all...] |
/external/mesa3d/src/mesa/tnl_dd/ |
H A D | t_dd_dmatmp2.h | 119 GLuint count, 122 if (start < count) { 125 EMIT_PRIM( ctx, GL_POINTS, HW_POINTS, start, count ); 131 GLuint count, 136 count -= (count-start) & 1; 138 if (start+1 >= count) 146 EMIT_PRIM( ctx, GL_LINES, HW_LINES, start, count ); 155 GLuint count, 161 if (start+1 >= count) 117 render_points_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 129 render_lines_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 153 render_line_strip_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 200 render_line_loop_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 289 render_triangles_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 310 render_tri_strip_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 355 render_tri_fan_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 398 render_poly_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 412 render_quad_strip_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 463 render_quads_verts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 512 render_noop( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 542 render_points_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 566 render_lines_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 605 render_line_strip_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 634 render_line_loop_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 686 render_triangles_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 719 render_tri_strip_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 749 render_tri_fan_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 776 render_poly_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 802 render_quad_strip_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument 864 render_quads_elts( struct gl_context *ctx, GLuint start, GLuint count, GLuint flags ) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
H A D | ReverseAxesWalker.java | 113 * reverse axes count, for the moment this re-searches the axes 130 int count = m_proximityPositions[predicateIndex]; 132 if (count <= 0) 149 count++; 154 count++; 157 m_proximityPositions[predicateIndex] = count; 170 return count; 196 int count = 0; 212 // count = 1; 217 count [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
H A D | ralloc.h | 127 * \def ralloc_array(ctx, type, count) 133 * multiplying \c sizeof(type) and \p count. This is necessary for security. 137 * ((type *) ralloc_array_size(ctx, sizeof(type), count) 140 #define ralloc_array(ctx, type, count) \ 141 ((type *) ralloc_array_size(ctx, sizeof(type), count)) 144 * \def rzalloc_array(ctx, type, count) 150 * multiplying \c sizeof(type) and \p count. This is necessary for security. 154 * ((type *) rzalloc_array_size(ctx, sizeof(type), count) 157 #define rzalloc_array(ctx, type, count) \ 158 ((type *) rzalloc_array_size(ctx, sizeof(type), count)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
H A D | m_dotprod_tmp.h | 40 GLuint count = coord_vec->count; local 46 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { 60 GLuint count = coord_vec->count; local 67 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { 82 GLuint count = coord_vec->count; local 88 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) {
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkTemplates.h | 50 * Returns a pointer to a D which comes immediately after S[count]. 52 template <typename D, typename S> static D* SkTAfter(S* ptr, size_t count = 1) { 53 return reinterpret_cast<D*>(ptr + count); 179 /** Allocate count number of T elements 181 explicit SkAutoTArray(int count) { argument 182 SkASSERT(count >= 0); 184 if (count) { 185 fArray = SkNEW_ARRAY(T, count); 187 SkDEBUGCODE(fCount = count;) 190 /** Reallocates given a new count 192 reset(int count) argument 234 SkAutoSTArray(size_t count) argument 245 reset(size_t count) argument 279 size_t count() const { return fCount; } function in class:SkAutoSTArray 310 SkAutoTMalloc(size_t count) argument 319 realloc(size_t count) argument 324 reset(size_t count) argument 368 SkAutoSTMalloc(size_t count) argument 385 reset(size_t count) argument [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkTSearch.cpp | 19 int SkStrSearch(const char*const* base, int count, const char target[], argument 22 if (count <= 0) 28 int hi = count - 1; 55 int SkStrSearch(const char*const* base, int count, const char target[], argument 58 return SkStrSearch(base, count, target, strlen(target), elemSize); 61 int SkStrLCSearch(const char*const* base, int count, const char target[], argument 68 return SkStrSearch(base, count, tolc.lc(), len, elemSize); 71 int SkStrLCSearch(const char*const* base, int count, const char target[], argument 74 return SkStrLCSearch(base, count, target, strlen(target), elemSize);
|
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBlitRow_opts_arm.cpp | 31 const SkPMColor* SK_RESTRICT src, int count, 47 "subs %[count], %[count], #1 \n\t" 93 "subs %[count], %[count], #1 \n\t" 97 "subs %[count], %[count], #1 \n\t" 101 : [dst] "+r" (dst), [src] "+r" (src), [count] "+r" (count) 109 int count, U8CP 30 S32A_D565_Opaque(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 107 S32A_Opaque_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 201 S32A_Blend_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument [all...] |
/external/kernel-headers/original/linux/ |
H A D | percpu_counter.h | 19 s64 count; member in struct:percpu_counter 32 fbc->count = amount; 46 return fbc->count; 56 s64 ret = fbc->count; 58 barrier(); /* Prevent reloads of fbc->count */ 67 s64 count; member in struct:percpu_counter 72 fbc->count = amount; 83 fbc->count += amount; 89 return fbc->count; 94 return fbc->count; [all...] |