/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | IntlTestDecimalFormatSymbols.java | 46 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() local 50 if(en.equals(fr)) { in TestSymbols() 71 fr.setZeroDigit(zero); in TestSymbols() 72 if(fr.getZeroDigit() != en.getZeroDigit()) { in TestSymbols() 77 fr.setDigitStrings(digits); in TestSymbols() 78 if (!Arrays.equals(fr.getDigitStrings(), en.getDigitStrings())) { in TestSymbols() 83 fr.setSignificantDigit(sigDigit); in TestSymbols() 84 if(fr.getSignificantDigit() != en.getSignificantDigit()) { in TestSymbols() 89 fr.setCurrency(currency); in TestSymbols() 90 if (!fr.getCurrency().equals(currency)){ in TestSymbols() [all …]
|
D | IntlTestDecimalFormatSymbolsC.java | 41 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() local 44 if (en.equals(fr)) { in TestSymbols() 51 fr.setZeroDigit(zero); in TestSymbols() 52 if (fr.getZeroDigit() != en.getZeroDigit()) { in TestSymbols() 57 fr.setGroupingSeparator(group); in TestSymbols() 58 if (fr.getGroupingSeparator() != en.getGroupingSeparator()) { in TestSymbols() 63 fr.setDecimalSeparator(decimal); in TestSymbols() 64 if (fr.getDecimalSeparator() != en.getDecimalSeparator()) { in TestSymbols() 69 fr.setPerMill(perMill); in TestSymbols() 70 if (fr.getPerMill() != en.getPerMill()) { in TestSymbols() [all …]
|
D | IntlTestDateFormatSymbols.java | 134 DateFormatSymbols fr = new DateFormatSymbols(Locale.FRENCH); in TestSymbols() local 141 if(en.equals(fr)) { in TestSymbols() 151 fr.setEras(erasEn); in TestSymbols() 152 fr.setNarrowEras(erasNarrowEn); in TestSymbols() 153 final String[] erasFr = fr.getEras(); in TestSymbols() 154 final String[] erasNarrowFr = fr.getNarrowEras(); in TestSymbols() 180 fr.setMonths(months); in TestSymbols() 181 final String[] months1 = fr.getMonths(); in TestSymbols() 195 fr.setShortMonths(shortMonths); in TestSymbols() 196 final String[] shortMonths1 = fr.getShortMonths(); in TestSymbols() [all …]
|
D | IntlTestNumberFormatAPI.java | 53 NumberFormat fr = NumberFormat.getInstance(Locale.FRENCH); in TestAPI() local 128 double d1 = ((Number)fr.parseObject(text, pos)).doubleValue(); in TestAPI() 134 double d2 = fr.parse(text, pos01).doubleValue(); in TestAPI() 142 d3 = fr.parse(text).doubleValue(); in TestAPI() 166 fr.setParseIntegerOnly( def.isParseIntegerOnly() ); in TestAPI() 167 if(fr.isParseIntegerOnly() != def.isParseIntegerOnly() ) { in TestAPI() 171 fr.setGroupingUsed( def.isGroupingUsed() ); in TestAPI() 172 if(fr.isGroupingUsed() != def.isGroupingUsed() ) { in TestAPI() 176 fr.setMaximumIntegerDigits( def.getMaximumIntegerDigits() ); in TestAPI() 177 if(fr.getMaximumIntegerDigits() != def.getMaximumIntegerDigits() ) { in TestAPI() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatSymbols.java | 43 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() local 47 if(en.equals(fr)) { in TestSymbols() 68 fr.setZeroDigit(zero); in TestSymbols() 69 if(fr.getZeroDigit() != en.getZeroDigit()) { in TestSymbols() 74 fr.setDigitStrings(digits); in TestSymbols() 75 if (!Arrays.equals(fr.getDigitStrings(), en.getDigitStrings())) { in TestSymbols() 80 fr.setSignificantDigit(sigDigit); in TestSymbols() 81 if(fr.getSignificantDigit() != en.getSignificantDigit()) { in TestSymbols() 86 fr.setCurrency(currency); in TestSymbols() 87 if (!fr.getCurrency().equals(currency)){ in TestSymbols() [all …]
|
D | IntlTestDecimalFormatSymbolsC.java | 38 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() local 41 if (en.equals(fr)) { in TestSymbols() 48 fr.setZeroDigit(zero); in TestSymbols() 49 if (fr.getZeroDigit() != en.getZeroDigit()) { in TestSymbols() 54 fr.setGroupingSeparator(group); in TestSymbols() 55 if (fr.getGroupingSeparator() != en.getGroupingSeparator()) { in TestSymbols() 60 fr.setDecimalSeparator(decimal); in TestSymbols() 61 if (fr.getDecimalSeparator() != en.getDecimalSeparator()) { in TestSymbols() 66 fr.setPerMill(perMill); in TestSymbols() 67 if (fr.getPerMill() != en.getPerMill()) { in TestSymbols() [all …]
|
D | IntlTestDateFormatSymbols.java | 131 DateFormatSymbols fr = new DateFormatSymbols(Locale.FRENCH); in TestSymbols() local 138 if(en.equals(fr)) { in TestSymbols() 148 fr.setEras(erasEn); in TestSymbols() 149 fr.setNarrowEras(erasNarrowEn); in TestSymbols() 150 final String[] erasFr = fr.getEras(); in TestSymbols() 151 final String[] erasNarrowFr = fr.getNarrowEras(); in TestSymbols() 177 fr.setMonths(months); in TestSymbols() 178 final String[] months1 = fr.getMonths(); in TestSymbols() 192 fr.setShortMonths(shortMonths); in TestSymbols() 193 final String[] shortMonths1 = fr.getShortMonths(); in TestSymbols() [all …]
|
D | IntlTestNumberFormatAPI.java | 50 NumberFormat fr = NumberFormat.getInstance(Locale.FRENCH); in TestAPI() local 125 double d1 = ((Number)fr.parseObject(text, pos)).doubleValue(); in TestAPI() 131 double d2 = fr.parse(text, pos01).doubleValue(); in TestAPI() 139 d3 = fr.parse(text).doubleValue(); in TestAPI() 163 fr.setParseIntegerOnly( def.isParseIntegerOnly() ); in TestAPI() 164 if(fr.isParseIntegerOnly() != def.isParseIntegerOnly() ) { in TestAPI() 168 fr.setGroupingUsed( def.isGroupingUsed() ); in TestAPI() 169 if(fr.isGroupingUsed() != def.isGroupingUsed() ) { in TestAPI() 173 fr.setMaximumIntegerDigits( def.getMaximumIntegerDigits() ); in TestAPI() 174 if(fr.getMaximumIntegerDigits() != def.getMaximumIntegerDigits() ) { in TestAPI() [all …]
|
/third_party/FatFs/documents/res/ |
D | app2.c | 16 FRESULT fr; in delete_node() local 20 fr = f_opendir(&dir, path); /* Open the sub-directory to make it empty */ in delete_node() 21 if (fr != FR_OK) return fr; in delete_node() 27 fr = f_readdir(&dir, fno); /* Get a directory item */ in delete_node() 28 if (fr != FR_OK || !fno->fname[0]) break; /* End of directory? */ in delete_node() 32 fr = 100; break; /* Fails with 100 when buffer overflow */ in delete_node() 37 fr = delete_node(path, sz_buff, fno); in delete_node() 39 fr = f_unlink(path); in delete_node() 41 if (fr != FR_OK) break; in delete_node() 47 if (fr == FR_OK) fr = f_unlink(path); /* Delete the empty sub-directory */ in delete_node() [all …]
|
D | app1.c | 11 FRESULT fr; in open_append() local 14 fr = f_open(fp, path, FA_WRITE | FA_OPEN_ALWAYS); in open_append() 15 if (fr == FR_OK) { in open_append() 17 fr = f_lseek(fp, f_size(fp)); in open_append() 18 if (fr != FR_OK) in open_append() 21 return fr; in open_append() 27 FRESULT fr; in main() local 33 fr = open_append(&fil, "logfile.txt"); in main() 34 if (fr != FR_OK) return 1; in main()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/data/ |
D | localeMatcherTest.txt | 166 @supported=fr, en, en-GB, es-419, es-MX, es 188 @supported=fr, en-GB, en 191 fr >> fr 192 ja >> fr # return first if no match 197 fr >> fr 198 ja >> fr 284 @supported=fr, i-klingon, en-Latn-US 291 @supported=fr, en-GB, ja, es-ES, es-MX 298 @supported=fr, en-GB, ja, es-ES, es-MX 303 de, zh >> fr [all …]
|
/third_party/icu/icu4c/source/test/testdata/ |
D | localeMatcherTest.txt | 166 @supported=fr, en, en-GB, es-419, es-MX, es 188 @supported=fr, en-GB, en 191 fr >> fr 192 ja >> fr # return first if no match 197 fr >> fr 198 ja >> fr 284 @supported=fr, i-klingon, en-Latn-US 291 @supported=fr, en-GB, ja, es-ES, es-MX 298 @supported=fr, en-GB, ja, es-ES, es-MX 303 de, zh >> fr [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/util/data/ |
D | localeMatcherTest.txt | 166 @supported=fr, en, en-GB, es-419, es-MX, es 188 @supported=fr, en-GB, en 191 fr >> fr 192 ja >> fr # return first if no match 197 fr >> fr 198 ja >> fr 284 @supported=fr, i-klingon, en-Latn-US 291 @supported=fr, en-GB, ja, es-ES, es-MX 298 @supported=fr, en-GB, ja, es-ES, es-MX 303 de, zh >> fr [all …]
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_wgpu.cpp | 293 …Gui_ImplWGPU_SetupRenderState(ImDrawData* draw_data, WGPURenderPassEncoder ctx, FrameResources* fr) in ImGui_ImplWGPU_SetupRenderState() argument 316 wgpuRenderPassEncoderSetVertexBuffer(ctx, 0, fr->VertexBuffer, 0, 0); in ImGui_ImplWGPU_SetupRenderState() 317 …wgpuRenderPassEncoderSetIndexBuffer(ctx, fr->IndexBuffer, sizeof(ImDrawIdx) == 2 ? WGPUIndexFormat… in ImGui_ImplWGPU_SetupRenderState() 337 FrameResources* fr = &g_pFrameResources[g_frameIndex % g_numFramesInFlight]; in ImGui_ImplWGPU_RenderDrawData() local 340 if (fr->VertexBuffer == NULL || fr->VertexBufferSize < draw_data->TotalVtxCount) in ImGui_ImplWGPU_RenderDrawData() 342 if (fr->VertexBuffer) in ImGui_ImplWGPU_RenderDrawData() 344 wgpuBufferDestroy(fr->VertexBuffer); in ImGui_ImplWGPU_RenderDrawData() 345 wgpuBufferRelease(fr->VertexBuffer); in ImGui_ImplWGPU_RenderDrawData() 347 SafeRelease(fr->VertexBufferHost); in ImGui_ImplWGPU_RenderDrawData() 348 fr->VertexBufferSize = draw_data->TotalVtxCount + 5000; in ImGui_ImplWGPU_RenderDrawData() [all …]
|
D | imgui_impl_dx12.cpp | 90 …enderState(ImDrawData* draw_data, ID3D12GraphicsCommandList* ctx, ImGui_ImplDX12_RenderBuffers* fr) in ImGui_ImplDX12_SetupRenderState() argument 127 vbv.BufferLocation = fr->VertexBuffer->GetGPUVirtualAddress() + offset; in ImGui_ImplDX12_SetupRenderState() 128 vbv.SizeInBytes = fr->VertexBufferSize * stride; in ImGui_ImplDX12_SetupRenderState() 133 ibv.BufferLocation = fr->IndexBuffer->GetGPUVirtualAddress(); in ImGui_ImplDX12_SetupRenderState() 134 ibv.SizeInBytes = fr->IndexBufferSize * sizeof(ImDrawIdx); in ImGui_ImplDX12_SetupRenderState() 166 ImGui_ImplDX12_RenderBuffers* fr = &bd->pFrameResources[bd->frameIndex % bd->numFramesInFlight]; in ImGui_ImplDX12_RenderDrawData() local 169 if (fr->VertexBuffer == NULL || fr->VertexBufferSize < draw_data->TotalVtxCount) in ImGui_ImplDX12_RenderDrawData() 171 SafeRelease(fr->VertexBuffer); in ImGui_ImplDX12_RenderDrawData() 172 fr->VertexBufferSize = draw_data->TotalVtxCount + 5000; in ImGui_ImplDX12_RenderDrawData() 181 desc.Width = fr->VertexBufferSize * sizeof(ImDrawVert); in ImGui_ImplDX12_RenderDrawData() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tsdtfmsy.cpp | 175 DateFormatSymbols fr(Locale::getFrench(), status); in TestSymbols() local 195 if(en == fr || ! (en != fr) ) { in TestSymbols() 224 fr.setEras(eras, count); in TestSymbols() 225 if( *en.getEras(count) != *fr.getEras(count)) { in TestSymbols() 230 fr.setMonths(months, count); in TestSymbols() 231 if( *en.getMonths(count) != *fr.getMonths(count)) { in TestSymbols() 236 fr.setShortMonths(shortMonths, count); in TestSymbols() 237 if( *en.getShortMonths(count) != *fr.getShortMonths(count)) { in TestSymbols() 256 fr.setMonths(narrowMonths, count, DateFormatSymbols::FORMAT,DateFormatSymbols::NARROW); in TestSymbols() 258 *fr.getMonths(count,DateFormatSymbols::FORMAT,DateFormatSymbols::NARROW )) { in TestSymbols() [all …]
|
D | tsdcfmsy.cpp | 38 DecimalFormatSymbols fr(Locale::getFrench(), status); in testSymbols() local 51 if(en == fr || ! (en != fr) ) { in testSymbols() 58 fr.setSymbol(DecimalFormatSymbols::kZeroDigitSymbol, zero); in testSymbols() 59 …if(fr.getSymbol(DecimalFormatSymbols::kZeroDigitSymbol) != en.getSymbol(DecimalFormatSymbols::kZer… in testSymbols() 64 fr.setSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol, group); in testSymbols() 65 …if(fr.getSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol) != en.getSymbol(DecimalFormatSymbo… in testSymbols() 70 fr.setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, decimal); in testSymbols() 71 …if(fr.getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol) != en.getSymbol(DecimalFormatSymbol… in testSymbols() 76 fr.setSymbol(DecimalFormatSymbols::kPerMillSymbol, perMill); in testSymbols() 77 …if(fr.getSymbol(DecimalFormatSymbols::kPerMillSymbol) != en.getSymbol(DecimalFormatSymbols::kPerMi… in testSymbols() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_pullup.c | 469 PullupFrame *fr = &s->frame; in pullup_get_frame() local 473 av_assert1(n < FF_ARRAY_ELEMS(fr->ifields)); in pullup_get_frame() 474 if (!n || fr->lock) in pullup_get_frame() 477 fr->lock++; in pullup_get_frame() 478 fr->length = n; in pullup_get_frame() 479 fr->parity = s->first->parity; in pullup_get_frame() 480 fr->buffer = 0; in pullup_get_frame() 484 fr->ifields[i] = s->first->buffer; in pullup_get_frame() 490 fr->ofields[fr->parity ] = fr->ifields[0]; in pullup_get_frame() 491 fr->ofields[fr->parity ^ 1] = 0; in pullup_get_frame() [all …]
|
/third_party/icu/icu4c/source/layoutex/ |
D | plruns.cpp | 37 FontRuns *fr = (FontRuns *) fontRuns; in pl_closeFontRuns() local 39 delete fr; in pl_closeFontRuns() 45 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunCount() local 47 if (fr == NULL) { in pl_getFontRunCount() 51 return fr->getCount(); in pl_getFontRunCount() 57 FontRuns *fr = (FontRuns *) fontRuns; in pl_resetFontRuns() local 59 if (fr != NULL) { in pl_resetFontRuns() 60 fr->reset(); in pl_resetFontRuns() 67 const FontRuns *fr = (const FontRuns *) fontRuns; in pl_getFontRunLastLimit() local 69 if (fr == NULL) { in pl_getFontRunLastLimit() [all …]
|
/third_party/ffmpeg/tests/api/ |
D | api-band-test.c | 36 static void draw_horiz_band(AVCodecContext *ctx, const AVFrame *fr, int offset[4], in draw_horiz_band() argument 55 fr->data[0] + offset[0] + i * fr->linesize[0], ctx->width); in draw_horiz_band() 59 fr->data[1] + offset[1] + i * fr->linesize[1], chroma_w); in draw_horiz_band() 63 fr->data[2] + offset[2] + i * fr->linesize[2], chroma_w); in draw_horiz_band() 73 AVFrame *fr = NULL; in video_decode() local 130 fr = av_frame_alloc(); in video_decode() 131 if (!fr) { in video_decode() 181 result = avcodec_receive_frame(ctx, fr); in video_decode() 193 (const uint8_t* const *)fr->data, (const int*) fr->linesize, in video_decode() 208 av_frame_unref(fr); in video_decode() [all …]
|
D | api-seek-test.c | 76 AVCodecContext *ctx, AVPacket *pkt, AVFrame *fr, in compute_crc_of_packets() argument 127 result = avcodec_receive_frame(ctx, fr); in compute_crc_of_packets() 139 (const uint8_t* const *)fr->data, (const int*) fr->linesize, in compute_crc_of_packets() 145 if ((!no_seeking) && (fr->pts > ts_end)) in compute_crc_of_packets() 148 printf("%10"PRId64", 0x%08"PRIx32"\n", fr->pts, crc); in compute_crc_of_packets() 150 if (add_crc_to_array(crc, fr->pts) < 0) in compute_crc_of_packets() 154 if (compare_crc_in_array(crc, fr->pts) < 0) in compute_crc_of_packets() 157 av_frame_unref(fr); in compute_crc_of_packets() 159 } while (result >= 0 && (no_seeking || (fr->pts + fr->pkt_duration <= ts_end))); in compute_crc_of_packets() 191 AVFrame *fr = NULL; in seek_test() local [all …]
|
D | api-h264-test.c | 38 AVFrame *fr = NULL; in video_decode_example() local 92 fr = av_frame_alloc(); in video_decode_example() 93 if (!fr) { in video_decode_example() 137 result = avcodec_receive_frame(ctx, fr); in video_decode_example() 149 (const uint8_t* const *)fr->data, (const int*) fr->linesize, in video_decode_example() 153 av_frame_unref(fr); in video_decode_example() 157 av_ts2str(fr->pts), av_ts2str(fr->pkt_dts), fr->pkt_duration, in video_decode_example() 160 av_frame_unref(fr); in video_decode_example() 167 av_frame_free(&fr); in video_decode_example()
|
/third_party/ffmpeg/libavcodec/tests/ |
D | mpeg12framerate.c | 27 AVRational fr = frame_rate; \ in main() 29 ff_mpeg12_find_best_frame_rate(fr, &c, &n, &d, 0); \ in main() 33 fr.num, fr.den, c, n, d); \ in main() 38 AVRational fr = (AVRational) { frn, frd }; \ in main() 40 ff_mpeg12_find_best_frame_rate(fr, &c, &n, &d, 0); \ in main() 41 if (av_cmp_q(fr, av_mul_q(ff_mpeg12_frame_rate_tab[c], \ in main() 45 fr.num, fr.den, c, n, d); \ in main()
|
/third_party/node/test/fixtures/wpt/FileAPI/support/ |
D | Blob.js | 16 var fr = new FileReader(); 17 fr.onload = t.step_func_done(function(event) { 19 }, fr); 20 fr.onerror = t.step_func(function(e) { 23 fr.readAsText(blob, "UTF-8"); 40 var fr = new FileReader(); 41 fr.onload = t.step_func_done(function(event) { 45 }, fr); 46 fr.onerror = t.step_func(function(e) { 49 fr.readAsArrayBuffer(blob);
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_configdialog.py | 1335 fr = self.frame 1336 fr.helplist.insert('end', 'bad') 1337 fr.user_helplist = ['bad', 'worse'] 1339 fr.load_helplist() 1340 eq(fr.helplist.get(0, 'end'), ('name',)) 1341 eq(fr.user_helplist, [('name', 'file', '1')]) 1344 fr = self.frame 1345 fr.set = fr.set_add_delete_state 1346 fr.upc = fr.update_help_changes 1347 helplist = fr.helplist [all …]
|