/external/webkit/WebCore/platform/sql/ |
D | SQLiteStatement.cpp | 229 String SQLiteStatement::getColumnName(int col) in getColumnName() argument 231 ASSERT(col >= 0); in getColumnName() 235 if (columnCount() <= col) in getColumnName() 237 return String(reinterpret_cast<const UChar*>(sqlite3_column_name16(m_statement, col))); in getColumnName() 240 SQLValue SQLiteStatement::getColumnValue(int col) in getColumnValue() argument 242 ASSERT(col >= 0); in getColumnValue() 246 if (columnCount() <= col) in getColumnValue() 251 sqlite3_value* value = sqlite3_column_value(m_statement, col); in getColumnValue() 268 String SQLiteStatement::getColumnText(int col) in getColumnText() argument 270 ASSERT(col >= 0); in getColumnText() [all …]
|
D | SQLiteStatement.h | 73 String getColumnName(int col); 74 SQLValue getColumnValue(int col); 75 String getColumnText(int col); 76 double getColumnDouble(int col); 77 int getColumnInt(int col); 78 int64_t getColumnInt64(int col); 79 const void* getColumnBlob(int col, int& size); 80 void getColumnBlobAsVector(int col, Vector<char>&); 82 bool returnTextResults(int col, Vector<String>&); 83 bool returnIntResults(int col, Vector<int>&); [all …]
|
/external/libvpx/vp8/encoder/ |
D | mcomp.c | 43 …return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col) >> 1]) * Weight) >>… in vp8_mv_bit_cost() 53 …return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col) >> 1]) * error_per_… in vp8_mv_err_cost() 62 …return ((mvcost[0][(mv->row - ref->row) >> 1] + mvcost[1][(mv->col - ref->col)>> 1]) + 128) >> 8; in mv_bits() 73 x->ss[search_site_count].mv.col = 0; in vp8_init_dsmotion_compensation() 82 x->ss[search_site_count].mv.col = 0; in vp8_init_dsmotion_compensation() 88 x->ss[search_site_count].mv.col = 0; in vp8_init_dsmotion_compensation() 94 x->ss[search_site_count].mv.col = -Len; in vp8_init_dsmotion_compensation() 100 x->ss[search_site_count].mv.col = Len; in vp8_init_dsmotion_compensation() 120 x->ss[search_site_count].mv.col = 0; in vp8_init3smotion_compensation() 129 x->ss[search_site_count].mv.col = 0; in vp8_init3smotion_compensation() [all …]
|
/external/stlport/test/unit/ |
D | collate_facets_test.cpp | 20 collate<char> const& col = use_facet<collate<char> >(locale::classic()); in collate_facet() local 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet() 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet() 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet() 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet() 40 collate<char> const& col = use_facet<collate<char> >(loc); in collate_facet() local 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet() 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet() 51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet() 52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet() [all …]
|
/external/jpeg/ |
D | jccolor.c | 141 register JDIMENSION col; in rgb_ycc_convert() local 150 for (col = 0; col < num_cols; col++) { in rgb_ycc_convert() 161 outptr0[col] = (JSAMPLE) in rgb_ycc_convert() 165 outptr1[col] = (JSAMPLE) in rgb_ycc_convert() 169 outptr2[col] = (JSAMPLE) in rgb_ycc_convert() 197 register JDIMENSION col; in rgb_gray_convert() local 204 for (col = 0; col < num_cols; col++) { in rgb_gray_convert() 210 outptr[col] = (JSAMPLE) in rgb_gray_convert() 236 register JDIMENSION col; in cmyk_ycck_convert() local 246 for (col = 0; col < num_cols; col++) { in cmyk_ycck_convert() [all …]
|
D | jdcolor.c | 147 register JDIMENSION col; in ycc_rgb_convert() local 163 for (col = 0; col < num_cols; col++) { in ycc_rgb_convert() 164 y = GETJSAMPLE(inptr0[col]); in ycc_rgb_convert() 165 cb = GETJSAMPLE(inptr1[col]); in ycc_rgb_convert() 166 cr = GETJSAMPLE(inptr2[col]); in ycc_rgb_convert() 188 register JDIMENSION col; in ycc_rgba_8888_convert() local 204 for (col = 0; col < num_cols; col++) { in ycc_rgba_8888_convert() 205 y = GETJSAMPLE(inptr0[col]); in ycc_rgba_8888_convert() 206 cb = GETJSAMPLE(inptr1[col]); in ycc_rgba_8888_convert() 207 cr = GETJSAMPLE(inptr2[col]); in ycc_rgba_8888_convert() [all …]
|
D | rdppm.c | 148 JDIMENSION col; in get_text_gray_row() local 151 for (col = cinfo->image_width; col > 0; col--) { in get_text_gray_row() 166 JDIMENSION col; in get_text_rgb_row() local 169 for (col = cinfo->image_width; col > 0; col--) { in get_text_rgb_row() 186 JDIMENSION col; in get_scaled_gray_row() local 192 for (col = cinfo->image_width; col > 0; col--) { in get_scaled_gray_row() 207 JDIMENSION col; in get_scaled_rgb_row() local 213 for (col = cinfo->image_width; col > 0; col--) { in get_scaled_rgb_row() 245 JDIMENSION col; in get_word_gray_row() local 251 for (col = cinfo->image_width; col > 0; col--) { in get_word_gray_row() [all …]
|
D | wrtarga.c | 106 register JDIMENSION col; in put_pixel_rows() local 110 for (col = cinfo->output_width; col > 0; col--) { in put_pixel_rows() 127 register JDIMENSION col; in put_gray_rows() local 131 for (col = cinfo->output_width; col > 0; col--) { in put_gray_rows() 151 register JDIMENSION col; in put_demapped_gray() local 155 for (col = cinfo->output_width; col > 0; col--) { in put_demapped_gray()
|
D | wrppm.c | 111 register JDIMENSION col; in copy_pixel_rows() local 115 for (col = dest->samples_per_row; col > 0; col--) { in copy_pixel_rows() 138 register JDIMENSION col; in put_demapped_rgb() local 142 for (col = cinfo->output_width; col > 0; col--) { in put_demapped_rgb() 160 register JDIMENSION col; in put_demapped_gray() local 164 for (col = cinfo->output_width; col > 0; col--) { in put_demapped_gray()
|
/external/clearsilver/util/ |
D | wdb.c | 172 WDBColumn *col; in free_col_cb() local 174 col = (WDBColumn *)value; in free_col_cb() 176 free (col->name); in free_col_cb() 177 free (col); in free_col_cb() 222 WDBColumn *col; in wdb_load_defn_v1() local 300 col = (WDBColumn *) calloc (1, sizeof (WDBColumn)); in wdb_load_defn_v1() 301 col->name = k; in wdb_load_defn_v1() 302 col->inmem_index = colindex++; in wdb_load_defn_v1() 303 col->type = *v; in wdb_load_defn_v1() 305 col->ondisk_index = atoi(v); in wdb_load_defn_v1() [all …]
|
/external/icu4c/test/intltest/ |
D | apicoll.cpp | 96 Collator *col = 0; in TestProperty() local 113 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty() 119 … StringEnumeration* kwEnum = col->getKeywordValuesForLocale("", Locale::getEnglish(),true,success); in TestProperty() 126 col->getVersion(versionArray); in TestProperty() 135 doAssert((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed"); in TestProperty() 136 doAssert((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed"); in TestProperty() 137 …doAssert((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird c… in TestProperty() 138 …doAssert((col->compare("black bird", "black-bird") == Collator::LESS), "black bird > black-bird co… in TestProperty() 139 …doAssert((col->compare("Hello", "hello") == Collator::GREATER), "Hello > hello comparison failed"); in TestProperty() 140 …doAssert((col->compare("","",success) == Collator::EQUAL), "Comparison between empty strings faile… in TestProperty() [all …]
|
D | g7coll.cpp | 162 Collator *col = Collator::createInstance("en_US", status); in TestDemo1() local 164 delete col; in TestDemo1() 168 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules(); in TestDemo1() 189 delete col; in TestDemo1() 196 Collator *col = Collator::createInstance("en_US", status); in TestDemo2() local 198 delete col; in TestDemo2() 202 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules(); in TestDemo2() 223 delete col; in TestDemo2() 230 Collator *col = Collator::createInstance("en_US", status); in TestDemo3() local 233 delete col; in TestDemo3() [all …]
|
/external/chromium/third_party/icu/source/test/intltest/ |
D | apicoll.cpp | 95 Collator *col = 0; in TestProperty() local 113 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty() 121 col->getVersion(versionArray); in TestProperty() 130 doAssert((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed"); in TestProperty() 131 doAssert((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed"); in TestProperty() 132 …doAssert((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird c… in TestProperty() 133 …doAssert((col->compare("black bird", "black-bird") == Collator::LESS), "black bird > black-bird co… in TestProperty() 134 …doAssert((col->compare("Hello", "hello") == Collator::GREATER), "Hello > hello comparison failed"); in TestProperty() 136 …doAssert((col->compareUTF8("\x61\x62\xc3\xa4", "\x61\x62\xc3\x9f", success) == UCOL_LESS), "ab a-u… in TestProperty() 144 …doAssert((col->compare(abauIter, abssIter, success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UChar… in TestProperty() [all …]
|
D | g7coll.cpp | 162 Collator *col = Collator::createInstance("en_US", status); in TestDemo1() local 164 delete col; in TestDemo1() 168 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules(); in TestDemo1() 189 delete col; in TestDemo1() 196 Collator *col = Collator::createInstance("en_US", status); in TestDemo2() local 198 delete col; in TestDemo2() 202 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules(); in TestDemo2() 223 delete col; in TestDemo2() 230 Collator *col = Collator::createInstance("en_US", status); in TestDemo3() local 233 delete col; in TestDemo3() [all …]
|
D | dadrcoll.cpp | 149 DataDrivenCollatorTest::processArguments(Collator *col, const UChar *start, int32_t optLen) { in processArguments() argument 161 col->setAttribute(attrib, value, status); in processArguments() 169 Collator *col = NULL; in processTest() local 183 col = Collator::createInstance(localeName, status); in processTest() 195 col = new RuleBasedCollator(testSetting, status); in processTest() 210 if(col != NULL){ in processTest() 211 RuleBasedCollator* rbc = (RuleBasedCollator*)col; in processTest() 227 processArguments(col, arguments, argLen); in processTest() 242 processSequence(col, sequence); in processTest() 253 delete col; in processTest() [all …]
|
/external/webkit/WebCore/html/ |
D | DataGridColumnList.cpp | 80 void DataGridColumnList::remove(DataGridColumn* col) in remove() argument 82 size_t index = m_columns.find(col); in remove() 86 if (col == m_primaryColumn) in remove() 88 if (col == m_sortColumn) in remove() 90 col->setColumnList(0); in remove() 94 void DataGridColumnList::move(DataGridColumn* col, unsigned long index) in move() argument 96 size_t colIndex = m_columns.find(col); in move() 99 m_columns.insert(index, col); in move() 114 void DataGridColumnList::primaryColumnChanged(DataGridColumn* col) in primaryColumnChanged() argument 116 if (col->primary()) in primaryColumnChanged() [all …]
|
/external/freetype/src/base/ |
D | ftlcdfil.c | 107 FT_Byte* col = column; in _ft_lcd_filter_fir() local 112 val1 = col[0]; in _ft_lcd_filter_fir() 118 col += pitch; in _ft_lcd_filter_fir() 120 val1 = col[0]; in _ft_lcd_filter_fir() 125 col += pitch; in _ft_lcd_filter_fir() 132 val = col[0]; in _ft_lcd_filter_fir() 141 col[-2 * pitch] = (FT_Byte)pix; in _ft_lcd_filter_fir() 142 col += pitch; in _ft_lcd_filter_fir() 151 col[-2 * pitch] = (FT_Byte)pix; in _ft_lcd_filter_fir() 155 col[-pitch] = (FT_Byte)pix; in _ft_lcd_filter_fir() [all …]
|
/external/chromium/third_party/icu/source/test/cintltst/ |
D | capitst.c | 280 UCollator *col, *ruled; in TestProperty() local 306 col = ucol_open("en_US", &status); in TestProperty() 312 ucol_getVersion(col, versionArray); in TestProperty() 321 ucol_getUCAVersion(col, versionUCAArray); in TestProperty() 337 …doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab… in TestProperty() 342 …doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab… in TestProperty() 348 … doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER), in TestProperty() 352 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), in TestProperty() 357 … doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER), in TestProperty() 364 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty() [all …]
|
/external/libvpx/vp8/common/ |
D | reconinter.c | 145 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors_b() 147 … ptr = ptr_base + d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b() 148 sppf(ptr, d->pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_ptr, pitch); in vp8_build_inter_predictors_b() 152 … ptr_base += d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b() 178 … ptr = ptr_base + d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors4b() 180 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors4b() 182 …x->subpixel_predict8x8(ptr, d->pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_… in vp8_build_inter_predictors4b() 197 … ptr = ptr_base + d->pre + (d->bmi.mv.as_mv.row >> 3) * d->pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors2b() 199 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors2b() 201 …x->subpixel_predict8x4(ptr, d->pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_… in vp8_build_inter_predictors2b() [all …]
|
/external/icu4c/test/cintltst/ |
D | capitst.c | 288 UCollator *col, *ruled; in TestProperty() local 311 col = ucol_open("en_US", &status); in TestProperty() 317 ucol_getVersion(col, versionArray); in TestProperty() 326 ucol_getUCAVersion(col, versionUCAArray); in TestProperty() 342 …doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab… in TestProperty() 347 …doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab… in TestProperty() 353 … doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER), in TestProperty() 357 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), in TestProperty() 362 … doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER), in TestProperty() 369 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty() [all …]
|
/external/skia/src/images/ |
D | bmpdecoderhelper.cpp | 197 uint8 col = pixels; in DoRLEDecode() local 201 col = pixels & 0xf; in DoRLEDecode() 203 col = pixels >> 4; in DoRLEDecode() 206 PutPixel(x++, y, col); in DoRLEDecode() 241 uint8 col = val; in DoRLEDecode() local 244 col = col & 0xf; in DoRLEDecode() 246 col >>= 4; in DoRLEDecode() 250 PutPixel(x++, y, col); in DoRLEDecode() 264 void BmpDecoderHelper::PutPixel(int x, int y, uint8 col) { in PutPixel() argument 272 int colBase = col * 3; in PutPixel() [all …]
|
/external/icu4c/test/perf/collperf/ |
D | collperf.cpp | 62 static UCollator * col; // for qsort callback function member 74 UCollator * DataIndex::col; member in DataIndex 81 UCollator * col; member in CmdKeyGen 93 …CmdKeyGen(UErrorCode, UCollator * col,DWORD win_langid, int32_t count, DataIndex * data,Func fn,in… in CmdKeyGen() argument 94 :col(col),win_langid(win_langid), count(count), data(data), fn(fn){} in CmdKeyGen() 105 ucol_getSortKey(col, data[i].icu_data, -1, icu_key, MAX_KEY_LENGTH); in icu_key_null() 109 ucol_getSortKey(col, data[i].icu_data, data[i].icu_data_len, icu_key, MAX_KEY_LENGTH); in icu_key_len() 136 …CmdIter(UErrorCode & status, UCollator * col, int32_t count, CA_uchar *data, Func fn, int32_t,int3… in CmdIter() argument 140 iter = ucol_openElements(col, NULL, 0, &status); in CmdIter() 191 …CmdIterAll(UErrorCode & status, UCollator * col, int32_t count, UChar * data, CALL call,int32_t,i… in CmdIterAll() argument [all …]
|
/external/chromium/third_party/icu/source/test/perf/collperf/ |
D | collperf.cpp | 62 static UCollator * col; // for qsort callback function member 74 UCollator * DataIndex::col; member in DataIndex 81 UCollator * col; member in CmdKeyGen 93 …CmdKeyGen(UErrorCode, UCollator * col,DWORD win_langid, int32_t count, DataIndex * data,Func fn,in… in CmdKeyGen() argument 94 :col(col),win_langid(win_langid), count(count), data(data), fn(fn){} in CmdKeyGen() 105 ucol_getSortKey(col, data[i].icu_data, -1, icu_key, MAX_KEY_LENGTH); in icu_key_null() 109 ucol_getSortKey(col, data[i].icu_data, data[i].icu_data_len, icu_key, MAX_KEY_LENGTH); in icu_key_len() 136 …CmdIter(UErrorCode & status, UCollator * col, int32_t count, CA_uchar *data, Func fn, int32_t,int3… in CmdIter() argument 140 iter = ucol_openElements(col, NULL, 0, &status); in CmdIter() 191 …CmdIterAll(UErrorCode & status, UCollator * col, int32_t count, UChar * data, CALL call,int32_t,i… in CmdIterAll() argument [all …]
|
/external/srec/tools/grxmlcompile/ |
D | fst-io.h | 222 vector<char *> col; in FstReader() local 223 SplitToVector(line, "\n\t ", &col, true); in FstReader() 224 if (col.size() == 0 || col[0][0] == '\0') // empty line in FstReader() 226 if (col.size() > 5 || in FstReader() 227 col.size() > 4 && accep || in FstReader() 228 col.size() == 3 && !accep) { in FstReader() 233 StateId s = StrToStateId(col[0]); in FstReader() 241 switch (col.size()) { in FstReader() 246 fst_.SetFinal(s, StrToWeight(col[1], true)); in FstReader() 249 arc.nextstate = d = StrToStateId(col[1]); in FstReader() [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
D | CertStoreCollectionSpi.java | 38 List col = new ArrayList(); in engineGetCertificates() local 49 col.add(obj); in engineGetCertificates() 61 col.add(obj); in engineGetCertificates() 66 return col; in engineGetCertificates() 74 List col = new ArrayList(); in engineGetCRLs() local 85 col.add(obj); in engineGetCRLs() 97 col.add(obj); in engineGetCRLs() 102 return col; in engineGetCRLs()
|