Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 7712) sorted by relevance

12345678910>>...309

/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-collect-glyphs.c48 hb_codepoint_t g = HB_SET_VALUE_INVALID; in test_ot_layout_lookup_collect_glyphs_source_sans() local
54 g = HB_SET_VALUE_INVALID; in test_ot_layout_lookup_collect_glyphs_source_sans()
55 g_assert (hb_set_next (input, &g)); in test_ot_layout_lookup_collect_glyphs_source_sans()
56 g_assert_cmpuint (54, ==, g); in test_ot_layout_lookup_collect_glyphs_source_sans()
59 g = HB_SET_VALUE_INVALID; in test_ot_layout_lookup_collect_glyphs_source_sans()
60 g_assert (hb_set_next (output, &g)); in test_ot_layout_lookup_collect_glyphs_source_sans()
61 g_assert_cmpuint (574, ==, g); in test_ot_layout_lookup_collect_glyphs_source_sans()
69 g = HB_SET_VALUE_INVALID; in test_ot_layout_lookup_collect_glyphs_source_sans()
70 g_assert (hb_set_next (input, &g)); in test_ot_layout_lookup_collect_glyphs_source_sans()
71 g_assert_cmpuint (2, ==, g); in test_ot_layout_lookup_collect_glyphs_source_sans()
[all …]
/third_party/ffmpeg/libavcodec/
Dgif_parser.c55 static int gif_find_frame_end(GIFParseContext *g, const uint8_t *buf, in gif_find_frame_end() argument
61 if (!g->state) { in gif_find_frame_end()
64 g->state = GIF_HEADER; in gif_find_frame_end()
65 g->found_sig++; in gif_find_frame_end()
67 g->state = GIF_EXTENSION; in gif_find_frame_end()
68 g->found_start = 1; in gif_find_frame_end()
70 g->state = GIF_IMAGE; in gif_find_frame_end()
72 g->state = 0; in gif_find_frame_end()
73 g->found_end = 1; in gif_find_frame_end()
74 g->found_sig = 0; in gif_find_frame_end()
[all …]
Daaccoder_twoloop.h59 static inline int ff_pns_bits(SingleChannelElement *sce, int w, int g) in ff_pns_bits() argument
61 return (!g || !sce->zeroes[w*16+g-1] || !sce->can_pns[w*16+g-1]) ? 9 : 5; in ff_pns_bits()
72 int start = 0, i, w, w2, g, recomprd; in search_for_quantizers_twoloop() local
220 for (g = start = 0; g < sce->ics.num_swb; start += sce->ics.swb_sizes[g++]) { in search_for_quantizers_twoloop()
224 FFPsyBand *band = &s->psy.ch[s->cur_channel].psy_bands[(w+w2)*16+g]; in search_for_quantizers_twoloop()
226 sce->zeroes[(w+w2)*16+g] = 1; in search_for_quantizers_twoloop()
236 FFPsyBand *band = &s->psy.ch[s->cur_channel].psy_bands[(w+w2)*16+g]; in search_for_quantizers_twoloop()
245 uplims[w*16+g] = uplim; in search_for_quantizers_twoloop()
246 energies[w*16+g] = energy; in search_for_quantizers_twoloop()
247 nzs[w*16+g] = nz; in search_for_quantizers_twoloop()
[all …]
Daaccoder.c198 int w, g; in set_special_band_scalefactors() local
203 for (g = 0; g < sce->ics.num_swb; g++) { in set_special_band_scalefactors()
204 if (sce->zeroes[w*16+g]) in set_special_band_scalefactors()
206 if (sce->band_type[w*16+g] == INTENSITY_BT || sce->band_type[w*16+g] == INTENSITY_BT2) { in set_special_band_scalefactors()
207 sce->sf_idx[w*16+g] = av_clip(roundf(log2f(sce->is_ener[w*16+g])*2), -155, 100); in set_special_band_scalefactors()
209 } else if (sce->band_type[w*16+g] == NOISE_BT) { in set_special_band_scalefactors()
210 sce->sf_idx[w*16+g] = av_clip(3+ceilf(log2f(sce->pns_ener[w*16+g])*2), -100, 155); in set_special_band_scalefactors()
212 prevscaler_n = sce->sf_idx[w*16+g]; in set_special_band_scalefactors()
223 for (g = 0; g < sce->ics.num_swb; g++) { in set_special_band_scalefactors()
224 if (sce->zeroes[w*16+g]) in set_special_band_scalefactors()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dtest_fs_scoreboard.cpp142 fs_reg g[16]; in TEST_F() local
143 for (unsigned i = 0; i < ARRAY_SIZE(g); i++) in TEST_F()
144 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
148 bld.ADD( x, g[1], g[2]); in TEST_F()
149 bld.MUL( y, g[3], g[4]); in TEST_F()
150 bld.AND(g[5], x, y); in TEST_F()
169 fs_reg g[16]; in TEST_F() local
170 for (unsigned i = 0; i < ARRAY_SIZE(g); i++) in TEST_F()
171 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
174 bld.ADD( x, g[1], g[2]); in TEST_F()
[all …]
/third_party/zlib/examples/
Denough.c234 } g; variable
239 (left >> 1) - 1) * (g.max - 1) + in map()
245 if (g.done != NULL) { in cleanup()
246 for (size_t n = 0; n < g.size; n++) in cleanup()
247 if (g.done[n].len) in cleanup()
248 free(g.done[n].vec); in cleanup()
249 g.size = 0; in cleanup()
250 free(g.done); g.done = NULL; in cleanup()
252 free(g.num); g.num = NULL; in cleanup()
253 free(g.code); g.code = NULL; in cleanup()
[all …]
/third_party/python/Lib/test/
Dformatfloat_testcases.txt205 -- 'g' code formatting.
208 %.0g 0 -> 0
209 %.1g 0 -> 0
210 %.2g 0 -> 0
211 %.3g 0 -> 0
212 %.4g 0 -> 0
213 %.10g 0 -> 0
214 %.50g 0 -> 0
215 %.100g 0 -> 0
217 -- precision 0 doesn't make a lot of sense for the 'g' code (what does
[all …]
Dpstats.pck2 …���g�h㈵��>g�����>(���u'���/home/gbr/devel/python/Lib/sre_parse.pyi���u���_parse(���i���i���g
3g��6�4DE?(���u)���/home/gbr/devel/python/Lib/sre_compile.pyic��u���_simple(���ir���ir���g?�̔��…
11g�ͮ{+R?gǟ�lXSy?0(���u4���/home/gbr/devel/python/Lib/distutils/fancy_getopt.pyiS���u ���_build_in…
/third_party/mesa3d/src/util/
Dregister_allocate.c491 ra_test_adjacency_bit(struct ra_graph *g, unsigned n1, unsigned n2) in ra_test_adjacency_bit() argument
494 return BITSET_TEST(g->adjacency, index); in ra_test_adjacency_bit()
498 ra_set_adjacency_bit(struct ra_graph *g, unsigned n1, unsigned n2) in ra_set_adjacency_bit() argument
501 BITSET_SET(g->adjacency, index); in ra_set_adjacency_bit()
505 ra_clear_adjacency_bit(struct ra_graph *g, unsigned n1, unsigned n2) in ra_clear_adjacency_bit() argument
508 BITSET_CLEAR(g->adjacency, index); in ra_clear_adjacency_bit()
512 ra_add_node_adjacency(struct ra_graph *g, unsigned int n1, unsigned int n2) in ra_add_node_adjacency() argument
516 int n1_class = g->nodes[n1].class; in ra_add_node_adjacency()
517 int n2_class = g->nodes[n2].class; in ra_add_node_adjacency()
518 g->nodes[n1].q_total += g->regs->classes[n1_class]->q[n2_class]; in ra_add_node_adjacency()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimgui.cpp1834 …int g = ImLerp((int)(col_a >> IM_COL32_G_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_G_SHIFT) & 0xFF, t… in ImAlphaBlendColors() local
1836 return IM_COL32(r, g, b, 0xFF); in ImAlphaBlendColors()
1861 void ImGui::ColorConvertRGBtoHSV(float r, float g, float b, float& out_h, float& out_s, float& out_… in ColorConvertRGBtoHSV() argument
1864 if (g < b) in ColorConvertRGBtoHSV()
1866 ImSwap(g, b); in ColorConvertRGBtoHSV()
1869 if (r < g) in ColorConvertRGBtoHSV()
1871 ImSwap(r, g); in ColorConvertRGBtoHSV()
1875 const float chroma = r - (g < b ? g : b); in ColorConvertRGBtoHSV()
1876 out_h = ImFabs(K + (g - b) / (6.f * chroma + 1e-20f)); in ColorConvertRGBtoHSV()
2240 ImGuiContext& g = *GImGui; in GetSkipItemForListClipping() local
[all …]
/third_party/mesa3d/src/imgui/
Dimgui.cpp1778 void ImGui::ColorConvertRGBtoHSV(float r, float g, float b, float& out_h, float& out_s, float& out_… in ColorConvertRGBtoHSV() argument
1781 if (g < b) in ColorConvertRGBtoHSV()
1783 ImSwap(g, b); in ColorConvertRGBtoHSV()
1786 if (r < g) in ColorConvertRGBtoHSV()
1788 ImSwap(r, g); in ColorConvertRGBtoHSV()
1792 const float chroma = r - (g < b ? g : b); in ColorConvertRGBtoHSV()
1793 out_h = ImFabs(K + (g - b) / (6.f * chroma + 1e-20f)); in ColorConvertRGBtoHSV()
2287 ImGuiContext& g = *GImGui; in RenderText() local
2288 ImGuiWindow* window = g.CurrentWindow; in RenderText()
2305 …window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_display_… in RenderText()
[all …]
/third_party/pulseaudio/src/pulse/
Dglib-mainloop.c91 static void cleanup_io_events(pa_glib_mainloop *g, int force) { in cleanup_io_events() argument
94 e = g->io_events; in cleanup_io_events()
98 if (!force && g->io_events_please_scan <= 0) in cleanup_io_events()
102 PA_LLIST_REMOVE(pa_io_event, g->io_events, e); in cleanup_io_events()
105 g_assert(g->io_events_please_scan > 0); in cleanup_io_events()
106 g->io_events_please_scan--; in cleanup_io_events()
110 g_source_remove_poll(&g->source, &e->poll_fd); in cleanup_io_events()
113 e->destroy_callback(&g->api, e, e->userdata); in cleanup_io_events()
121 g_assert(g->io_events_please_scan == 0); in cleanup_io_events()
124 static void cleanup_time_events(pa_glib_mainloop *g, int force) { in cleanup_time_events() argument
[all …]
Dohos_glib-mainloop.c92 static void cleanup_io_events(pa_glib_mainloop *g, int force) { in cleanup_io_events() argument
95 e = g->io_events; in cleanup_io_events()
99 if (!force && g->io_events_please_scan <= 0) in cleanup_io_events()
103 PA_LLIST_REMOVE(pa_io_event, g->io_events, e); in cleanup_io_events()
106 g_assert(g->io_events_please_scan > 0); in cleanup_io_events()
107 g->io_events_please_scan--; in cleanup_io_events()
111 g_source_remove_poll(&g->source, &e->poll_fd); in cleanup_io_events()
114 e->destroy_callback(&g->api, e, e->userdata); in cleanup_io_events()
122 g_assert(g->io_events_please_scan == 0); in cleanup_io_events()
125 static void cleanup_time_events(pa_glib_mainloop *g, int force) { in cleanup_time_events() argument
[all …]
/third_party/typescript/tests/baselines/reference/
DinstantiationExpressionErrors.types2 declare let f: { <T>(): T, g<U>(): U };
3 >f : { <T>(): T; g<U>(): U; }
4 >g : <U>() => U
8 const a1 = f<number>; // { (): number; g<U>(): U; }
9 >a1 : { (): number; g<U>(): U; }
10 >f<number> : { (): number; g<U>(): U; }
11 >f : { <T>(): T; g<U>(): U; }
13 const a2 = f.g<number>; // () => number
15 >f.g<number> : () => number
16 >f.g : <U>() => U
[all …]
DdeclFileTypeAnnotationUnionType.types17 export class g<T> {
18 >g : g<T>
24 class g<T> {
25 >g : g<T>
53 var x: g<string> | m.g<number> | (() => c) = new g<string>() || new m.g<number>() || (() => new c…
54 >x : g<string> | m.g<number> | (() => c)
56 >new g<string>() || new m.g<number>() || (() => new c()) : g<string> | m.g<number> | (() => c)
57 >new g<string>() || new m.g<number>() : g<string> | m.g<number>
58 >new g<string>() : g<string>
59 >g : typeof g
[all …]
DdeclFileTypeAnnotationArrayType.types11 export class g<T> {
12 >g : g<T>
15 class g<T> {
16 >g : g<T>
59 function foo5(): g<string>[] {
60 >foo5 : () => g<string>[]
62 return [new g<string>()];
63 >[new g<string>()] : g<string>[]
64 >new g<string>() : g<string>
65 >g : typeof g
[all …]
/third_party/node/deps/v8/src/compiler/backend/mips/
Dinstruction-selector-mips.cc110 MipsOperandGenerator g(selector); in VisitRRR() local
111 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRRR()
112 g.UseRegister(node->InputAt(0)), in VisitRRR()
113 g.UseRegister(node->InputAt(1))); in VisitRRR()
118 MipsOperandGenerator g(selector); in VisitUniqueRRR() local
119 selector->Emit(opcode, g.DefineAsRegister(node), in VisitUniqueRRR()
120 g.UseUniqueRegister(node->InputAt(0)), in VisitUniqueRRR()
121 g.UseUniqueRegister(node->InputAt(1))); in VisitUniqueRRR()
125 MipsOperandGenerator g(selector); in VisitRRRR() local
127 opcode, g.DefineSameAsFirst(node), g.UseRegister(node->InputAt(0)), in VisitRRRR()
[all …]
/third_party/node/deps/v8/src/compiler/backend/arm/
Dinstruction-selector-arm.cc85 ArmOperandGenerator g(selector); in VisitRR() local
86 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRR()
87 g.UseRegister(node->InputAt(0))); in VisitRR()
92 ArmOperandGenerator g(selector); in VisitRRR() local
93 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRRR()
94 g.UseRegister(node->InputAt(0)), in VisitRRR()
95 g.UseRegister(node->InputAt(1))); in VisitRRR()
100 ArmOperandGenerator g(selector); in VisitSimdShiftRRR() local
106 selector->Emit(opcode, g.DefineAsRegister(node), in VisitSimdShiftRRR()
107 g.UseRegister(node->InputAt(0)), in VisitSimdShiftRRR()
[all …]
/third_party/parse5/test/data/parser-feedback/
Dtests10.test203 "description": "<!DOCTYPE html><body><table><svg><g>foo</g></svg></table>",
204 "input": "<!DOCTYPE html><body><table><svg><g>foo</g></svg></table>",
230 "g",
239 "g"
253 "description": "<!DOCTYPE html><body><table><svg><g>foo</g><g>bar</g></svg></table>",
254 "input": "<!DOCTYPE html><body><table><svg><g>foo</g><g>bar</g></svg></table>",
280 "g",
289 "g"
293 "g",
302 "g"
[all …]
/third_party/node/deps/v8/src/compiler/backend/riscv64/
Dinstruction-selector-riscv64.cc130 RiscvOperandGenerator g(selector); in VisitRR() local
131 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRR()
132 g.UseRegister(node->InputAt(0))); in VisitRR()
137 RiscvOperandGenerator g(selector); in VisitRRI() local
139 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRRI()
140 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm)); in VisitRRI()
145 RiscvOperandGenerator g(selector); in VisitSimdShift() local
146 if (g.IsIntegerConstant(node->InputAt(1))) { in VisitSimdShift()
147 selector->Emit(opcode, g.DefineAsRegister(node), in VisitSimdShift()
148 g.UseRegister(node->InputAt(0)), in VisitSimdShift()
[all …]
/third_party/ffmpeg/libavformat/
Driff.h108 #define FF_ARG_GUID(g) \ argument
109 g[0], g[1], g[2], g[3], g[4], g[5], g[6], g[7], \
110 g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15],\
111 g[3], g[2], g[1], g[0], g[5], g[4], g[7], g[6], \
112 g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15]
126 int ff_get_guid(AVIOContext *s, ff_asf_guid *g);
127 void ff_put_guid(AVIOContext *s, const ff_asf_guid *g);
/third_party/curl/docs/examples/
Dhiperfifo.c142 static int multi_timer_cb(CURLM *multi, long timeout_ms, GlobalInfo *g) in multi_timer_cb() argument
158 evtimer_del(&g->timer_event); in multi_timer_cb()
160 evtimer_add(&g->timer_event, &timeout); in multi_timer_cb()
166 static void check_multi_info(GlobalInfo *g) in check_multi_info() argument
175 fprintf(MSG_OUT, "REMAINING: %d\n", g->still_running); in check_multi_info()
176 while((msg = curl_multi_info_read(g->multi, &msgs_left))) { in check_multi_info()
183 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
189 if(g->still_running == 0 && g->stopped) in check_multi_info()
190 event_base_loopbreak(g->evbase); in check_multi_info()
198 GlobalInfo *g = (GlobalInfo*) userp; in event_cb() local
[all …]
/third_party/node/deps/v8/src/compiler/backend/mips64/
Dinstruction-selector-mips64.cc124 Mips64OperandGenerator g(selector); in VisitRR() local
125 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRR()
126 g.UseRegister(node->InputAt(0))); in VisitRR()
131 Mips64OperandGenerator g(selector); in VisitRRI() local
133 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRRI()
134 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm)); in VisitRRI()
139 Mips64OperandGenerator g(selector); in VisitSimdShift() local
140 if (g.IsIntegerConstant(node->InputAt(1))) { in VisitSimdShift()
141 selector->Emit(opcode, g.DefineAsRegister(node), in VisitSimdShift()
142 g.UseRegister(node->InputAt(0)), in VisitSimdShift()
[all …]
/third_party/node/deps/v8/src/compiler/backend/ia32/
Dinstruction-selector-ia32.cc291 IA32OperandGenerator g(selector); in VisitRO() local
295 opcode == kIA32Movsxbl ? g.UseFixed(input, eax) : g.Use(input); in VisitRO()
296 selector->Emit(opcode, g.DefineAsRegister(node), input_op); in VisitRO()
301 IA32OperandGenerator g(selector); in VisitROWithTemp() local
302 InstructionOperand temps[] = {g.TempRegister()}; in VisitROWithTemp()
303 selector->Emit(opcode, g.DefineAsRegister(node), g.Use(node->InputAt(0)), in VisitROWithTemp()
309 IA32OperandGenerator g(selector); in VisitROWithTempSimd() local
310 InstructionOperand temps[] = {g.TempSimd128Register()}; in VisitROWithTempSimd()
311 selector->Emit(opcode, g.DefineAsRegister(node), in VisitROWithTempSimd()
312 g.UseUniqueRegister(node->InputAt(0)), arraysize(temps), in VisitROWithTempSimd()
[all …]
/third_party/musl/src/malloc/mallocng/
Dfree.c14 static struct mapinfo free_group(struct meta *g) in free_group() argument
17 int sc = g->sizeclass; in free_group()
19 ctx.usage_by_class[sc] -= g->last_idx+1; in free_group()
21 if (g->maplen) { in free_group()
24 mi.base = g->mem; in free_group()
25 mi.len = g->maplen*4096UL; in free_group()
27 void *p = g->mem; in free_group()
30 g->mem->meta = 0; in free_group()
34 free_meta(g); in free_group()
38 static int okay_to_free(struct meta *g) in okay_to_free() argument
[all …]

12345678910>>...309