Symbol: G
headers/libs/agg/agg_alpha_mask_u8.h
36
template<unsigned R, unsigned G, unsigned B>
headers/libs/agg/agg_alpha_mask_u8.h
41
return (p[R]*77 + p[G]*150 + p[B]*29) >> 8;
headers/libs/agg/agg_blur.h
1006
dst_pix_ptr[G] = (sum_g * mul_sum) >> shr_sum;
headers/libs/agg/agg_blur.h
1032
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
1037
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
527
G = order_type::G,
headers/libs/agg/agg_blur.h
585
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
588
sum_g += src_pix_ptr[G] * (i + 1);
headers/libs/agg/agg_blur.h
591
sum_out_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
599
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
602
sum_g += src_pix_ptr[G] * (rx + 1 - i);
headers/libs/agg/agg_blur.h
605
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
617
dst_pix_ptr[G] = (sum_g * mul_sum) >> shr_sum;
headers/libs/agg/agg_blur.h
640
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
644
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
690
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
693
sum_g += src_pix_ptr[G] * (i + 1);
headers/libs/agg/agg_blur.h
696
sum_out_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
704
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
707
sum_g += src_pix_ptr[G] * (ry + 1 - i);
headers/libs/agg/agg_blur.h
710
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
722
dst_pix_ptr[G] = (sum_g * mul_sum) >> shr_sum;
headers/libs/agg/agg_blur.h
745
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
749
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
781
G = order_type::G,
headers/libs/agg/agg_blur.h
846
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
850
sum_g += src_pix_ptr[G] * (i + 1);
headers/libs/agg/agg_blur.h
854
sum_out_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
863
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
867
sum_g += src_pix_ptr[G] * (rx + 1 - i);
headers/libs/agg/agg_blur.h
871
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
884
dst_pix_ptr[G] = (sum_g * mul_sum) >> shr_sum;
headers/libs/agg/agg_blur.h
910
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
915
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
968
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
972
sum_g += src_pix_ptr[G] * (i + 1);
headers/libs/agg/agg_blur.h
976
sum_out_g += src_pix_ptr[G];
headers/libs/agg/agg_blur.h
985
stack_pix_ptr->g = src_pix_ptr[G];
headers/libs/agg/agg_blur.h
989
sum_g += src_pix_ptr[G] * (ry + 1 - i);
headers/libs/agg/agg_blur.h
993
sum_in_g += src_pix_ptr[G];
headers/libs/agg/agg_pixfmt_rgb.h
116
p[Order::G] = (value_type)((p[Order::G] * alpha + cg * cover) >> base_shift);
headers/libs/agg/agg_pixfmt_rgb.h
127
p[Order::G] = (value_type)(((p[Order::G] * alpha) >> base_shift) + cg);
headers/libs/agg/agg_pixfmt_rgb.h
157
calc_type g = m_gamma->dir(p[Order::G]);
headers/libs/agg/agg_pixfmt_rgb.h
160
p[Order::G] = m_gamma->inv((((m_gamma->dir(cg) - g) * alpha) >> base_shift) + g);
headers/libs/agg/agg_pixfmt_rgb.h
202
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
221
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
284
((value_type*)p)[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
293
p[order_type::G],
headers/libs/agg/agg_pixfmt_rgb.h
302
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
322
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
340
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
364
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
401
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
438
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
46
p[Order::G] = m_gamma.dir(p[Order::G]);
headers/libs/agg/agg_pixfmt_rgb.h
470
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgb.h
495
p[order_type::G] = colors->g;
headers/libs/agg/agg_pixfmt_rgb.h
514
p[order_type::G] = colors->g;
headers/libs/agg/agg_pixfmt_rgb.h
67
p[Order::G] = m_gamma.inv(p[Order::G]);
headers/libs/agg/agg_pixfmt_rgb.h
690
pdst[order_type::G] = psrc[src_order::G];
headers/libs/agg/agg_pixfmt_rgb.h
697
psrc[src_order::G],
headers/libs/agg/agg_pixfmt_rgb.h
713
color.g = psrc[src_order::G];
headers/libs/agg/agg_pixfmt_rgb.h
92
p[Order::G] += (value_type)(((cg - p[Order::G]) * alpha) >> base_shift);
headers/libs/agg/agg_pixfmt_rgb_packed.h
1117
psrc[src_order::G],
headers/libs/agg/agg_pixfmt_rgb_packed.h
1124
psrc[src_order::G],
headers/libs/agg/agg_pixfmt_rgba.h
1037
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
1052
p[Order::G] = (value_type)(((sgda + dgsa <= sada) ?
headers/libs/agg/agg_pixfmt_rgba.h
1101
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
111
p[Order::G] = m_gamma.inv(p[Order::G]);
headers/libs/agg/agg_pixfmt_rgba.h
1110
p[Order::G] = (value_type)(((2*sg < sa) ?
headers/libs/agg/agg_pixfmt_rgba.h
1157
double dg = double(p[Order::G]) / base_mask;
headers/libs/agg/agg_pixfmt_rgba.h
1178
p[Order::G] = (value_type)uround(dg * base_mask);
headers/libs/agg/agg_pixfmt_rgba.h
1216
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
1220
p[Order::G] = (value_type)(sg + dg - ((2 * sd_min(sg*da, dg*sa) + base_mask) >> base_shift));
headers/libs/agg/agg_pixfmt_rgba.h
1259
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
1263
p[Order::G] = (value_type)((sg*da + dg*sa - 2*sg*dg + sg*d1a + dg*s1a + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
1297
long_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
1312
p[Order::G] = (value_type)((g > da) ? da : g);
headers/libs/agg/agg_pixfmt_rgba.h
1342
calc_type dg = ((da - p[Order::G]) * sa + base_mask) >> base_shift;
headers/libs/agg/agg_pixfmt_rgba.h
1346
p[Order::G] = (value_type)(dg + ((p[Order::G] * s1a + base_mask) >> base_shift));
headers/libs/agg/agg_pixfmt_rgba.h
1384
calc_type dg = ((da - p[Order::G]) * sg + base_mask) >> base_shift;
headers/libs/agg/agg_pixfmt_rgba.h
1388
p[Order::G] = (value_type)(dg + ((p[Order::G] * s1a + base_mask) >> base_shift));
headers/libs/agg/agg_pixfmt_rgba.h
148
calc_type g = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
152
p[Order::G] = (value_type)(((cg - g) * alpha + (g << base_shift)) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
1704
p[order_type::G] = cg;
headers/libs/agg/agg_pixfmt_rgba.h
1733
p[order_type::G] = cg;
headers/libs/agg/agg_pixfmt_rgba.h
180
p[Order::G] = (value_type)((p[Order::G] * alpha + cg * cover) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
1821
((value_type*)p)[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
1834
p[order_type::G],
headers/libs/agg/agg_pixfmt_rgba.h
1846
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
1869
((value_type*)&v)[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
1888
((value_type*)&v)[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
1914
((value_type*)&v)[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
192
p[Order::G] = (value_type)(((p[Order::G] * alpha) >> base_shift) + cg);
headers/libs/agg/agg_pixfmt_rgba.h
1963
((value_type*)&v)[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
2013
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
2044
p[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
2068
p[order_type::G] = colors->g;
headers/libs/agg/agg_pixfmt_rgba.h
2087
p[order_type::G] = colors->g;
headers/libs/agg/agg_pixfmt_rgba.h
216
calc_type g = p[Order::G] * a;
headers/libs/agg/agg_pixfmt_rgba.h
221
p[Order::G] = (value_type)((((cg << base_shift) - g) * alpha + (g << base_shift)) / a);
headers/libs/agg/agg_pixfmt_rgba.h
2302
psrc[src_order::G],
headers/libs/agg/agg_pixfmt_rgba.h
2316
psrc[src_order::G],
headers/libs/agg/agg_pixfmt_rgba.h
2409
((value_type*)p)[order_type::G] = c.g;
headers/libs/agg/agg_pixfmt_rgba.h
2419
p[order_type::G],
headers/libs/agg/agg_pixfmt_rgba.h
2538
p[order_type::G] = colors->g;
headers/libs/agg/agg_pixfmt_rgba.h
2556
p[order_type::G] = colors->g;
headers/libs/agg/agg_pixfmt_rgba.h
256
p[Order::G] = (value_type)((p[Order::G] * cover + 255) >> 8);
headers/libs/agg/agg_pixfmt_rgba.h
2698
psrc[src_order::G],
headers/libs/agg/agg_pixfmt_rgba.h
282
p[Order::G] = (value_type)(((p[Order::G] * alpha + 255) >> 8) + ((sg * cover + 255) >> 8));
headers/libs/agg/agg_pixfmt_rgba.h
289
p[Order::G] = sg;
headers/libs/agg/agg_pixfmt_rgba.h
338
p[Order::G] = (value_type)(sg + ((p[Order::G] * s1a + base_mask) >> base_shift));
headers/libs/agg/agg_pixfmt_rgba.h
372
p[Order::G] = (value_type)(p[Order::G] + ((sg * d1a + base_mask) >> base_shift));
headers/libs/agg/agg_pixfmt_rgba.h
402
p[Order::G] = (value_type)(((p[Order::G] * alpha + 255) >> 8) + ((((sg * da + base_mask) >> base_shift) * cover + 255) >> 8));
headers/libs/agg/agg_pixfmt_rgba.h
409
p[Order::G] = (value_type)((sg * da + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
440
p[Order::G] = (value_type)((p[Order::G] * sa + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
470
p[Order::G] = (value_type)(((p[Order::G] * alpha + 255) >> 8) + ((((sg * da + base_mask) >> base_shift) * cover + 255) >> 8));
headers/libs/agg/agg_pixfmt_rgba.h
477
p[Order::G] = (value_type)((sg * da + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
50
p[Order::R] = p[Order::G] = p[Order::B] = 0;
headers/libs/agg/agg_pixfmt_rgba.h
509
p[Order::G] = (value_type)((p[Order::G] * sa + base_shift) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
54
p[Order::G] = value_type((p[Order::G] * a + ColorT::base_mask) >> ColorT::base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
544
p[Order::G] = (value_type)((sg * da + p[Order::G] * sa + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
573
sg = (p[Order::G] * sa + sg * da + base_mask) >> base_shift;
headers/libs/agg/agg_pixfmt_rgba.h
576
p[Order::G] = (value_type)(((p[Order::G] * alpha + 255) >> 8) + ((sg * cover + 255) >> 8));
headers/libs/agg/agg_pixfmt_rgba.h
584
p[Order::G] = (value_type)((p[Order::G] * sa + sg * da + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
622
p[Order::G] = (value_type)((p[Order::G] * s1a + sg * d1a + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
658
calc_type dg = p[Order::G] + sg;
headers/libs/agg/agg_pixfmt_rgba.h
662
p[Order::G] = (dg > base_mask) ? base_mask : dg;
headers/libs/agg/agg_pixfmt_rgba.h
68
p[Order::R] = p[Order::G] = p[Order::B] = 0;
headers/libs/agg/agg_pixfmt_rgba.h
698
calc_type dg = p[Order::G] - sg;
headers/libs/agg/agg_pixfmt_rgba.h
701
p[Order::G] = (dg > base_mask) ? 0 : dg;
headers/libs/agg/agg_pixfmt_rgba.h
72
calc_type g = (calc_type(p[Order::G]) * ColorT::base_mask) / a;
headers/libs/agg/agg_pixfmt_rgba.h
740
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
743
p[Order::G] = (value_type)((sg * dg + sg * d1a + dg * s1a + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
75
p[Order::G] = value_type((g > ColorT::base_mask) ? ColorT::base_mask : g);
headers/libs/agg/agg_pixfmt_rgba.h
779
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
783
p[Order::G] = (value_type)(sg + dg - ((sg * dg + base_mask) >> base_shift));
headers/libs/agg/agg_pixfmt_rgba.h
825
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
834
p[Order::G] = (value_type)(((2*dg < da) ?
headers/libs/agg/agg_pixfmt_rgba.h
882
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
887
p[Order::G] = (value_type)((sd_min(sg * da, dg * sa) + sg * d1a + dg * s1a + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
92
p[Order::G] = m_gamma.dir(p[Order::G]);
headers/libs/agg/agg_pixfmt_rgba.h
925
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
930
p[Order::G] = (value_type)((sd_max(sg * da, dg * sa) + sg * d1a + dg * s1a + base_mask) >> base_shift);
headers/libs/agg/agg_pixfmt_rgba.h
973
calc_type dg = p[Order::G];
headers/libs/agg/agg_pixfmt_rgba.h
988
p[Order::G] = (value_type)((sgda + dgsa >= sada) ?
headers/libs/agg/agg_span_image_filter_rgb.h
167
span->g = value_type(fg[order_type::G] >> (image_subpixel_shift * 2));
headers/libs/agg/agg_span_image_filter_rgb.h
290
fg[order_type::G] = back_g;
headers/libs/agg/agg_span_image_filter_rgb.h
320
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgb.h
342
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgb.h
365
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgb.h
387
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgb.h
400
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgb.h
514
if(fg[order_type::G] > base_mask) fg[order_type::G] = base_mask;
headers/libs/agg/agg_span_image_filter_rgb.h
518
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgb.h
630
if(fg[order_type::G] > base_mask) fg[order_type::G] = base_mask;
headers/libs/agg/agg_span_image_filter_rgb.h
634
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgb.h
73
span->g = fg_ptr[order_type::G];
headers/libs/agg/agg_span_image_filter_rgb.h
748
if(fg[order_type::G] > base_mask) fg[order_type::G] = base_mask;
headers/libs/agg/agg_span_image_filter_rgb.h
752
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgb.h
871
if(fg[order_type::G] > base_mask) fg[order_type::G] = base_mask;
headers/libs/agg/agg_span_image_filter_rgb.h
875
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgba.h
174
span->g = value_type(fg[order_type::G] >> (image_subpixel_shift * 2));
headers/libs/agg/agg_span_image_filter_rgba.h
302
fg[order_type::G] = back_g;
headers/libs/agg/agg_span_image_filter_rgba.h
332
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgba.h
354
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgba.h
377
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgba.h
399
fg[order_type::G] += back_g * weight;
headers/libs/agg/agg_span_image_filter_rgba.h
412
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgba.h
532
if(fg[order_type::G] > fg[order_type::A]) fg[order_type::G] = fg[order_type::A];
headers/libs/agg/agg_span_image_filter_rgba.h
536
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgba.h
651
if(fg[order_type::G] > fg[order_type::A]) fg[order_type::G] = fg[order_type::A];
headers/libs/agg/agg_span_image_filter_rgba.h
655
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgba.h
73
span->g = fg_ptr[order_type::G];
headers/libs/agg/agg_span_image_filter_rgba.h
772
if(fg[order_type::G] > fg[order_type::A]) fg[order_type::G] = fg[order_type::A];
headers/libs/agg/agg_span_image_filter_rgba.h
776
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_image_filter_rgba.h
899
if(fg[order_type::G] > fg[order_type::A]) fg[order_type::G] = fg[order_type::A];
headers/libs/agg/agg_span_image_filter_rgba.h
903
span->g = (value_type)fg[order_type::G];
headers/libs/agg/agg_span_pattern_rgb.h
76
span->g = p[order_type::G];
headers/libs/agg/agg_span_pattern_rgba.h
75
span->g = p[order_type::G];
headers/libs/agg/util/agg_color_conv_rgb8.h
283
template<int R, int G, int B, int A> class color_conv_rgb555_rgba32
headers/libs/agg/util/agg_color_conv_rgb8.h
294
dst[G] = (int8u)((rgb >> 2) & 0xF8);
headers/libs/agg/util/agg_color_conv_rgb8.h
313
template<int R, int G, int B, int A> class color_conv_rgba32_rgb555
headers/libs/agg/util/agg_color_conv_rgb8.h
323
((unsigned(src[G]) << 2) & 0x3E0) |
headers/libs/agg/util/agg_color_conv_rgb8.h
343
template<int R, int G, int B, int A> class color_conv_rgb565_rgba32
headers/libs/agg/util/agg_color_conv_rgb8.h
354
dst[G] = (rgb >> 3) & 0xFC;
headers/libs/agg/util/agg_color_conv_rgb8.h
373
template<int R, int G, int B> class color_conv_rgba32_rgb565
headers/libs/agg/util/agg_color_conv_rgb8.h
383
((unsigned(src[G]) << 3) & 0x7E0) |
src/add-ons/accelerants/matrox/engine/mga_dac.c
169
uint8 R, G, B;
src/add-ons/accelerants/matrox/engine/mga_dac.c
176
G = DACR(PALDATA);
src/add-ons/accelerants/matrox/engine/mga_dac.c
178
if ((r[i] != R) || (g[i] != G) || (b[i] != B))
src/add-ons/accelerants/matrox/engine/mga_dac.c
179
LOG(1,("DAC palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/accelerants/neomagic/engine/nm_dac.c
110
uint8 R, G, B;
src/add-ons/accelerants/neomagic/engine/nm_dac.c
118
G = (ISARB(PALDATA) << 2);
src/add-ons/accelerants/neomagic/engine/nm_dac.c
121
if (((r[i] & 0xfc) != R) || ((g[i] & 0xfc) != G) || ((b[i] & 0xfc) != B))
src/add-ons/accelerants/neomagic/engine/nm_dac.c
122
LOG(1,("DAC palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/accelerants/nvidia/engine/nv_dac.c
172
uint8 R, G, B;
src/add-ons/accelerants/nvidia/engine/nv_dac.c
179
G = NV_REG8(NV8_PALDATA);
src/add-ons/accelerants/nvidia/engine/nv_dac.c
181
if ((r[i] != R) || (g[i] != G) || (b[i] != B))
src/add-ons/accelerants/nvidia/engine/nv_dac.c
182
LOG(1,("DAC palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/accelerants/nvidia/engine/nv_dac2.c
137
uint8 R, G, B;
src/add-ons/accelerants/nvidia/engine/nv_dac2.c
144
G = NV_REG8(NV8_PAL2DATA);
src/add-ons/accelerants/nvidia/engine/nv_dac2.c
146
if ((r[i] != R) || (g[i] != G) || (b[i] != B))
src/add-ons/accelerants/nvidia/engine/nv_dac2.c
147
LOG(1,("DAC2 palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/accelerants/skeleton/engine/dac.c
118
uint8 R, G, B;
src/add-ons/accelerants/skeleton/engine/dac.c
125
G = ENG_REG8(RG8_PALDATA);
src/add-ons/accelerants/skeleton/engine/dac.c
127
if ((r[i] != R) || (g[i] != G) || (b[i] != B))
src/add-ons/accelerants/skeleton/engine/dac.c
128
LOG(1,("DAC palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/accelerants/skeleton/engine/dac2.c
126
uint8 R, G, B;
src/add-ons/accelerants/skeleton/engine/dac2.c
133
G = ENG_REG8(RG8_PAL2DATA);
src/add-ons/accelerants/skeleton/engine/dac2.c
135
if ((r[i] != R) || (g[i] != G) || (b[i] != B))
src/add-ons/accelerants/skeleton/engine/dac2.c
136
LOG(1,("DAC2 palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/accelerants/via/engine/dac.c
127
uint8 R, G, B;
src/add-ons/accelerants/via/engine/dac.c
134
G = ENG_REG8(RG8_PALDATA);
src/add-ons/accelerants/via/engine/dac.c
136
if ((r[i] != R) || (g[i] != G) || (b[i] != B))
src/add-ons/accelerants/via/engine/dac.c
137
LOG(1,("DAC palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/accelerants/via/engine/dac2.c
126
uint8 R, G, B;
src/add-ons/accelerants/via/engine/dac2.c
133
G = ENG_REG8(RG8_PAL2DATA);
src/add-ons/accelerants/via/engine/dac2.c
135
if ((r[i] != R) || (g[i] != G) || (b[i] != B))
src/add-ons/accelerants/via/engine/dac2.c
136
LOG(1,("DAC2 palette %d: w %x %x %x, r %x %x %x\n", i, r[i], g[i], b[i], R, G, B)); // apsed
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
124
{ 3,G( 1), 3,G( 1), 0,G( 1), 0,G( 1) }, /* 1Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
125
{ 4,G( 2), 3,G( 1), 4,G( 1), 0,G( 1) }, /* 2Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
126
{ 4,G(5.5),3,G( 2), 4,G( 1), 2,G( 1) }, /* 5.5Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
127
{ 4,G(11), 3,G(5.5), 4,G( 2), 2,G( 1) }, /* 11Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
128
{ 4,G( 6), 3,G(5.5), 4,G( 2), 2,G( 1) }, /* 6Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
129
{ 4,G( 9), 3,G( 6), 4,G(5.5), 2,G( 1) }, /* 9Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
130
{ 4,G(12), 3,G( 11), 4,G(5.5), 2,G( 1) }, /* 12Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
131
{ 4,G(18), 3,G( 12), 4,G( 11), 2,G( 1) }, /* 18Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
132
{ 4,G(24), 3,G( 18), 4,G( 12), 2,G( 1) }, /* 24Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
133
{ 4,G(36), 3,G( 24), 4,G( 18), 2,G( 1) }, /* 36Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
134
{ 4,G(48), 3,G( 36), 4,G( 24), 2,G( 1) }, /* 48Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
135
{ 4,G(54), 3,G( 48), 4,G( 36), 2,G( 1) } /* 54Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
152
{ 3,G( 1), 3,G( 1), 0,G( 1), 0,G( 1) }, /* 1Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
153
{ 4,G( 2), 3,G( 1), 4,G( 1), 0,G( 1) }, /* 2Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
154
{ 4,G(5.5),3,G( 2), 4,G( 1), 2,G( 1) }, /* 5.5Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
155
{ 4,G(11), 3,G(5.5), 4,G( 2), 2,G( 1) }, /* 11Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
156
{ 4,G( 6), 3,G(5.5), 4,G( 2), 2,G( 1) }, /* 6Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
157
{ 4,G( 9), 3,G( 6), 4,G(5.5), 2,G( 1) }, /* 9Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
158
{ 4,G(12), 3,G( 11), 4,G(5.5), 2,G( 1) }, /* 12Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
159
{ 4,G(18), 3,G( 12), 4,G( 11), 2,G( 1) }, /* 18Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
160
{ 4,G(24), 3,G( 18), 4,G( 12), 2,G( 1) }, /* 24Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
161
{ 4,G(36), 3,G( 24), 4,G( 18), 2,G( 1) }, /* 36Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
162
{ 4,G(48), 3,G( 36), 4,G( 24), 2,G( 1) }, /* 48Mb/s */
src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/tx_schedules.h
163
{ 4,G(54), 3,G( 48), 4,G( 36), 2,G( 1) }, /* 54Mb/s */
src/add-ons/mail_daemon/inbound_protocols/pop3/md5c.c
86
(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \
src/add-ons/mail_daemon/outbound_protocols/smtp/md5c.c
86
(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
56
int32 Y0, Y1, R, G, B;
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
71
G = (Y0 + Cr_G + Cb_G) >> 15;
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
73
poutEven[j] = Rtab[R] | Gtab[G] | Btab[B];
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
76
G = (Y1 + Cr_G + Cb_G) >> 15;
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
78
poutEven[j + 1] = Rtab[R] | Gtab[G] | Btab[B];
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
85
G = (Y0 + Cr_G + Cb_G) >> 15;
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
87
poutOdd[j] = Rtab[R] | Gtab[G] | Btab[B];
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
90
G = (Y1 + Cr_G + Cb_G) >> 15;
src/add-ons/media/plugins/ffmpeg/gfx_conv_c_lookup.cpp
92
poutOdd[j + 1] = Rtab[R] | Gtab[G] | Btab[B];
src/add-ons/translators/psd/PSDLoader.cpp
422
double G = X * (-80960619.0 / 87888100.0)
src/add-ons/translators/psd/PSDLoader.cpp
431
G = G > 0.0031308 ? pow(G, 1.0 / 2.4) * 1.055 - 0.055
src/add-ons/translators/psd/PSDLoader.cpp
432
: G * 12.92;
src/add-ons/translators/psd/PSDLoader.cpp
437
G = (G < 0) ? 0 : ((G > 1) ? 1 : G);
src/add-ons/translators/psd/PSDLoader.cpp
441
ptr[1] = (uint8)(G * 255.0);
src/add-ons/translators/wonderbrush/support/lab_convert.cpp
134
lab2rgb(float L, float a, float b, uint8& R, uint8& G, uint8& B)
src/add-ons/translators/wonderbrush/support/lab_convert.cpp
152
G = (uint8)constrain_int32_0_255((int32)(pow(linearG, 0.4) * 255.0 + 0.5));
src/add-ons/translators/wonderbrush/support/lab_convert.cpp
172
rgb2lab(uint8 R, uint8 G, uint8 B, float& L, float& a, float& b)
src/add-ons/translators/wonderbrush/support/lab_convert.cpp
178
float linearG = linearTable[G];
src/add-ons/translators/wonderbrush/support/lab_convert.h
14
void lab2rgb(float L, float a, float b, uint8& R, uint8& G, uint8& B);
src/add-ons/translators/wonderbrush/support/lab_convert.h
18
lab2rgb(uint8 L, uint8 a, uint8 b, uint8& R, uint8& G, uint8& B)
src/add-ons/translators/wonderbrush/support/lab_convert.h
23
lab2rgb(CIEL, CIEa, CIEb, R, G, B);
src/add-ons/translators/wonderbrush/support/lab_convert.h
26
void rgb2lab(uint8 R, uint8 G, uint8 B, float& L, float& a, float& b);
src/add-ons/translators/wonderbrush/support/lab_convert.h
30
rgb2lab(uint8 R, uint8 G, uint8 B, uint8& L, uint8& a, uint8& b)
src/add-ons/translators/wonderbrush/support/lab_convert.h
33
rgb2lab(R, G, B, CIEL, CIEa, CIEb);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
229
float R(0), G(0), B(0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
239
G = round(fMarkerPosition.x / width * 255.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
245
G = fFixedValue * 255;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
251
G = round(255.0 - fMarkerPosition.y / height * 255.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
275
HSV_to_RGB(H, S, V, R, G, B);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
276
R *= 255.0; G *= 255.0; B *= 255.0;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorField.cpp
279
rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round(B),
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
275
float G = 0;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
284
G = round(fFixedValue1 * 255.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
290
G = 255 - Value();
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
296
G = round(fFixedValue2 * 255.0);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
320
HSV_to_RGB(h, s, v, R, G, B);
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
322
G *= 255.0;
src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorSlider.cpp
326
rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round(B),
src/apps/icon-o-matic/generic/support/rgb_hsv.h
13
#define RETURN_RGB(r, g, b) { R = r; G = g; B = b; return; }
src/apps/icon-o-matic/generic/support/rgb_hsv.h
19
RGB_to_HSV(float R, float G, float B, float& H, float& S, float& V)
src/apps/icon-o-matic/generic/support/rgb_hsv.h
26
if (R > G) {
src/apps/icon-o-matic/generic/support/rgb_hsv.h
29
min = G > B ? B : G;
src/apps/icon-o-matic/generic/support/rgb_hsv.h
32
min = G;
src/apps/icon-o-matic/generic/support/rgb_hsv.h
36
if (G > B) {
src/apps/icon-o-matic/generic/support/rgb_hsv.h
37
max = G;
src/apps/icon-o-matic/generic/support/rgb_hsv.h
51
? G - B
src/apps/icon-o-matic/generic/support/rgb_hsv.h
52
: ((G == min) ? B - R : R - G);
src/apps/icon-o-matic/generic/support/rgb_hsv.h
55
: ((G == min) ? 5 : 1);
src/apps/icon-o-matic/generic/support/rgb_hsv.h
66
HSV_to_RGB(float h, float s, float v, float& R, float& G, float& B)
src/bin/network/ftpd/md5c.c
115
(a) += G ((b), (c), (d)) + (x) + (u_int32_t)(ac); \
src/bin/unzip/beos.c
1047
(*G.message)((zvoid *)&G, slide, (ulg)strlen((char *)slide), 0);
src/bin/unzip/beos.c
196
ulg tmp = G.crec.external_file_attributes;
src/bin/unzip/beos.c
198
switch (G.pInfo->hostnum) {
src/bin/unzip/beos.c
201
G.pInfo->file_attr = (unsigned)(tmp<<6 | tmp<<3 | tmp);
src/bin/unzip/beos.c
217
G.pInfo->file_attr = (unsigned)(tmp >> 16);
src/bin/unzip/beos.c
218
if (G.pInfo->file_attr != 0 || !G.extra_field) {
src/bin/unzip/beos.c
237
uch *ef = G.extra_field;
src/bin/unzip/beos.c
238
unsigned ef_len = G.crec.extra_field_length;
src/bin/unzip/beos.c
250
G.pInfo->file_attr =
src/bin/unzip/beos.c
278
G.pInfo->file_attr = (unsigned)(tmp >> 16);
src/bin/unzip/beos.c
290
extent fnlen = strlen(G.filename);
src/bin/unzip/beos.c
291
if (fnlen > 0 && G.filename[fnlen-1] == '/')
src/bin/unzip/beos.c
296
if ((G.pInfo->file_attr & 0700) == (unsigned)(0400 | tmp<<6))
src/bin/unzip/beos.c
301
G.pInfo->file_attr = (unsigned)(0444 | tmp<<6 | tmp<<3 | tmp);
src/bin/unzip/beos.c
307
G.pInfo->file_attr &= ~tmp;
src/bin/unzip/beos.c
352
if (G.pInfo->vollabel)
src/bin/unzip/beos.c
356
G.create_dirs = (!uO.fflag || renamed);
src/bin/unzip/beos.c
361
renamed_fullpath = (renamed && (*G.filename == '/'));
src/bin/unzip/beos.c
369
cp = (char *)strrchr(G.filename, '/');
src/bin/unzip/beos.c
371
cp = G.filename; /* point to internal zipfile-member pathname */
src/bin/unzip/beos.c
438
FnFilter1(G.filename)));
src/bin/unzip/beos.c
449
if (G.filename[strlen(G.filename) - 1] == '/') {
src/bin/unzip/beos.c
450
checkdir(__G__ G.filename, GETPATH);
src/bin/unzip/beos.c
454
FnFilter1(G.filename)));
src/bin/unzip/beos.c
458
void *ptr = scanBeOSexfield( G.extra_field,
src/bin/unzip/beos.c
459
G.lrec.extra_field_length );
src/bin/unzip/beos.c
461
setBeOSexfield( G.filename, ptr );
src/bin/unzip/beos.c
467
if (chmod(G.filename, (0xffff & G.pInfo->file_attr) | 0700))
src/bin/unzip/beos.c
477
void *ptr = scanBeOSexfield( G.extra_field,
src/bin/unzip/beos.c
478
G.lrec.extra_field_length );
src/bin/unzip/beos.c
480
setBeOSexfield( G.filename, ptr );
src/bin/unzip/beos.c
503
getRISCOSexfield(G.extra_field, G.lrec.extra_field_length))
src/bin/unzip/beos.c
521
FnFilter1(G.filename)));
src/bin/unzip/beos.c
526
checkdir(__G__ G.filename, GETPATH);
src/bin/unzip/beos.c
590
if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */
src/bin/unzip/beos.c
591
if (!G.create_dirs) { /* told not to create (freshening) */
src/bin/unzip/beos.c
607
FnFilter2(buildpath), FnFilter1(G.filename)));
src/bin/unzip/beos.c
613
} else if (!S_ISDIR(G.statbuf.st_mode)) {
src/bin/unzip/beos.c
617
FnFilter2(buildpath), FnFilter1(G.filename)));
src/bin/unzip/beos.c
672
FnFilter1(G.filename), FnFilter2(buildpath)));
src/bin/unzip/beos.c
692
if ((buildpath = (char *)malloc(strlen(G.filename)+rootlen+
src/bin/unzip/beos.c
695
if ((buildpath = (char *)malloc(strlen(G.filename)+rootlen+1))
src/bin/unzip/beos.c
738
if (rootlen > 0 && (stat(tmproot, &G.statbuf) ||
src/bin/unzip/beos.c
739
!S_ISDIR(G.statbuf.st_mode)))
src/bin/unzip/beos.c
741
if (!G.create_dirs /* || iswild(tmproot) */ ) {
src/bin/unzip/beos.c
814
if (G.symlnk) {
src/bin/unzip/beos.c
815
unsigned ucsize = (unsigned)G.lrec.ucsize;
src/bin/unzip/beos.c
816
char *linktarget = (char *)malloc((unsigned)G.lrec.ucsize+1);
src/bin/unzip/beos.c
818
fclose(G.outfile); /* close "data" file... */
src/bin/unzip/beos.c
819
G.outfile = fopen(G.filename, FOPR); /* ...and reopen for reading */
src/bin/unzip/beos.c
821
|| fread(linktarget, 1, ucsize, G.outfile) != (size_t)ucsize) {
src/bin/unzip/beos.c
823
"warning: symbolic link (%s) failed\n", FnFilter1(G.filename)));
src/bin/unzip/beos.c
826
fclose(G.outfile);
src/bin/unzip/beos.c
829
fclose(G.outfile); /* close "data" file for good... */
src/bin/unzip/beos.c
830
unlink(G.filename); /* ...and delete it */
src/bin/unzip/beos.c
834
if (symlink(linktarget, G.filename)) /* create the real link */
src/bin/unzip/beos.c
839
void *ptr = scanBeOSexfield( G.extra_field,
src/bin/unzip/beos.c
840
G.lrec.extra_field_length );
src/bin/unzip/beos.c
842
setBeOSexfield( G.filename, ptr );
src/bin/unzip/beos.c
851
fclose(G.outfile);
src/bin/unzip/beos.c
855
void *ptr = scanBeOSexfield( G.extra_field,
src/bin/unzip/beos.c
856
G.lrec.extra_field_length );
src/bin/unzip/beos.c
859
setBeOSexfield( G.filename, ptr );
src/bin/unzip/beos.c
863
assign_MIME( G.filename );
src/bin/unzip/beos.c
874
if (chmod(G.filename, 0xffff & G.pInfo->file_attr))
src/bin/unzip/beos.c
887
eb_izux_flg = (G.extra_field ? ef_scan_for_izux(G.extra_field,
src/bin/unzip/beos.c
888
G.lrec.extra_field_length, 0, G.lrec.last_mod_dos_datetime,
src/bin/unzip/beos.c
890
(G.tz_is_valid ? &zt : NULL),
src/bin/unzip/beos.c
899
zt.mtime = dos_to_unix_time(G.lrec.last_mod_dos_datetime);
src/bin/unzip/beos.c
913
if (chown(G.filename, (uid_t)z_uidgid[0], (gid_t)z_uidgid[1]))
src/bin/unzip/beos.c
918
z_uidgid[0], z_uidgid[1], FnFilter1(G.filename)));
src/bin/unzip/beos.c
927
if (utime(G.filename, (struct utimbuf *)&zt)) {
src/bin/unzip/beos.c
930
"warning: cannot set time for %s\n", FnFilter1(G.filename)));
src/bin/unzip/crypt.h
166
(encrypted? update_keys(__G__ getc(G.in)^decrypt_byte(__G)) : getc(G.in))
src/bin/unzip/explode.c
122
# define wszimpl (unsigned)(G._wsize)
src/bin/unzip/explode.c
278
s = G.lrec.ucsize;
src/bin/unzip/explode.c
316
if (G.redirect_slide) {
src/bin/unzip/explode.c
358
if (G.csize + G.incnt + (k >> 3)) /* should have read csize bytes, but */
src/bin/unzip/explode.c
360
G.used_csize = G.lrec.csize - G.csize - G.incnt - (k >> 3);
src/bin/unzip/explode.c
395
s = G.lrec.ucsize;
src/bin/unzip/explode.c
434
if (G.redirect_slide) {
src/bin/unzip/explode.c
476
if (G.csize + G.incnt + (k >> 3)) /* should have read csize bytes, but */
src/bin/unzip/explode.c
478
G.used_csize = G.lrec.csize - G.csize - G.incnt - (k >> 3);
src/bin/unzip/explode.c
508
if (G.redirect_slide)
src/bin/unzip/explode.c
512
G._wsize = G.redirect_size, redirSlide = G.redirect_buffer;
src/bin/unzip/explode.c
518
G._wsize = WSIZE>>1, redirSlide = slide;
src/bin/unzip/explode.c
520
G._wsize = WSIZE, redirSlide = slide;
src/bin/unzip/explode.c
530
bd = (G.csize + G.incnt) > 200000L ? 8 : 7;
src/bin/unzip/explode.c
533
G.hufts = 0; /* initialize huft's malloc'ed */
src/bin/unzip/explode.c
536
if (G.lrec.general_purpose_bit_flag & 4)
src/bin/unzip/explode.c
579
if (G.lrec.general_purpose_bit_flag & 2) /* true if 8K */
src/bin/unzip/explode.c
607
Trace((stderr, "<%u > ", G.hufts));
src/bin/unzip/extract.c
1000
FnFilter1(G.filename), "local"));
src/bin/unzip/extract.c
1006
if (G.pInfo->encrypted &&
src/bin/unzip/extract.c
1012
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1019
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1033
if (!uO.tflag && !uO.cflag && !G.redirect_data)
src/bin/unzip/extract.c
1048
if (G.pInfo->hostnum == FS_FAT_ && !MBSCHR(G.filename, '/')) {
src/bin/unzip/extract.c
1049
char *p=G.filename;
src/bin/unzip/extract.c
1053
if (!G.reported_backslash) {
src/bin/unzip/extract.c
1055
LoadFarString(BackslashPathSep), G.zipfn));
src/bin/unzip/extract.c
1056
G.reported_backslash = TRUE;
src/bin/unzip/extract.c
1068
if (G.filename[0] == '/') {
src/bin/unzip/extract.c
1071
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1075
char *p = G.filename + 1;
src/bin/unzip/extract.c
1079
} while (G.filename[0] == '/');
src/bin/unzip/extract.c
1103
(char *)malloc(strlen(G.filename) + 1);
src/bin/unzip/extract.c
1113
strcpy((*pdirlist)->fn, G.filename);
src/bin/unzip/extract.c
1114
(*pdirlist)->perms = G.pInfo->file_attr;
src/bin/unzip/extract.c
1116
eb_izux_flg = G.extra_field? ef_scan_for_izux(
src/bin/unzip/extract.c
1117
G.extra_field, G.lrec.extra_field_length, 0,
src/bin/unzip/extract.c
1118
G.lrec.last_mod_dos_datetime,
src/bin/unzip/extract.c
1120
(G.tz_is_valid ? &((*pdirlist)->u.t3) : NULL),
src/bin/unzip/extract.c
1135
G.lrec.last_mod_dos_datetime);
src/bin/unzip/extract.c
1158
FnFilter1(G.filename),
src/bin/unzip/extract.c
1163
FnFilter1(G.filename), ""));
src/bin/unzip/extract.c
1169
FnFilter1(G.filename), error));
src/bin/unzip/extract.c
1174
QFilename(__G__ G.filename);
src/bin/unzip/extract.c
1176
switch (check_for_newer(__G__ G.filename)) {
src/bin/unzip/extract.c
1179
G.dne = TRUE; /* stat() says file DOES NOT EXIST */
src/bin/unzip/extract.c
1218
switch (G.lpUserFunctions->replace != NULL ?
src/bin/unzip/extract.c
1219
(*G.lpUserFunctions->replace)(G.filename) :
src/bin/unzip/extract.c
1222
_ISO_INTERN(G.filename);
src/bin/unzip/extract.c
1226
G.overwrite_mode = OVERWRT_ALWAYS;
src/bin/unzip/extract.c
1231
G.overwrite_mode = OVERWRT_NEVER;
src/bin/unzip/extract.c
1242
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1243
if (fgets(G.answerbuf, 9, stdin) == (char *)NULL) {
src/bin/unzip/extract.c
1246
*G.answerbuf = 'N';
src/bin/unzip/extract.c
1250
switch (*G.answerbuf) {
src/bin/unzip/extract.c
1256
fgets(G.filename, FILNAMSIZ, stdin);
src/bin/unzip/extract.c
1258
fnlen = strlen(G.filename);
src/bin/unzip/extract.c
1259
if (lastchar(G.filename, fnlen) == '\n')
src/bin/unzip/extract.c
1260
G.filename[--fnlen] = '\0';
src/bin/unzip/extract.c
1263
_OEM_INTERN(G.filename);
src/bin/unzip/extract.c
1268
G.overwrite_mode = OVERWRT_ALWAYS;
src/bin/unzip/extract.c
1274
G.overwrite_mode = OVERWRT_NEVER;
src/bin/unzip/extract.c
1282
LoadFarString(InvalidResponse), *G.answerbuf));
src/bin/unzip/extract.c
1295
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1303
if ((G.statreportcb != NULL) &&
src/bin/unzip/extract.c
1304
(*G.statreportcb)(__G__ UZ_ST_START_EXTRACT, G.zipfn,
src/bin/unzip/extract.c
1305
G.filename, NULL)) {
src/bin/unzip/extract.c
1313
G.filenote_slot = i;
src/bin/unzip/extract.c
1315
G.disk_full = 0;
src/bin/unzip/extract.c
1320
if (G.disk_full > 1 || error_in_archive == IZ_CTRLC) {
src/bin/unzip/extract.c
1322
if (G.disk_full > 1) {
src/bin/unzip/extract.c
1328
if ((G.statreportcb != NULL) &&
src/bin/unzip/extract.c
1329
(*G.statreportcb)(__G__ UZ_ST_FINISH_MEMBER, G.zipfn,
src/bin/unzip/extract.c
1330
G.filename, (zvoid *)&G.lrec.ucsize)) {
src/bin/unzip/extract.c
1371
G.bits_left = 0;
src/bin/unzip/extract.c
1372
G.bitbuf = 0L; /* unreduce and unshrink only */
src/bin/unzip/extract.c
1373
G.zipeof = 0;
src/bin/unzip/extract.c
1374
G.newfile = TRUE;
src/bin/unzip/extract.c
1375
G.crc32val = CRCVAL_INITIAL;
src/bin/unzip/extract.c
1380
if (S_ISLNK(G.pInfo->file_attr) &&
src/bin/unzip/extract.c
1381
(G.pInfo->hostnum == UNIX_ || G.pInfo->hostnum == ATARI_ ||
src/bin/unzip/extract.c
1382
G.pInfo->hostnum == BEOS_) &&
src/bin/unzip/extract.c
1383
!uO.tflag && !uO.cflag && (G.lrec.ucsize > 0))
src/bin/unzip/extract.c
1384
G.symlnk = TRUE;
src/bin/unzip/extract.c
1386
G.symlnk = FALSE;
src/bin/unzip/extract.c
1392
FnFilter1(G.filename), "", ""));
src/bin/unzip/extract.c
1395
if (uO.cflag && !G.redirect_data)
src/bin/unzip/extract.c
1401
G.outfile = freopen("", "wb", stdout); /* VAC++ ignores setmode */
src/bin/unzip/extract.c
1403
G.outfile = stdout;
src/bin/unzip/extract.c
1407
setmode(G.outfile, _BINARY);
src/bin/unzip/extract.c
1409
setmode(fileno(G.outfile), O_BINARY);
src/bin/unzip/extract.c
1428
switch (G.lrec.compression_method) {
src/bin/unzip/extract.c
1432
if (G.symlnk) /* can also be deflated, but rarer... */
src/bin/unzip/extract.c
1434
"link", FnFilter1(G.filename), "", ""));
src/bin/unzip/extract.c
1438
"extract", FnFilter1(G.filename),
src/bin/unzip/extract.c
1440
"" : (G.lrec.ucsize == 0L? nul : (G.pInfo->textfile? txt :
src/bin/unzip/extract.c
1444
if (G.redirect_slide) {
src/bin/unzip/extract.c
1445
wsize = G.redirect_size; redirSlide = G.redirect_buffer;
src/bin/unzip/extract.c
1450
G.outptr = redirSlide;
src/bin/unzip/extract.c
1451
G.outcnt = 0L;
src/bin/unzip/extract.c
1453
*G.outptr++ = (uch)b;
src/bin/unzip/extract.c
1454
if (++G.outcnt == wsize) {
src/bin/unzip/extract.c
1455
error = flush(__G__ redirSlide, G.outcnt, 0);
src/bin/unzip/extract.c
1456
G.outptr = redirSlide;
src/bin/unzip/extract.c
1457
G.outcnt = 0L;
src/bin/unzip/extract.c
1458
if (error != PK_COOL || G.disk_full) break;
src/bin/unzip/extract.c
1461
if (G.outcnt) /* flush final (partial) buffer */
src/bin/unzip/extract.c
1462
flush(__G__ redirSlide, G.outcnt, 0);
src/bin/unzip/extract.c
1470
LoadFarStringSmall(Unshrink), FnFilter1(G.filename),
src/bin/unzip/extract.c
1472
"" : (G.pInfo->textfile? txt : bin), uO.cflag? NEWLINE : ""));
src/bin/unzip/extract.c
1481
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1500
"unreduc", FnFilter1(G.filename),
src/bin/unzip/extract.c
1502
"" : (G.pInfo->textfile? txt : bin), uO.cflag? NEWLINE : ""));
src/bin/unzip/extract.c
1514
"explod", FnFilter1(G.filename),
src/bin/unzip/extract.c
1516
"" : (G.pInfo->textfile? txt : bin), uO.cflag? NEWLINE : ""));
src/bin/unzip/extract.c
1526
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1539
int warning = ((ulg)G.used_csize <= G.lrec.csize);
src/bin/unzip/extract.c
1543
"", warning? "warning" : "error", G.used_csize,
src/bin/unzip/extract.c
1544
G.lrec.ucsize, warning? " " : "", G.lrec.csize,
src/bin/unzip/extract.c
1545
" [", FnFilter1(G.filename), "]"));
src/bin/unzip/extract.c
1548
"\n", warning? "warning" : "error", G.used_csize,
src/bin/unzip/extract.c
1549
G.lrec.ucsize, warning? " ":"", G.lrec.csize,
src/bin/unzip/extract.c
1562
"inflat", FnFilter1(G.filename),
src/bin/unzip/extract.c
1564
"" : (G.pInfo->textfile? txt : bin), uO.cflag? NEWLINE : ""));
src/bin/unzip/extract.c
1570
(G.lrec.compression_method == ENHDEFLATED)))
src/bin/unzip/extract.c
1579
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1595
LoadFarString(FileUnknownCompMethod), FnFilter1(G.filename)));
src/bin/unzip/extract.c
1613
if (!uO.tflag && (!uO.cflag || G.redirect_data)) {
src/bin/unzip/extract.c
1614
if (G.redirect_data)
src/bin/unzip/extract.c
1628
if (G.disk_full) { /* set by flush() */
src/bin/unzip/extract.c
1629
if (G.disk_full > 1) {
src/bin/unzip/extract.c
1632
if (unlink(G.filename) != 0)
src/bin/unzip/extract.c
1634
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1638
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1650
if (G.crc32val != G.lrec.crc32) {
src/bin/unzip/extract.c
1654
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1655
Info(slide, 0x401, ((char *)slide, LoadFarString(BadCRC), G.crc32val,
src/bin/unzip/extract.c
1656
G.lrec.crc32));
src/bin/unzip/extract.c
1658
if (G.pInfo->encrypted)
src/bin/unzip/extract.c
1664
if (G.extra_field) {
src/bin/unzip/extract.c
1665
if ((r = TestExtraField(__G__ G.extra_field,
src/bin/unzip/extract.c
1666
G.lrec.extra_field_length)) > error)
src/bin/unzip/extract.c
1713
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1751
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1795
FnFilter1(G.filename)));
src/bin/unzip/extract.c
1942
long old_csize=G.csize;
src/bin/unzip/extract.c
1943
uch *old_inptr=G.inptr;
src/bin/unzip/extract.c
1944
int old_incnt=G.incnt;
src/bin/unzip/extract.c
1954
G.inptr = (uch *)src + (2 + 4); /* method and extra_field_crc */
src/bin/unzip/extract.c
1955
G.incnt = (int)(G.csize = (long)(srcsize - (2 + 4)));
src/bin/unzip/extract.c
1956
G.mem_mode = TRUE;
src/bin/unzip/extract.c
1957
G.outbufptr = tgt;
src/bin/unzip/extract.c
1958
G.outsize = tgtsize;
src/bin/unzip/extract.c
1962
memcpy((char *)tgt, (char *)G.inptr, (extent)G.incnt);
src/bin/unzip/extract.c
1963
G.outcnt = G.csize; /* for CRC calculation */
src/bin/unzip/extract.c
1969
G.outcnt = 0L;
src/bin/unzip/extract.c
1979
if (G.outcnt == 0L) /* inflate's final FLUSH sets outcnt */
src/bin/unzip/extract.c
1993
G.inptr = old_inptr;
src/bin/unzip/extract.c
1994
G.incnt = old_incnt;
src/bin/unzip/extract.c
1995
G.csize = old_csize;
src/bin/unzip/extract.c
1996
G.mem_mode = FALSE;
src/bin/unzip/extract.c
1999
register ulg crcval = crc32(CRCVAL_INITIAL, tgt, (extent)G.outcnt);
src/bin/unzip/extract.c
2006
LoadFarString(BadExtraFieldCRC), G.zipfn, crcval,
src/bin/unzip/extract.c
2029
if (size > G.outsize)
src/bin/unzip/extract.c
2036
memcpy((char *)G.outbufptr, (char *)rawbuf, (extent)size);
src/bin/unzip/extract.c
2037
G.outbufptr += (unsigned int)size;
src/bin/unzip/extract.c
2038
G.outsize -= size;
src/bin/unzip/extract.c
2039
G.outcnt += size;
src/bin/unzip/extract.c
309
G.pInfo = G.info;
src/bin/unzip/extract.c
312
G.newzip = TRUE;
src/bin/unzip/extract.c
315
G.reported_backslash = FALSE;
src/bin/unzip/extract.c
319
if (G.filespecs > 0 &&
src/bin/unzip/extract.c
320
(fn_matched=(int *)malloc(G.filespecs*sizeof(int))) != (int *)NULL)
src/bin/unzip/extract.c
321
for (i = 0; i < G.filespecs; ++i)
src/bin/unzip/extract.c
323
if (G.xfilespecs > 0 &&
src/bin/unzip/extract.c
324
(xn_matched=(int *)malloc(G.xfilespecs*sizeof(int))) != (int *)NULL)
src/bin/unzip/extract.c
325
for (i = 0; i < G.xfilespecs; ++i)
src/bin/unzip/extract.c
343
memzero(G.filenotes, DIR_BLKSIZ * sizeof(char *));
src/bin/unzip/extract.c
353
G.pInfo = &G.info[j];
src/bin/unzip/extract.c
355
if (readbuf(__G__ G.sig, 4) == 0) {
src/bin/unzip/extract.c
360
if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a new entry? */
src/bin/unzip/extract.c
366
(unsigned)G.ecrec.total_entries_central_dir) {
src/bin/unzip/extract.c
370
(strncmp(G.sig, end_central_sig, 4) != 0);
src/bin/unzip/extract.c
390
if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) !=
src/bin/unzip/extract.c
397
FnFilter1(G.filename), "central"));
src/bin/unzip/extract.c
402
if ((error = do_string(__G__ G.crec.extra_field_length,
src/bin/unzip/extract.c
410
FnFilter1(G.filename), "central"));
src/bin/unzip/extract.c
416
G.filenote_slot = j;
src/bin/unzip/extract.c
417
if ((error = do_string(__G__ G.crec.file_comment_length,
src/bin/unzip/extract.c
420
if ((error = do_string(__G__ G.crec.file_comment_length, SKIP))
src/bin/unzip/extract.c
429
FnFilter1(G.filename)));
src/bin/unzip/extract.c
434
if (G.process_all_files) {
src/bin/unzip/extract.c
442
if (G.filespecs == 0)
src/bin/unzip/extract.c
446
for (i = 0; i < G.filespecs; i++)
src/bin/unzip/extract.c
447
if (match(G.filename, G.pfnames[i], uO.C_flag)) {
src/bin/unzip/extract.c
455
for (i = 0; i < G.xfilespecs; i++)
src/bin/unzip/extract.c
456
if (match(G.filename, G.pxnames[i], uO.C_flag)) {
src/bin/unzip/extract.c
476
cd_bufstart = G.cur_zipfile_bufstart;
src/bin/unzip/extract.c
477
cd_inptr = G.inptr;
src/bin/unzip/extract.c
478
cd_incnt = G.incnt;
src/bin/unzip/extract.c
494
if (G.disk_full > 1 || error_in_archive == IZ_CTRLC) {
src/bin/unzip/extract.c
510
fseek((FILE *)G.zipfd, (LONGINT)cd_bufstart, SEEK_SET);
src/bin/unzip/extract.c
511
G.cur_zipfile_bufstart = ftell((FILE *)G.zipfd);
src/bin/unzip/extract.c
513
G.cur_zipfile_bufstart =
src/bin/unzip/extract.c
514
lseek(G.zipfd, (LONGINT)cd_bufstart, SEEK_SET);
src/bin/unzip/extract.c
516
read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */
src/bin/unzip/extract.c
517
G.inptr = cd_inptr;
src/bin/unzip/extract.c
518
G.incnt = cd_incnt;
src/bin/unzip/extract.c
525
printf("inptr-inbuf = %d\n", G.inptr-G.inbuf);
src/bin/unzip/extract.c
526
printf("incnt = %d\n\n", G.incnt);
src/bin/unzip/extract.c
589
for (i = 0; i < G.filespecs; ++i)
src/bin/unzip/extract.c
592
if (!G.redirect_data && !G.redirect_text)
src/bin/unzip/extract.c
594
LoadFarString(FilenameNotMatched), G.pfnames[i]));
src/bin/unzip/extract.c
599
LoadFarString(FilenameNotMatched), G.pfnames[i]));
src/bin/unzip/extract.c
607
for (i = 0; i < G.xfilespecs; ++i)
src/bin/unzip/extract.c
610
LoadFarString(ExclFilenameNotMatched), G.pxnames[i]));
src/bin/unzip/extract.c
635
(error_in_archive == PK_WARN)? "warning-" : "", G.zipfn));
src/bin/unzip/extract.c
638
G.zipfn));
src/bin/unzip/extract.c
639
else if (G.process_all_files && (num_skipped+num_bad_pwd == 0L))
src/bin/unzip/extract.c
641
G.zipfn));
src/bin/unzip/extract.c
644
, G.zipfn, num, (num==1L)? "":"s"));
src/bin/unzip/extract.c
655
G.zipfn));
src/bin/unzip/extract.c
696
(G.crec.compression_method!=STORED && G.crec.compression_method<DEFLATED \
src/bin/unzip/extract.c
697
&& G.crec.compression_method>ENHDEFLATED)
src/bin/unzip/extract.c
700
(G.crec.compression_method!=STORED && G.crec.compression_method!=DEFLATED)
src/bin/unzip/extract.c
704
# define UNKN_RED (G.crec.compression_method >= REDUCED1 && \
src/bin/unzip/extract.c
705
G.crec.compression_method <= REDUCED4)
src/bin/unzip/extract.c
710
# define UNKN_SHR (G.crec.compression_method == SHRUNK)
src/bin/unzip/extract.c
716
G.crec.compression_method==TOKENIZED || \
src/bin/unzip/extract.c
717
G.crec.compression_method>ENHDEFLATED)
src/bin/unzip/extract.c
720
G.crec.compression_method==TOKENIZED || \
src/bin/unzip/extract.c
721
G.crec.compression_method>DEFLATED)
src/bin/unzip/extract.c
729
G.pInfo->encrypted = G.crec.general_purpose_bit_flag & 1; /* bit field */
src/bin/unzip/extract.c
730
G.pInfo->ExtLocHdr = (G.crec.general_purpose_bit_flag & 8) == 8; /* bit */
src/bin/unzip/extract.c
731
G.pInfo->textfile = G.crec.internal_file_attributes & 1; /* bit field */
src/bin/unzip/extract.c
732
G.pInfo->crc = G.crec.crc32;
src/bin/unzip/extract.c
733
G.pInfo->compr_size = G.crec.csize;
src/bin/unzip/extract.c
734
G.pInfo->uncompr_size = G.crec.ucsize;
src/bin/unzip/extract.c
738
G.pInfo->textmode = FALSE; /* bit field */
src/bin/unzip/extract.c
741
G.pInfo->textmode = G.pInfo->textfile; /* auto-convert mode */
src/bin/unzip/extract.c
744
G.pInfo->textmode = TRUE;
src/bin/unzip/extract.c
748
if (G.crec.version_needed_to_extract[1] == VMS_) {
src/bin/unzip/extract.c
749
if (G.crec.version_needed_to_extract[0] > VMS_UNZIP_VERSION) {
src/bin/unzip/extract.c
752
FnFilter1(G.filename), "VMS",
src/bin/unzip/extract.c
753
G.crec.version_needed_to_extract[0] / 10,
src/bin/unzip/extract.c
754
G.crec.version_needed_to_extract[0] % 10,
src/bin/unzip/extract.c
761
FnFilter1(G.filename)));
src/bin/unzip/extract.c
762
fgets(G.answerbuf, 9, stdin);
src/bin/unzip/extract.c
763
if ((*G.answerbuf != 'y') && (*G.answerbuf != 'Y'))
src/bin/unzip/extract.c
768
} else if (G.crec.version_needed_to_extract[0] > UNZIP_VERSION) {
src/bin/unzip/extract.c
771
FnFilter1(G.filename), "PK",
src/bin/unzip/extract.c
772
G.crec.version_needed_to_extract[0] / 10,
src/bin/unzip/extract.c
773
G.crec.version_needed_to_extract[0] % 10,
src/bin/unzip/extract.c
781
if (G.crec.compression_method < NUM_METHODS)
src/bin/unzip/extract.c
783
FnFilter1(G.filename),
src/bin/unzip/extract.c
784
LoadFarStringSmall(ComprNames[G.crec.compression_method])));
src/bin/unzip/extract.c
788
FnFilter1(G.filename),
src/bin/unzip/extract.c
789
G.crec.compression_method));
src/bin/unzip/extract.c
794
if (G.pInfo->encrypted) {
src/bin/unzip/extract.c
797
FnFilter1(G.filename)));
src/bin/unzip/extract.c
805
G.pInfo->diskstart = G.crec.disk_number_start;
src/bin/unzip/extract.c
806
G.pInfo->offset = (long)G.crec.relative_offset_local_header;
src/bin/unzip/extract.c
854
G.pInfo = &G.info[i];
src/bin/unzip/extract.c
856
G.dne = FALSE; /* assume file exists until stat() says otherwise */
src/bin/unzip/extract.c
864
request = G.pInfo->offset + G.extra_bytes;
src/bin/unzip/extract.c
872
bufstart, G.cur_zipfile_bufstart));
src/bin/unzip/extract.c
875
G.zipfn, LoadFarString(ReportMsg)));
src/bin/unzip/extract.c
877
if (*pfilnum == 1 && G.extra_bytes != 0L) {
src/bin/unzip/extract.c
880
*pold_extra_bytes = G.extra_bytes;
src/bin/unzip/extract.c
881
G.extra_bytes = 0L;
src/bin/unzip/extract.c
882
request = G.pInfo->offset; /* could also check if != 0 */
src/bin/unzip/extract.c
889
bufstart, G.cur_zipfile_bufstart));
src/bin/unzip/extract.c
896
G.zipfn, LoadFarString(ReportMsg)));
src/bin/unzip/extract.c
906
if (bufstart != G.cur_zipfile_bufstart) {
src/bin/unzip/extract.c
909
fseek((FILE *)G.zipfd, (LONGINT)bufstart, SEEK_SET);
src/bin/unzip/extract.c
910
G.cur_zipfile_bufstart = ftell((FILE *)G.zipfd);
src/bin/unzip/extract.c
912
G.cur_zipfile_bufstart =
src/bin/unzip/extract.c
913
lseek(G.zipfd, (LONGINT)bufstart, SEEK_SET);
src/bin/unzip/extract.c
915
if ((G.incnt = read(G.zipfd,(char *)G.inbuf,INBUFSIZ)) <= 0)
src/bin/unzip/extract.c
922
G.inptr = G.inbuf + (int)inbuf_offset;
src/bin/unzip/extract.c
923
G.incnt -= (int)inbuf_offset;
src/bin/unzip/extract.c
925
G.incnt += (int)(G.inptr-G.inbuf) - (int)inbuf_offset;
src/bin/unzip/extract.c
926
G.inptr = G.inbuf + (int)inbuf_offset;
src/bin/unzip/extract.c
930
if (readbuf(__G__ G.sig, 4) == 0) { /* bad offset */
src/bin/unzip/extract.c
936
if (strncmp(G.sig, local_hdr_sig, 4)) {
src/bin/unzip/extract.c
944
if ((*pfilnum == 1 && G.extra_bytes != 0L) ||
src/bin/unzip/extract.c
945
(G.extra_bytes == 0L && *pold_extra_bytes != 0L)) {
src/bin/unzip/extract.c
948
if (G.extra_bytes) {
src/bin/unzip/extract.c
949
*pold_extra_bytes = G.extra_bytes;
src/bin/unzip/extract.c
950
G.extra_bytes = 0L;
src/bin/unzip/extract.c
952
G.extra_bytes = *pold_extra_bytes; /* third attempt */
src/bin/unzip/extract.c
953
if (((error = seek_zipf(__G__ G.pInfo->offset)) != PK_OK) ||
src/bin/unzip/extract.c
954
(readbuf(__G__ G.sig, 4) == 0)) { /* bad offset */
src/bin/unzip/extract.c
961
if (strncmp(G.sig, local_hdr_sig, 4)) {
src/bin/unzip/extract.c
977
if ((error = do_string(__G__ G.lrec.filename_length, DS_FN_L)) !=
src/bin/unzip/extract.c
984
FnFilter1(G.filename), "local"));
src/bin/unzip/extract.c
988
if (G.extra_field != (uch *)NULL) {
src/bin/unzip/extract.c
989
free(G.extra_field);
src/bin/unzip/extract.c
990
G.extra_field = (uch *)NULL;
src/bin/unzip/extract.c
993
do_string(__G__ G.lrec.extra_field_length, EXTRA_FIELD)) != 0)
src/bin/unzip/fileio.c
1003
G.outfile))
src/bin/unzip/fileio.c
1005
else if (uO.cflag && (*G.message)((zvoid *)&G, transbuf,
src/bin/unzip/fileio.c
1156
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
1159
fgets(G.answerbuf, 9, stdin);
src/bin/unzip/fileio.c
1160
if (*G.answerbuf == 'y') /* stop writing to this file */
src/bin/unzip/fileio.c
1161
G.disk_full = 1; /* (outfile bad?), but new OK */
src/bin/unzip/fileio.c
1164
G.disk_full = 2; /* no: exit program */
src/bin/unzip/fileio.c
1574
(*G.message)((zvoid *)&G, slide, 0L, 0x41); /* start of line (to stderr; */
src/bin/unzip/fileio.c
1839
if (SSTAT(filename, &G.statbuf)) {
src/bin/unzip/fileio.c
1842
FnFilter1(filename), SSTAT(filename, &G.statbuf)));
src/bin/unzip/fileio.c
1847
if (lstat(filename, &G.statbuf) == 0) {
src/bin/unzip/fileio.c
1864
if (lstat(filename, &G.statbuf) == 0 && S_ISLNK(G.statbuf.st_mode)) {
src/bin/unzip/fileio.c
187
G.zipfd = open(G.zipfn, O_RDONLY, 0, "ctx=stm");
src/bin/unzip/fileio.c
1874
NATIVE_TO_TIMET(G.statbuf.st_mtime) /* NOP unless MSC 7.0 or Macintosh */
src/bin/unzip/fileio.c
1881
if (G.extra_field &&
src/bin/unzip/fileio.c
1883
G.tz_is_valid &&
src/bin/unzip/fileio.c
1885
(ef_scan_for_izux(G.extra_field, G.lrec.extra_field_length, 0,
src/bin/unzip/fileio.c
1886
G.lrec.last_mod_dos_datetime, &z_utime, NULL)
src/bin/unzip/fileio.c
1890
existing = G.statbuf.st_mtime;
src/bin/unzip/fileio.c
1896
existing = ((G.statbuf.st_mtime & 1) &&
src/bin/unzip/fileio.c
1897
(G.statbuf.st_mtime + 1 > G.statbuf.st_mtime)) ?
src/bin/unzip/fileio.c
1898
G.statbuf.st_mtime + 1 : G.statbuf.st_mtime;
src/bin/unzip/fileio.c
1899
archive = dos_to_unix_time(G.lrec.last_mod_dos_datetime);
src/bin/unzip/fileio.c
190
G.zipfd = open(G.zipfn, 0);
src/bin/unzip/fileio.c
1905
existing = ((G.statbuf.st_mtime & 1) &&
src/bin/unzip/fileio.c
1906
(G.statbuf.st_mtime + 1 > G.statbuf.st_mtime)) ?
src/bin/unzip/fileio.c
1907
G.statbuf.st_mtime + 1 : G.statbuf.st_mtime;
src/bin/unzip/fileio.c
1908
archive = dos_to_unix_time(G.lrec.last_mod_dos_datetime);
src/bin/unzip/fileio.c
193
G.zipfd = vmmvs_open_infile(__G);
src/bin/unzip/fileio.c
196
G.zipfd = fopen(G.zipfn, FOPR);
src/bin/unzip/fileio.c
1974
block_len = readbuf(__G__ (char *)G.outbuf, 10);
src/bin/unzip/fileio.c
1978
G.outbuf[block_len] = '\0';
src/bin/unzip/fileio.c
1979
if (!strcmp((char *)G.outbuf, "$AUTORUN$>")) {
src/bin/unzip/fileio.c
1982
block_len = readbuf(__G__ G.autorun_command,
src/bin/unzip/fileio.c
1983
MIN(length, sizeof(G.autorun_command)-1));
src/bin/unzip/fileio.c
1987
G.autorun_command[block_len] = '\0';
src/bin/unzip/fileio.c
1988
A_TO_N(G.autorun_command);
src/bin/unzip/fileio.c
1989
eol = strchr(G.autorun_command, '\n');
src/bin/unzip/fileio.c
199
G.zipfd = open(G.zipfn, O_RDONLY | O_BINARY);
src/bin/unzip/fileio.c
1991
eol = G.autorun_command + strlen(G.autorun_command) - 1;
src/bin/unzip/fileio.c
1992
length -= eol + 1 - G.autorun_command;
src/bin/unzip/fileio.c
1993
while (eol >= G.autorun_command && isspace(*eol))
src/bin/unzip/fileio.c
1998
INTERN_TO_OEM(G.autorun_command, G.autorun_command);
src/bin/unzip/fileio.c
2006
seek_zipf(__G__ G.cur_zipfile_bufstart - G.extra_bytes +
src/bin/unzip/fileio.c
2007
(G.inptr - G.inbuf) + comment_bytes_left - length);
src/bin/unzip/fileio.c
201
G.zipfd = open(G.zipfn, O_RDONLY);
src/bin/unzip/fileio.c
2029
register uch *p = G.outbuf;
src/bin/unzip/fileio.c
2030
register uch *q = G.outbuf;
src/bin/unzip/fileio.c
2032
if ((block_len = readbuf(__G__ (char *)G.outbuf,
src/bin/unzip/fileio.c
2039
G.outbuf[block_len] = '\0';
src/bin/unzip/fileio.c
2056
Ext_ASCII_TO_Native((char *)G.outbuf, G.pInfo->hostnum,
src/bin/unzip/fileio.c
2057
G.pInfo->hostver, G.pInfo->HasUxAtt,
src/bin/unzip/fileio.c
2061
INTERN_TO_ISO((char *)G.outbuf, (char *)G.outbuf);
src/bin/unzip/fileio.c
2066
INTERN_TO_OEM((char *)G.outbuf, (char *)G.outbuf);
src/bin/unzip/fileio.c
2070
A_TO_N(G.outbuf); /* translate string to native */
src/bin/unzip/fileio.c
2075
win_fprintf((zvoid *)&G, stdout, length, (char *)G.outbuf);
src/bin/unzip/fileio.c
2076
win_fprintf((zvoid *)&G, stdout, 2, (char *)"\n\n");
src/bin/unzip/fileio.c
2079
(*G.message)((zvoid *)&G, G.outbuf, (ulg)(q-G.outbuf), 0);
src/bin/unzip/fileio.c
2081
p = G.outbuf - 1;
src/bin/unzip/fileio.c
209
if (G.zipfd == NULL)
src/bin/unzip/fileio.c
2100
(*G.message)((zvoid *)&G, slide, (ulg)(q-slide), 0);
src/bin/unzip/fileio.c
2102
if (pause && G.extract_flag) /* don't pause for list/test */
src/bin/unzip/fileio.c
2103
(*G.mpause)((zvoid *)&G, LoadFarString(QuitPrompt), 0);
src/bin/unzip/fileio.c
2106
(*G.message)((zvoid *)&G, slide, (ulg)(q-slide), 0);
src/bin/unzip/fileio.c
2111
(*G.message)((zvoid *)&G, slide, 0L, 0x40);
src/bin/unzip/fileio.c
212
if (G.zipfd == -1)
src/bin/unzip/fileio.c
2132
if (readbuf(__G__ G.filename, length) == 0)
src/bin/unzip/fileio.c
2134
G.filename[length] = '\0'; /* terminate w/zero: ASCIIZ */
src/bin/unzip/fileio.c
2138
Ext_ASCII_TO_Native(G.filename, G.pInfo->hostnum, G.pInfo->hostver,
src/bin/unzip/fileio.c
2139
G.pInfo->HasUxAtt, (option == DS_FN_L));
src/bin/unzip/fileio.c
2141
if (G.pInfo->lcflag) /* replace with lowercase filename */
src/bin/unzip/fileio.c
2142
STRLOWER(G.filename, G.filename);
src/bin/unzip/fileio.c
2144
if (G.pInfo->vollabel && length > 8 && G.filename[8] == '.') {
src/bin/unzip/fileio.c
2145
char *p = G.filename+8;
src/bin/unzip/fileio.c
2157
Info(slide, 0x401, ((char *)slide, "[ %s ]\n", FnFilter1(G.filename)));
src/bin/unzip/fileio.c
216
G.zipfn));
src/bin/unzip/fileio.c
2170
seek_zipf(__G__ G.cur_zipfile_bufstart - G.extra_bytes +
src/bin/unzip/fileio.c
2171
(G.inptr-G.inbuf) + length);
src/bin/unzip/fileio.c
2180
if (G.extra_field != (uch *)NULL)
src/bin/unzip/fileio.c
2181
free(G.extra_field);
src/bin/unzip/fileio.c
2182
if ((G.extra_field = (uch *)malloc(length)) == (uch *)NULL) {
src/bin/unzip/fileio.c
2187
seek_zipf(__G__ G.cur_zipfile_bufstart - G.extra_bytes +
src/bin/unzip/fileio.c
2188
(G.inptr-G.inbuf) + length);
src/bin/unzip/fileio.c
2190
if (readbuf(__G__ (char *)G.extra_field, length) == 0)
src/bin/unzip/fileio.c
2206
seek_zipf(__G__ G.cur_zipfile_bufstart - G.extra_bytes
src/bin/unzip/fileio.c
2207
+ (G.inptr - G.inbuf) + length);
src/bin/unzip/fileio.c
2217
if (G.filenotes[G.filenote_slot])
src/bin/unzip/fileio.c
2218
free(G.filenotes[G.filenote_slot]); /* should not happen */
src/bin/unzip/fileio.c
2219
G.filenotes[G.filenote_slot] = NULL;
src/bin/unzip/fileio.c
2221
if (!(G.filenotes[G.filenote_slot] = malloc(strlen(tmp_fnote)+1)))
src/bin/unzip/fileio.c
2223
strcpy(G.filenotes[G.filenote_slot], tmp_fnote);
src/bin/unzip/fileio.c
237
if (G.redirect_data)
src/bin/unzip/fileio.c
241
QFilename(__G__ G.filename);
src/bin/unzip/fileio.c
247
if (access(G.filename, 0) == -1) {
src/bin/unzip/fileio.c
248
FILE *tmp = fopen(G.filename, "wb+");
src/bin/unzip/fileio.c
2519
(void)zfstrcpy(G.rgchBigBuffer, sz);
src/bin/unzip/fileio.c
2520
return G.rgchBigBuffer;
src/bin/unzip/fileio.c
2525
(void)zfstrcpy(G.rgchSmallBuffer, sz);
src/bin/unzip/fileio.c
2526
return G.rgchSmallBuffer;
src/bin/unzip/fileio.c
2531
(void)zfstrcpy(G.rgchSmallBuffer2, sz);
src/bin/unzip/fileio.c
2532
return G.rgchSmallBuffer2;
src/bin/unzip/fileio.c
257
if (SSTAT(G.filename, &G.statbuf) == 0 || lstat(G.filename,&G.statbuf) == 0)
src/bin/unzip/fileio.c
259
if (SSTAT(G.filename, &G.statbuf) == 0)
src/bin/unzip/fileio.c
263
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
271
flen = strlen(G.filename);
src/bin/unzip/fileio.c
278
strcpy(tname, G.filename); /* make backup name */
src/bin/unzip/fileio.c
286
strcpy(tname, G.filename); /* make backup name */
src/bin/unzip/fileio.c
317
if (rename(G.filename, tname) != 0) { /* move file */
src/bin/unzip/fileio.c
319
LoadFarString(CannotRenameOldFile), FnFilter1(G.filename)));
src/bin/unzip/fileio.c
324
FnFilter1(G.filename), FnFilter2(tname)));
src/bin/unzip/fileio.c
330
if (!(G.statbuf.st_mode & S_IWRITE)) {
src/bin/unzip/fileio.c
333
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
334
chmod(G.filename, S_IREAD | S_IWRITE);
src/bin/unzip/fileio.c
336
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
341
chmod(G.filename, 0);
src/bin/unzip/fileio.c
343
if (unlink(G.filename) != 0) {
src/bin/unzip/fileio.c
345
LoadFarString(CannotDeleteOldFile), FnFilter1(G.filename)));
src/bin/unzip/fileio.c
349
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
354
if (SWI_OS_File_7(G.filename,0xDEADDEAD,0xDEADDEAD,G.lrec.ucsize)!=NULL) {
src/bin/unzip/fileio.c
356
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
363
if ((tfilnam = (char *)malloc(2*strlen(G.filename)+1)) == (char *)NULL)
src/bin/unzip/fileio.c
365
strcpy(tfilnam, G.filename);
src/bin/unzip/fileio.c
368
if ((G.outfile = fopen(tfilnam, FOPW)) == (FILE *)NULL) {
src/bin/unzip/fileio.c
378
G.outfile = fopen(G.filename, FOPWT);
src/bin/unzip/fileio.c
380
G.outfile = fopen(G.filename, FOPW);
src/bin/unzip/fileio.c
381
if (G.outfile == (FILE *)NULL) {
src/bin/unzip/fileio.c
383
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
389
"open_outfile: doing fopen(%s) for reading\n", FnFilter1(G.filename)));
src/bin/unzip/fileio.c
390
if ((G.outfile = fopen(G.filename, FOPR)) == (FILE *)NULL)
src/bin/unzip/fileio.c
393
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
397
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
398
fclose(G.outfile);
src/bin/unzip/fileio.c
402
if (G.dne && ((G.outfile = fopen(G.filename, FOPR)) != (FILE *)NULL)) {
src/bin/unzip/fileio.c
404
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
405
fclose(G.outfile);
src/bin/unzip/fileio.c
410
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
411
if ((G.outfile = fopen(G.filename, FOPW)) == (FILE *)NULL) {
src/bin/unzip/fileio.c
413
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
417
FnFilter1(G.filename)));
src/bin/unzip/fileio.c
424
setbuf(G.outfile, (char *)NULL); /* make output unbuffered */
src/bin/unzip/fileio.c
428
setvbuf(G.outfile, (char *)slide, _IOFBF, WSIZE);
src/bin/unzip/fileio.c
430
setbuf(G.outfile, (char *)slide);
src/bin/unzip/fileio.c
437
SetFileSize(G.outfile, G.pInfo->uncompr_size);
src/bin/unzip/fileio.c
468
if (G.incnt > 0)
src/bin/unzip/fileio.c
469
G.csize += G.incnt;
src/bin/unzip/fileio.c
470
if (G.incnt_leftover > 0) {
src/bin/unzip/fileio.c
477
G.incnt = G.incnt_leftover + (int)G.csize;
src/bin/unzip/fileio.c
478
G.inptr = G.inptr_leftover - (int)G.csize;
src/bin/unzip/fileio.c
479
G.incnt_leftover = 0;
src/bin/unzip/fileio.c
480
} else if (G.incnt < 0)
src/bin/unzip/fileio.c
481
G.incnt = 0;
src/bin/unzip/fileio.c
495
if ((long)G.incnt > G.csize) {
src/bin/unzip/fileio.c
497
if (G.csize < 0L)
src/bin/unzip/fileio.c
498
G.csize = 0L;
src/bin/unzip/fileio.c
499
G.inptr_leftover = G.inptr + (int)G.csize;
src/bin/unzip/fileio.c
500
G.incnt_leftover = G.incnt - (int)G.csize;
src/bin/unzip/fileio.c
501
G.incnt = (int)G.csize;
src/bin/unzip/fileio.c
503
G.incnt_leftover = 0;
src/bin/unzip/fileio.c
504
G.csize -= G.incnt;
src/bin/unzip/fileio.c
525
if (G.incnt <= 0) {
src/bin/unzip/fileio.c
526
if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) == 0)
src/bin/unzip/fileio.c
528
else if (G.incnt < 0) {
src/bin/unzip/fileio.c
530
(*G.message)((zvoid *)&G,
src/bin/unzip/fileio.c
536
G.cur_zipfile_bufstart += INBUFSIZ;
src/bin/unzip/fileio.c
537
G.inptr = G.inbuf;
src/bin/unzip/fileio.c
539
count = MIN(size, (unsigned)G.incnt);
src/bin/unzip/fileio.c
540
memcpy(buf, G.inptr, count);
src/bin/unzip/fileio.c
542
G.inptr += count;
src/bin/unzip/fileio.c
543
G.incnt -= count;
src/bin/unzip/fileio.c
561
if (G.mem_mode)
src/bin/unzip/fileio.c
563
if (G.csize <= 0) {
src/bin/unzip/fileio.c
564
G.csize--; /* for tests done after exploding */
src/bin/unzip/fileio.c
565
G.incnt = 0;
src/bin/unzip/fileio.c
568
if (G.incnt <= 0) {
src/bin/unzip/fileio.c
569
if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) == 0) {
src/bin/unzip/fileio.c
570
G.incnt = 0; /* do not allow negative value to affect stuff */
src/bin/unzip/fileio.c
572
} else if (G.incnt < 0) { /* "fail" (abort, retry, ...) returns this */
src/bin/unzip/fileio.c
574
(*G.message)((zvoid *)&G,
src/bin/unzip/fileio.c
585
G.cur_zipfile_bufstart += INBUFSIZ; /* always starts on block bndry */
src/bin/unzip/fileio.c
586
G.inptr = G.inbuf;
src/bin/unzip/fileio.c
591
if (G.pInfo->encrypted) {
src/bin/unzip/fileio.c
599
for (n = G.incnt, p = G.inptr; n--; p++)
src/bin/unzip/fileio.c
604
--G.incnt;
src/bin/unzip/fileio.c
605
return *G.inptr++;
src/bin/unzip/fileio.c
622
if (G.mem_mode ||
src/bin/unzip/fileio.c
623
(G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) <= 0)
src/bin/unzip/fileio.c
625
G.cur_zipfile_bufstart += INBUFSIZ; /* always starts on a block boundary */
src/bin/unzip/fileio.c
626
G.inptr = G.inbuf;
src/bin/unzip/fileio.c
630
if (G.pInfo->encrypted) {
src/bin/unzip/fileio.c
634
for (n = G.incnt, p = G.inptr; n--; p++)
src/bin/unzip/fileio.c
639
return G.incnt;
src/bin/unzip/fileio.c
676
LONGINT request = abs_offset + G.extra_bytes;
src/bin/unzip/fileio.c
682
G.zipfn, LoadFarString(ReportMsg)));
src/bin/unzip/fileio.c
684
} else if (bufstart != G.cur_zipfile_bufstart) {
src/bin/unzip/fileio.c
687
abs_offset, G.extra_bytes));
src/bin/unzip/fileio.c
689
fseek(G.zipfd, (LONGINT)bufstart, SEEK_SET);
src/bin/unzip/fileio.c
690
G.cur_zipfile_bufstart = ftell(G.zipfd);
src/bin/unzip/fileio.c
692
G.cur_zipfile_bufstart = lseek(G.zipfd, (LONGINT)bufstart, SEEK_SET);
src/bin/unzip/fileio.c
696
request, (abs_offset+G.extra_bytes), inbuf_offset));
src/bin/unzip/fileio.c
698
bufstart, G.cur_zipfile_bufstart));
src/bin/unzip/fileio.c
699
if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) <= 0)
src/bin/unzip/fileio.c
701
G.incnt -= (int)inbuf_offset;
src/bin/unzip/fileio.c
702
G.inptr = G.inbuf + (int)inbuf_offset;
src/bin/unzip/fileio.c
704
G.incnt += (G.inptr-G.inbuf) - (int)inbuf_offset;
src/bin/unzip/fileio.c
705
G.inptr = G.inbuf + (int)inbuf_offset;
src/bin/unzip/fileio.c
768
G.crc32val = crc32(G.crc32val, rawbuf, (extent)size);
src/bin/unzip/fileio.c
771
if ((G.statreportcb != NULL) &&
src/bin/unzip/fileio.c
772
(*G.statreportcb)(__G__ UZ_ST_IN_PROGRESS, G.zipfn, G.filename, NULL))
src/bin/unzip/fileio.c
779
if (G.disk_full)
src/bin/unzip/fileio.c
789
if (!G.pInfo->textmode) { /* write raw binary data */
src/bin/unzip/fileio.c
800
if (G.redirect_data)
src/bin/unzip/fileio.c
804
if (!uO.cflag && WriteError(rawbuf, size, G.outfile))
src/bin/unzip/fileio.c
806
else if (uO.cflag && (*G.message)((zvoid *)&G, rawbuf, size, 0))
src/bin/unzip/fileio.c
811
transbuf = G.outbuf2;
src/bin/unzip/fileio.c
817
transbuf = G.outbuf;
src/bin/unzip/fileio.c
824
if (G.newfile) {
src/bin/unzip/fileio.c
826
if (G.pInfo->hostnum == VMS_ && G.extra_field &&
src/bin/unzip/fileio.c
827
is_vms_varlen_txt(__G__ G.extra_field,
src/bin/unzip/fileio.c
828
G.lrec.extra_field_length))
src/bin/unzip/fileio.c
829
G.VMS_line_state = 0; /* 0: ready to read line length */
src/bin/unzip/fileio.c
831
G.VMS_line_state = -1; /* -1: don't treat as VMS text */
src/bin/unzip/fileio.c
833
G.didCRlast = FALSE; /* no previous buffers written */
src/bin/unzip/fileio.c
834
G.newfile = FALSE;
src/bin/unzip/fileio.c
838
if (G.VMS_line_state >= 0)
src/bin/unzip/fileio.c
849
switch (G.VMS_line_state) {
src/bin/unzip/fileio.c
853
G.VMS_line_length = 0;
src/bin/unzip/fileio.c
855
G.VMS_line_length = (unsigned)(*p++);
src/bin/unzip/fileio.c
856
G.VMS_line_state = 1;
src/bin/unzip/fileio.c
858
G.VMS_line_length = makeword(p);
src/bin/unzip/fileio.c
860
G.VMS_line_state = 2;
src/bin/unzip/fileio.c
862
G.VMS_line_pad =
src/bin/unzip/fileio.c
863
((G.VMS_line_length & 1) != 0); /* odd */
src/bin/unzip/fileio.c
868
G.VMS_line_length += ((unsigned)(*p++) << 8);
src/bin/unzip/fileio.c
869
G.VMS_line_state = 2;
src/bin/unzip/fileio.c
878
if (G.VMS_line_length < remaining) {
src/bin/unzip/fileio.c
879
remaining = G.VMS_line_length;
src/bin/unzip/fileio.c
880
G.VMS_line_state = 3;
src/bin/unzip/fileio.c
889
if (G.redirect_data)
src/bin/unzip/fileio.c
895
(extent)(q-transbuf), G.outfile))
src/bin/unzip/fileio.c
897
else if (uO.cflag && (*G.message)((zvoid *)&G,
src/bin/unzip/fileio.c
903
G.VMS_line_length -= remaining;
src/bin/unzip/fileio.c
913
if (G.redirect_data)
src/bin/unzip/fileio.c
920
G.outfile))
src/bin/unzip/fileio.c
922
else if (uO.cflag && (*G.message)((zvoid *)&G,
src/bin/unzip/fileio.c
928
G.VMS_line_state = G.VMS_line_pad ? 4 : 0;
src/bin/unzip/fileio.c
934
G.VMS_line_state = 0;
src/bin/unzip/fileio.c
950
if (*p == LF && G.didCRlast)
src/bin/unzip/fileio.c
952
G.didCRlast = FALSE;
src/bin/unzip/fileio.c
957
G.didCRlast = TRUE;
src/bin/unzip/fileio.c
978
(extent)(q-transbuf), G.outfile))
src/bin/unzip/fileio.c
980
else if (uO.cflag && (*G.message)((zvoid *)&G,
src/bin/unzip/fileio.c
998
if (G.redirect_data)
src/bin/unzip/globals.c
168
memzero(&G, sizeof(Uz_Globs));
src/bin/unzip/globals.c
180
G.wildzipfn = "";
src/bin/unzip/globals.c
181
G.pfnames = (char **)fnames;
src/bin/unzip/globals.c
182
G.pxnames = (char **)&fnames[1];
src/bin/unzip/globals.c
183
G.pInfo = G.info;
src/bin/unzip/globals.c
184
G.sol = TRUE; /* at start of line */
src/bin/unzip/globals.c
186
G.message = UzpMessagePrnt;
src/bin/unzip/globals.c
187
G.input = UzpInput; /* not used by anyone at the moment... */
src/bin/unzip/globals.c
189
G.mpause = NULL; /* has scrollbars: no need for pausing */
src/bin/unzip/globals.c
191
G.mpause = UzpMorePause;
src/bin/unzip/globals.c
193
G.decr_passwd = UzpPassword;
src/bin/unzip/globals.c
198
G.echofd = -1;
src/bin/unzip/globals.c
210
GG = &G;
src/bin/unzip/globals.c
214
return &G;
src/bin/unzip/globals.c
40
Uz_Globs G;
src/bin/unzip/globals.h
377
# define CRC_32_TAB G.crc_32_tab
src/bin/unzip/globals.h
412
extern Uz_Globs G;
src/bin/unzip/globals.h
423
#define uO G.UzO
src/bin/unzip/inflate.c
1053
G.bb = b;
src/bin/unzip/inflate.c
1054
G.bk = k;
src/bin/unzip/inflate.c
1060
retval = huft_build(__G__ ll, nl, 257, G.cplens, G.cplext, &tl, &bl);
src/bin/unzip/inflate.c
1077
retval = huft_build(__G__ ll + nl, nd, 0, cpdist, G.cpdext, &td, &bd);
src/bin/unzip/inflate.c
1122
b = G.bb;
src/bin/unzip/inflate.c
1123
k = G.bk;
src/bin/unzip/inflate.c
1139
G.bb = b;
src/bin/unzip/inflate.c
1140
G.bk = k;
src/bin/unzip/inflate.c
1173
if (G.redirect_slide)
src/bin/unzip/inflate.c
1174
wsize = G.redirect_size, redirSlide = G.redirect_buffer;
src/bin/unzip/inflate.c
1180
G.wp = 0;
src/bin/unzip/inflate.c
1181
G.bk = 0;
src/bin/unzip/inflate.c
1182
G.bb = 0;
src/bin/unzip/inflate.c
1186
G.cplens = cplens64;
src/bin/unzip/inflate.c
1187
G.cplext = cplext64;
src/bin/unzip/inflate.c
1188
G.cpdext = cpdext64;
src/bin/unzip/inflate.c
1189
G.fixed_tl = G.fixed_tl64;
src/bin/unzip/inflate.c
1190
G.fixed_bl = G.fixed_bl64;
src/bin/unzip/inflate.c
1191
G.fixed_td = G.fixed_td64;
src/bin/unzip/inflate.c
1192
G.fixed_bd = G.fixed_bd64;
src/bin/unzip/inflate.c
1194
G.cplens = cplens32;
src/bin/unzip/inflate.c
1195
G.cplext = cplext32;
src/bin/unzip/inflate.c
1196
G.cpdext = cpdext32;
src/bin/unzip/inflate.c
1197
G.fixed_tl = G.fixed_tl32;
src/bin/unzip/inflate.c
1198
G.fixed_bl = G.fixed_bl32;
src/bin/unzip/inflate.c
1199
G.fixed_td = G.fixed_td32;
src/bin/unzip/inflate.c
1200
G.fixed_bd = G.fixed_bd32;
src/bin/unzip/inflate.c
1216
G.hufts = 0;
src/bin/unzip/inflate.c
1221
if (G.hufts > h)
src/bin/unzip/inflate.c
1222
h = G.hufts;
src/bin/unzip/inflate.c
1231
G.fixed_tl64 = G.fixed_tl;
src/bin/unzip/inflate.c
1232
G.fixed_bl64 = G.fixed_bl;
src/bin/unzip/inflate.c
1233
G.fixed_td64 = G.fixed_td;
src/bin/unzip/inflate.c
1234
G.fixed_bd64 = G.fixed_bd;
src/bin/unzip/inflate.c
1236
G.fixed_tl32 = G.fixed_tl;
src/bin/unzip/inflate.c
1237
G.fixed_bl32 = G.fixed_bl;
src/bin/unzip/inflate.c
1238
G.fixed_td32 = G.fixed_td;
src/bin/unzip/inflate.c
1239
G.fixed_bd32 = G.fixed_bd;
src/bin/unzip/inflate.c
1244
return (FLUSH(G.wp));
src/bin/unzip/inflate.c
1252
if (G.fixed_tl != (struct huft *)NULL)
src/bin/unzip/inflate.c
1254
huft_free(G.fixed_td);
src/bin/unzip/inflate.c
1255
huft_free(G.fixed_tl);
src/bin/unzip/inflate.c
1256
G.fixed_td = G.fixed_tl = (struct huft *)NULL;
src/bin/unzip/inflate.c
1421
G.hufts += z + 1; /* track memory usage */
src/bin/unzip/inflate.c
287
# define wsize G._wsize /* wsize is a variable */
src/bin/unzip/inflate.c
345
if (G.redirect_slide)
src/bin/unzip/inflate.c
346
wsize = G.redirect_size, redirSlide = G.redirect_buffer;
src/bin/unzip/inflate.c
351
G.dstrm.next_out = redirSlide;
src/bin/unzip/inflate.c
352
G.dstrm.avail_out = wsize;
src/bin/unzip/inflate.c
354
G.dstrm.next_in = G.inptr;
src/bin/unzip/inflate.c
355
G.dstrm.avail_in = G.incnt;
src/bin/unzip/inflate.c
357
if (!G.inflInit) {
src/bin/unzip/inflate.c
380
G.dstrm.zalloc = (alloc_func)Z_NULL;
src/bin/unzip/inflate.c
381
G.dstrm.zfree = (free_func)Z_NULL;
src/bin/unzip/inflate.c
384
err = inflateInit2(&G.dstrm, -windowBits);
src/bin/unzip/inflate.c
390
G.inflInit = 1;
src/bin/unzip/inflate.c
396
while (G.csize > 0) {
src/bin/unzip/inflate.c
397
Trace((stderr, "first loop: G.csize = %ld\n", G.csize));
src/bin/unzip/inflate.c
399
while (G.dstrm.avail_out > 0) {
src/bin/unzip/inflate.c
400
err = inflate(&G.dstrm, Z_PARTIAL_FLUSH);
src/bin/unzip/inflate.c
412
if (G.csize <= 0L) /* "END-of-entry-condition" ? */
src/bin/unzip/inflate.c
416
if (G.dstrm.avail_in <= 0) {
src/bin/unzip/inflate.c
422
G.dstrm.next_in = G.inptr;
src/bin/unzip/inflate.c
423
G.dstrm.avail_in = G.incnt;
src/bin/unzip/inflate.c
425
Trace((stderr, " avail_in = %d\n", G.dstrm.avail_in));
src/bin/unzip/inflate.c
428
if ((retval = FLUSH(wsize - G.dstrm.avail_out)) != 0)
src/bin/unzip/inflate.c
431
(long)(wsize - G.dstrm.avail_out),
src/bin/unzip/inflate.c
432
(long)(G.dstrm.next_out-(Bytef *)redirSlide)));
src/bin/unzip/inflate.c
433
G.dstrm.next_out = redirSlide;
src/bin/unzip/inflate.c
434
G.dstrm.avail_out = wsize;
src/bin/unzip/inflate.c
440
err = inflate(&G.dstrm, Z_PARTIAL_FLUSH);
src/bin/unzip/inflate.c
448
G.zipfn, G.filename));
src/bin/unzip/inflate.c
456
if ((retval = FLUSH(wsize - G.dstrm.avail_out)) != 0)
src/bin/unzip/inflate.c
459
(long)(wsize - G.dstrm.avail_out),
src/bin/unzip/inflate.c
460
(long)(G.dstrm.next_out-(Bytef *)redirSlide)));
src/bin/unzip/inflate.c
461
G.dstrm.next_out = redirSlide;
src/bin/unzip/inflate.c
462
G.dstrm.avail_out = wsize;
src/bin/unzip/inflate.c
464
Trace((stderr, "total in = %ld, total out = %ld\n", G.dstrm.total_in,
src/bin/unzip/inflate.c
465
G.dstrm.total_out));
src/bin/unzip/inflate.c
467
G.inptr = (uch *)G.dstrm.next_in;
src/bin/unzip/inflate.c
468
G.incnt = (G.inbuf + INBUFSIZ) - G.inptr; /* reset for other routines */
src/bin/unzip/inflate.c
471
err = inflateReset(&G.dstrm);
src/bin/unzip/inflate.c
691
b = G.bb; /* initialize bit buffer */
src/bin/unzip/inflate.c
692
k = G.bk;
src/bin/unzip/inflate.c
693
w = G.wp; /* initialize window position */
src/bin/unzip/inflate.c
744
if (G.redirect_slide) {
src/bin/unzip/inflate.c
796
G.wp = (unsigned)w; /* restore global window pointer */
src/bin/unzip/inflate.c
797
G.bb = b; /* restore global bit buffer */
src/bin/unzip/inflate.c
798
G.bk = k;
src/bin/unzip/inflate.c
823
b = G.bb; /* initialize bit buffer */
src/bin/unzip/inflate.c
824
k = G.bk;
src/bin/unzip/inflate.c
825
w = G.wp; /* initialize window position */
src/bin/unzip/inflate.c
858
G.wp = (unsigned)w; /* restore global window pointer */
src/bin/unzip/inflate.c
859
G.bb = b; /* restore global bit buffer */
src/bin/unzip/inflate.c
860
G.bk = k;
src/bin/unzip/inflate.c
883
if (G.fixed_tl == (struct huft *)NULL)
src/bin/unzip/inflate.c
897
G.fixed_bl = 7;
src/bin/unzip/inflate.c
899
if ((i = huft_build(__G__ l, 288, 257, G.cplens, G.cplext,
src/bin/unzip/inflate.c
900
&G.fixed_tl, &G.fixed_bl)) != 0)
src/bin/unzip/inflate.c
903
&G.fixed_tl, &G.fixed_bl)) != 0)
src/bin/unzip/inflate.c
906
G.fixed_tl = (struct huft *)NULL;
src/bin/unzip/inflate.c
913
G.fixed_bd = 5;
src/bin/unzip/inflate.c
915
if ((i = huft_build(__G__ l, MAXDISTS, 0, cpdist, G.cpdext,
src/bin/unzip/inflate.c
916
&G.fixed_td, &G.fixed_bd)) > 1)
src/bin/unzip/inflate.c
919
&G.fixed_td, &G.fixed_bd)) > 1)
src/bin/unzip/inflate.c
922
huft_free(G.fixed_tl);
src/bin/unzip/inflate.c
923
G.fixed_td = G.fixed_tl = (struct huft *)NULL;
src/bin/unzip/inflate.c
929
return inflate_codes(__G__ G.fixed_tl, G.fixed_td,
src/bin/unzip/inflate.c
930
G.fixed_bl, G.fixed_bd);
src/bin/unzip/inflate.c
959
b = G.bb;
src/bin/unzip/inflate.c
960
k = G.bk;
src/bin/unzip/list.c
138
G.pInfo = &info;
src/bin/unzip/list.c
156
if (readbuf(__G__ G.sig, 4) == 0)
src/bin/unzip/list.c
158
if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */
src/bin/unzip/list.c
160
(unsigned)G.ecrec.total_entries_central_dir) {
src/bin/unzip/list.c
189
if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) !=
src/bin/unzip/list.c
196
if (G.extra_field != (uch *)NULL) {
src/bin/unzip/list.c
197
free(G.extra_field);
src/bin/unzip/list.c
198
G.extra_field = (uch *)NULL;
src/bin/unzip/list.c
200
if ((error = do_string(__G__ G.crec.extra_field_length, EXTRA_FIELD))
src/bin/unzip/list.c
207
if (!G.process_all_files) { /* check if specified on command line */
src/bin/unzip/list.c
211
for (i = 0; i < G.filespecs; i++)
src/bin/unzip/list.c
212
if (match(G.filename, G.pfnames[i], uO.C_flag)) {
src/bin/unzip/list.c
217
for (i = 0; i < G.xfilespecs; i++)
src/bin/unzip/list.c
218
if (match(G.filename, G.pxnames[i], uO.C_flag)) {
src/bin/unzip/list.c
230
if (G.process_all_files || do_this_file) {
src/bin/unzip/list.c
235
if (G.processExternally) {
src/bin/unzip/list.c
236
if ((G.processExternally)(G.filename, &G.crec))
src/bin/unzip/list.c
243
uch *ef_ptr = G.extra_field;
src/bin/unzip/list.c
244
int ef_size, ef_len = G.crec.extra_field_length;
src/bin/unzip/list.c
263
if (G.extra_field &&
src/bin/unzip/list.c
265
G.tz_is_valid &&
src/bin/unzip/list.c
267
(ef_scan_for_izux(G.extra_field, G.crec.extra_field_length, 1,
src/bin/unzip/list.c
268
G.crec.last_mod_dos_datetime, &z_utime, NULL)
src/bin/unzip/list.c
284
yr = ((((unsigned)(G.crec.last_mod_dos_datetime >> 25) & 0x7f)
src/bin/unzip/list.c
286
mo = ((unsigned)(G.crec.last_mod_dos_datetime >> 21) & 0x0f);
src/bin/unzip/list.c
287
dy = ((unsigned)(G.crec.last_mod_dos_datetime >> 16) & 0x1f);
src/bin/unzip/list.c
288
hh = (((unsigned)G.crec.last_mod_dos_datetime >> 11) & 0x1f);
src/bin/unzip/list.c
289
mm = (((unsigned)G.crec.last_mod_dos_datetime >> 5) & 0x3f);
src/bin/unzip/list.c
303
csiz = G.crec.csize;
src/bin/unzip/list.c
304
if (G.crec.general_purpose_bit_flag & 1)
src/bin/unzip/list.c
306
if ((cfactor = ratio(G.crec.ucsize, csiz)) < 0) {
src/bin/unzip/list.c
318
methnum = MIN(G.crec.compression_method, NUM_METHODS);
src/bin/unzip/list.c
321
methbuf[5] = dtype[(G.crec.general_purpose_bit_flag>>1) & 3];
src/bin/unzip/list.c
323
sprintf(&methbuf[4], "%03u", G.crec.compression_method);
src/bin/unzip/list.c
328
for (p = G.filename; *p; ++p)
src/bin/unzip/list.c
336
(*G.lpUserFunctions->SendApplicationMessage)(G.crec.ucsize, csiz,
src/bin/unzip/list.c
338
(char)(G.pInfo->lcflag ? '^' : ' '),
src/bin/unzip/list.c
339
(LPSTR)fnfilter(G.filename, slide), (LPSTR)methbuf, G.crec.crc32,
src/bin/unzip/list.c
340
(char)((G.crec.general_purpose_bit_flag & 1) ? 'E' : ' '));
src/bin/unzip/list.c
348
G.crec.ucsize, methbuf, csiz, cfactorstr, mo, dy,
src/bin/unzip/list.c
349
yr, hh, mm, G.crec.crc32, (G.pInfo->lcflag? '^':' ')));
src/bin/unzip/list.c
353
G.crec.ucsize, ea_size, acl_size,
src/bin/unzip/list.c
354
mo, dy, yr, hh, mm, (G.pInfo->lcflag? '^':' ')));
src/bin/unzip/list.c
357
G.crec.ucsize,
src/bin/unzip/list.c
358
mo, dy, yr, hh, mm, (G.pInfo->lcflag? '^':' ')));
src/bin/unzip/list.c
363
if ((error = do_string(__G__ G.crec.file_comment_length,
src/bin/unzip/list.c
370
tot_ucsize += G.crec.ucsize;
src/bin/unzip/list.c
387
SKIP_(G.crec.file_comment_length)
src/bin/unzip/list.c
398
&& !G.processExternally
src/bin/unzip/list.c
414
G.lpUserFunctions->TotalSizeComp = tot_csize;
src/bin/unzip/list.c
415
G.lpUserFunctions->TotalSize = tot_ucsize;
src/bin/unzip/list.c
416
G.lpUserFunctions->CompFactor = (ulg)cfactor;
src/bin/unzip/list.c
417
G.lpUserFunctions->NumMembers = members;
src/bin/unzip/list.c
455
if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
src/bin/unzip/list.c
479
extent fn_len = strlen(G.filename);
src/bin/unzip/list.c
483
((endc = lastchar(G.filename, fn_len)) == '/' ||
src/bin/unzip/list.c
484
(G.pInfo->hostnum == FS_FAT_ && !MBSCHR(G.filename, '/') &&
src/bin/unzip/list.c
518
G.pInfo = &info;
src/bin/unzip/list.c
522
if (readbuf(__G__ G.sig, 4) == 0)
src/bin/unzip/list.c
524
if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */
src/bin/unzip/list.c
526
(unsigned)G.ecrec.total_entries_central_dir) {
src/bin/unzip/list.c
543
if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) != PK_OK)
src/bin/unzip/list.c
549
if (G.extra_field != (uch *)NULL) {
src/bin/unzip/list.c
550
free(G.extra_field);
src/bin/unzip/list.c
551
G.extra_field = (uch *)NULL;
src/bin/unzip/list.c
553
if ((error = do_string(__G__ G.crec.extra_field_length, EXTRA_FIELD))
src/bin/unzip/list.c
560
if (!G.process_all_files) { /* check if specified on command line */
src/bin/unzip/list.c
564
for (i = 0; i < G.filespecs; i++)
src/bin/unzip/list.c
565
if (match(G.filename, G.pfnames[i], uO.C_flag)) {
src/bin/unzip/list.c
570
for (i = 0; i < G.xfilespecs; i++)
src/bin/unzip/list.c
571
if (match(G.filename, G.pxnames[i], uO.C_flag)) {
src/bin/unzip/list.c
584
if ((G.process_all_files || do_this_file) && !fn_is_dir(__G)) {
src/bin/unzip/list.c
586
if (G.extra_field &&
src/bin/unzip/list.c
588
G.tz_is_valid &&
src/bin/unzip/list.c
590
(ef_scan_for_izux(G.extra_field, G.crec.extra_field_length, 1,
src/bin/unzip/list.c
591
G.crec.last_mod_dos_datetime, &z_utime, NULL)
src/bin/unzip/list.c
599
time_t modtime = dos_to_unix_time(G.crec.last_mod_dos_datetime);
src/bin/unzip/list.c
606
SKIP_(G.crec.file_comment_length)
src/bin/unzip/list.c
614
if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
src/bin/unzip/list.c
666
char *name = fnfilter(G.filename, slide);
src/bin/unzip/list.c
668
(*G.message)((zvoid *)&G, (uch *)name, (ulg)strlen(name), 0);
src/bin/unzip/list.c
669
(*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0);
src/bin/unzip/process.c
1006
G.real_ecrec_offset = G.cur_zipfile_bufstart + (G.inptr-G.inbuf);
src/bin/unzip/process.c
1009
G.real_ecrec_offset, G.real_ecrec_offset);
src/bin/unzip/process.c
1011
G.inptr-G.inbuf, G.inptr-G.inbuf);
src/bin/unzip/process.c
1017
G.ecrec.number_this_disk =
src/bin/unzip/process.c
1019
G.ecrec.num_disk_start_cdir =
src/bin/unzip/process.c
1021
G.ecrec.num_entries_centrl_dir_ths_disk =
src/bin/unzip/process.c
1023
G.ecrec.total_entries_central_dir =
src/bin/unzip/process.c
1025
G.ecrec.size_central_directory =
src/bin/unzip/process.c
1027
G.ecrec.offset_start_central_directory =
src/bin/unzip/process.c
1029
G.ecrec.zipfile_comment_length =
src/bin/unzip/process.c
1032
G.expect_ecrec_offset = G.ecrec.offset_start_central_directory +
src/bin/unzip/process.c
1033
G.ecrec.size_central_directory;
src/bin/unzip/process.c
1060
if ((!G.fValidate) && (G.lpUserFunctions != NULL))
src/bin/unzip/process.c
1061
G.lpUserFunctions->cchComment = G.ecrec.zipfile_comment_length;
src/bin/unzip/process.c
1062
if (G.ecrec.zipfile_comment_length && (uO.zflag > 0))
src/bin/unzip/process.c
1064
if (G.ecrec.zipfile_comment_length && (uO.zflag > 0 ||
src/bin/unzip/process.c
1073
if (do_string(__G__ G.ecrec.zipfile_comment_length, CHECK_AUTORUN)) {
src/bin/unzip/process.c
1075
if (do_string(__G__ G.ecrec.zipfile_comment_length, DISPLAY)) {
src/bin/unzip/process.c
1083
else if (G.ecrec.zipfile_comment_length) {
src/bin/unzip/process.c
1084
if (do_string(__G__ G.ecrec.zipfile_comment_length, CHECK_AUTORUN_Q)) {
src/bin/unzip/process.c
1118
G.pInfo->hostver = G.crec.version_made_by[0];
src/bin/unzip/process.c
1119
G.pInfo->hostnum = MIN(G.crec.version_made_by[1], NUM_HOSTS);
src/bin/unzip/process.c
1122
G.pInfo->lcflag = 0;
src/bin/unzip/process.c
1124
switch (G.pInfo->hostnum) {
src/bin/unzip/process.c
1134
G.pInfo->lcflag = 1; /* convert filename to lowercase */
src/bin/unzip/process.c
1142
G.pInfo->lcflag = 1;
src/bin/unzip/process.c
1145
if (IS_VOLID(G.crec.external_file_attributes) &&
src/bin/unzip/process.c
1146
(G.pInfo->hostnum == FS_FAT_ || G.pInfo->hostnum == FS_HPFS_ ||
src/bin/unzip/process.c
1147
G.pInfo->hostnum == FS_NTFS_ || G.pInfo->hostnum == ATARI_))
src/bin/unzip/process.c
1149
G.pInfo->vollabel = TRUE;
src/bin/unzip/process.c
1150
G.pInfo->lcflag = 0; /* preserve case of volume labels */
src/bin/unzip/process.c
1152
G.pInfo->vollabel = FALSE;
src/bin/unzip/process.c
1157
G.pInfo->HasUxAtt = (G.crec.external_file_attributes & 0xffff0000L) != 0L;
src/bin/unzip/process.c
1187
G.crec.version_made_by[0] = byterec[C_VERSION_MADE_BY_0];
src/bin/unzip/process.c
1188
G.crec.version_made_by[1] = byterec[C_VERSION_MADE_BY_1];
src/bin/unzip/process.c
1189
G.crec.version_needed_to_extract[0] =
src/bin/unzip/process.c
1191
G.crec.version_needed_to_extract[1] =
src/bin/unzip/process.c
1194
G.crec.general_purpose_bit_flag =
src/bin/unzip/process.c
1196
G.crec.compression_method =
src/bin/unzip/process.c
1198
G.crec.last_mod_dos_datetime =
src/bin/unzip/process.c
1200
G.crec.crc32 =
src/bin/unzip/process.c
1202
G.crec.csize =
src/bin/unzip/process.c
1204
G.crec.ucsize =
src/bin/unzip/process.c
1206
G.crec.filename_length =
src/bin/unzip/process.c
1208
G.crec.extra_field_length =
src/bin/unzip/process.c
1210
G.crec.file_comment_length =
src/bin/unzip/process.c
1212
G.crec.disk_number_start =
src/bin/unzip/process.c
1214
G.crec.internal_file_attributes =
src/bin/unzip/process.c
1216
G.crec.external_file_attributes =
src/bin/unzip/process.c
1218
G.crec.relative_offset_local_header =
src/bin/unzip/process.c
1249
G.lrec.version_needed_to_extract[0] =
src/bin/unzip/process.c
1251
G.lrec.version_needed_to_extract[1] =
src/bin/unzip/process.c
1254
G.lrec.general_purpose_bit_flag =
src/bin/unzip/process.c
1256
G.lrec.compression_method = makeword(&byterec[L_COMPRESSION_METHOD]);
src/bin/unzip/process.c
1257
G.lrec.last_mod_dos_datetime = makelong(&byterec[L_LAST_MOD_DOS_DATETIME]);
src/bin/unzip/process.c
1258
G.lrec.crc32 = makelong(&byterec[L_CRC32]);
src/bin/unzip/process.c
1259
G.lrec.csize = makelong(&byterec[L_COMPRESSED_SIZE]);
src/bin/unzip/process.c
1260
G.lrec.ucsize = makelong(&byterec[L_UNCOMPRESSED_SIZE]);
src/bin/unzip/process.c
1261
G.lrec.filename_length = makeword(&byterec[L_FILENAME_LENGTH]);
src/bin/unzip/process.c
1262
G.lrec.extra_field_length = makeword(&byterec[L_EXTRA_FIELD_LENGTH]);
src/bin/unzip/process.c
1264
if ((G.lrec.general_purpose_bit_flag & 8) != 0) {
src/bin/unzip/process.c
1266
G.lrec.crc32 = G.pInfo->crc;
src/bin/unzip/process.c
1267
G.lrec.csize = G.pInfo->compr_size;
src/bin/unzip/process.c
1268
G.lrec.ucsize = G.pInfo->uncompr_size;
src/bin/unzip/process.c
1271
G.csize = (long)G.lrec.csize;
src/bin/unzip/process.c
182
G.inbuf = (uch *)malloc(INBUFSIZ + 4); /* 4 extra for hold[] (below) */
src/bin/unzip/process.c
183
G.outbuf = (uch *)malloc(OUTBUFSIZ + 1); /* 1 extra for string term. */
src/bin/unzip/process.c
185
if ((G.inbuf == (uch *)NULL) || (G.outbuf == (uch *)NULL)) {
src/bin/unzip/process.c
190
G.hold = G.inbuf + INBUFSIZ; /* to check for boundary-spanning sigs */
src/bin/unzip/process.c
193
G.outbuf2 = G.outbuf+RAWBUFSIZ; /* never changes */
src/bin/unzip/process.c
231
G.tz_is_valid = VALID_TIMEZONE(p);
src/bin/unzip/process.c
233
if (!G.tz_is_valid) {
src/bin/unzip/process.c
259
G.overwrite_mode = (uO.overwrite_none ? OVERWRT_NEVER :
src/bin/unzip/process.c
271
int len=strlen(G.argv0);
src/bin/unzip/process.c
274
if ( (G.zipfn = (char *)malloc(len+sizeof(EXE_EXTENSION))) !=
src/bin/unzip/process.c
276
strcpy(G.zipfn, G.argv0);
src/bin/unzip/process.c
277
strcpy(G.zipfn+len, EXE_EXTENSION);
src/bin/unzip/process.c
279
free(G.zipfn);
src/bin/unzip/process.c
280
G.zipfn = G.argv0; /* for "cannot find myself" message only */
src/bin/unzip/process.c
284
G.zipfn = G.argv0; /* for "cannot find myself" message only */
src/bin/unzip/process.c
294
G.zipfn));
src/bin/unzip/process.c
297
if (G.autorun_command[0] && !uO.qflag) { /* NO autorun without prompt! */
src/bin/unzip/process.c
299
FnFilter1(G.autorun_command)));
src/bin/unzip/process.c
300
if (fgets(G.answerbuf, 9, stdin) != (char *)NULL
src/bin/unzip/process.c
301
&& toupper(*G.answerbuf) == 'Y')
src/bin/unzip/process.c
302
system(G.autorun_command);
src/bin/unzip/process.c
312
while ((G.zipfn = do_wild(__G__ G.wildzipfn)) != (char *)NULL) {
src/bin/unzip/process.c
313
Trace((stderr, "do_wild( %s ) returns %s\n", G.wildzipfn, G.zipfn));
src/bin/unzip/process.c
315
lastzipfn = G.zipfn;
src/bin/unzip/process.c
323
(*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0);
src/bin/unzip/process.c
356
if (iswild(G.wildzipfn))
src/bin/unzip/process.c
360
G.wildzipfn));
src/bin/unzip/process.c
366
G.zipfn = lastzipfn;
src/bin/unzip/process.c
423
if (iswild(G.wildzipfn) && uO.qflag < 3
src/bin/unzip/process.c
434
(*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0x401);
src/bin/unzip/process.c
487
if (G.key != (char *)NULL) {
src/bin/unzip/process.c
488
free(G.key);
src/bin/unzip/process.c
489
G.key = (char *)NULL;
src/bin/unzip/process.c
492
if (G.extra_field != (uch *)NULL) {
src/bin/unzip/process.c
493
free(G.extra_field);
src/bin/unzip/process.c
494
G.extra_field = (uch *)NULL;
src/bin/unzip/process.c
499
if (G.outbuf2) {
src/bin/unzip/process.c
500
free(G.outbuf2); /* malloc'd ONLY if unshrink and -a */
src/bin/unzip/process.c
501
G.outbuf2 = (uch *)NULL;
src/bin/unzip/process.c
505
if (G.outbuf)
src/bin/unzip/process.c
506
free(G.outbuf);
src/bin/unzip/process.c
507
if (G.inbuf)
src/bin/unzip/process.c
508
free(G.inbuf);
src/bin/unzip/process.c
509
G.inbuf = G.outbuf = (uch *)NULL;
src/bin/unzip/process.c
512
if (G.area.Slide) {
src/bin/unzip/process.c
513
free(G.area.Slide);
src/bin/unzip/process.c
514
G.area.Slide = (uch *)NULL;
src/bin/unzip/process.c
549
if (SSTAT(G.zipfn, &G.statbuf) ||
src/bin/unzip/process.c
551
(error = S_ISLIB(G.statbuf.st_mode)) != 0 ||
src/bin/unzip/process.c
553
(error = S_ISDIR(G.statbuf.st_mode)) != 0)
src/bin/unzip/process.c
558
if (G.no_ecrec)
src/bin/unzip/process.c
562
G.wildzipfn, uO.zipinfo_mode? " " : "", G.wildzipfn,
src/bin/unzip/process.c
563
G.zipfn));
src/bin/unzip/process.c
568
G.wildzipfn, G.wildzipfn, G.zipfn));
src/bin/unzip/process.c
570
if (G.no_ecrec)
src/bin/unzip/process.c
574
G.wildzipfn, uO.zipinfo_mode? " " : "", G.zipfn));
src/bin/unzip/process.c
579
G.wildzipfn, G.zipfn));
src/bin/unzip/process.c
585
G.ziplen = G.statbuf.st_size;
src/bin/unzip/process.c
589
if (G.statbuf.st_mode & S_IEXEC) /* no extension on Unix exes: might */
src/bin/unzip/process.c
620
if (uO.exdir != (char *)NULL && G.extract_flag) {
src/bin/unzip/process.c
621
G.create_dirs = !uO.fflag;
src/bin/unzip/process.c
630
G.cur_zipfile_bufstart = 0;
src/bin/unzip/process.c
631
G.inptr = G.inbuf;
src/bin/unzip/process.c
640
Info(slide, 0, ((char *)slide, "Archive: %s\n", FnFilter1(G.zipfn)));
src/bin/unzip/process.c
642
Info(slide, 0, ((char *)slide, "Archive: %s\n", G.zipfn));
src/bin/unzip/process.c
649
((error_in_archive = find_ecrec(__G__ G.ziplen)) != 0 ||
src/bin/unzip/process.c
653
((error_in_archive = find_ecrec(__G__ MIN(G.ziplen,66000L))) != 0 ||
src/bin/unzip/process.c
664
G.zipfn));
src/bin/unzip/process.c
668
G.no_ecrec = TRUE; /* assume we found wrong file: e.g., */
src/bin/unzip/process.c
685
error = !uO.zipinfo_mode && (G.ecrec.number_this_disk == 1) &&
src/bin/unzip/process.c
686
(G.ecrec.num_disk_start_cdir == 1);
src/bin/unzip/process.c
688
error = !uO.zipinfo_mode && (G.ecrec.number_this_disk != 0);
src/bin/unzip/process.c
693
G.ecrec.number_this_disk != G.ecrec.num_disk_start_cdir)
src/bin/unzip/process.c
695
if (G.ecrec.number_this_disk > G.ecrec.num_disk_start_cdir) {
src/bin/unzip/process.c
697
LoadFarString(CentDirNotInZipMsg), G.zipfn,
src/bin/unzip/process.c
698
G.ecrec.number_this_disk, G.ecrec.num_disk_start_cdir));
src/bin/unzip/process.c
703
LoadFarString(EndCentDirBogus), G.zipfn,
src/bin/unzip/process.c
704
G.ecrec.number_this_disk, G.ecrec.num_disk_start_cdir));
src/bin/unzip/process.c
708
} else if (!uO.zipinfo_mode && !error && G.ecrec.number_this_disk != 0) {
src/bin/unzip/process.c
710
G.zipfn));
src/bin/unzip/process.c
719
G.zipfn));
src/bin/unzip/process.c
723
if ((G.extra_bytes = G.real_ecrec_offset-G.expect_ecrec_offset) <
src/bin/unzip/process.c
727
G.zipfn, (long)(-G.extra_bytes)));
src/bin/unzip/process.c
729
} else if (G.extra_bytes > 0) {
src/bin/unzip/process.c
730
if ((G.ecrec.offset_start_central_directory == 0) &&
src/bin/unzip/process.c
731
(G.ecrec.size_central_directory != 0)) /* zip 1.5 -go bug */
src/bin/unzip/process.c
734
LoadFarString(NullCentDirOffset), G.zipfn));
src/bin/unzip/process.c
735
G.ecrec.offset_start_central_directory = G.extra_bytes;
src/bin/unzip/process.c
736
G.extra_bytes = 0;
src/bin/unzip/process.c
742
LoadFarString(ExtraBytesAtStart), G.zipfn,
src/bin/unzip/process.c
743
(long)G.extra_bytes, (G.extra_bytes == 1)? "":"s"));
src/bin/unzip/process.c
753
if (G.expect_ecrec_offset==0L && G.ecrec.size_central_directory==0) {
src/bin/unzip/process.c
759
G.zipfn));
src/bin/unzip/process.c
771
error = seek_zipf(__G__ G.ecrec.offset_start_central_directory);
src/bin/unzip/process.c
777
if (error != PK_OK || readbuf(__G__ G.sig, 4) == 0) {
src/bin/unzip/process.c
781
if (strncmp(G.sig, central_hdr_sig, 4))
src/bin/unzip/process.c
783
if ((error != PK_OK) || (readbuf(__G__ G.sig, 4) == 0) ||
src/bin/unzip/process.c
784
strncmp(G.sig, central_hdr_sig, 4))
src/bin/unzip/process.c
788
long tmp = G.extra_bytes;
src/bin/unzip/process.c
791
G.extra_bytes = 0;
src/bin/unzip/process.c
792
error = seek_zipf(__G__ G.ecrec.offset_start_central_directory);
src/bin/unzip/process.c
793
if ((error != PK_OK) || (readbuf(__G__ G.sig, 4) == 0) ||
src/bin/unzip/process.c
794
strncmp(G.sig, central_hdr_sig, 4))
src/bin/unzip/process.c
798
LoadFarString(CentDirStartNotFound), G.zipfn,
src/bin/unzip/process.c
805
G.zipfn, -tmp));
src/bin/unzip/process.c
816
error = seek_zipf(__G__ G.ecrec.offset_start_central_directory);
src/bin/unzip/process.c
834
if (!G.fValidate)
src/bin/unzip/process.c
869
if (stamp_file(__G__ G.zipfn, uxstamp)) { /* TIME-STAMP 'EM */
src/bin/unzip/process.c
871
if (stamp_file(G.zipfn, uxstamp)) { /* TIME-STAMP 'EM */
src/bin/unzip/process.c
875
"warning: cannot set time for %s\n", G.zipfn));
src/bin/unzip/process.c
906
if (G.ziplen <= INBUFSIZ) {
src/bin/unzip/process.c
907
lseek(G.zipfd, 0L, SEEK_SET);
src/bin/unzip/process.c
908
if ((G.incnt = read(G.zipfd,(char *)G.inbuf,(unsigned int)G.ziplen))
src/bin/unzip/process.c
909
== (int)G.ziplen)
src/bin/unzip/process.c
912
for (G.inptr = G.inbuf+(int)G.ziplen-(ECREC_SIZE+4);
src/bin/unzip/process.c
913
G.inptr >= G.inbuf;
src/bin/unzip/process.c
914
--G.inptr) {
src/bin/unzip/process.c
915
if ( (*G.inptr == (uch)0x50) && /* ASCII 'P' */
src/bin/unzip/process.c
916
!strncmp((char *)G.inptr, end_central_sig, 4)) {
src/bin/unzip/process.c
917
G.incnt -= (int)(G.inptr - G.inbuf);
src/bin/unzip/process.c
929
if ((tail_len = G.ziplen % INBUFSIZ) > ECREC_SIZE) {
src/bin/unzip/process.c
931
fseek((FILE *)G.zipfd, G.ziplen-tail_len, SEEK_SET);
src/bin/unzip/process.c
932
G.cur_zipfile_bufstart = ftell((FILE *)G.zipfd);
src/bin/unzip/process.c
934
G.cur_zipfile_bufstart = lseek(G.zipfd, G.ziplen-tail_len,
src/bin/unzip/process.c
937
if ((G.incnt = read(G.zipfd, (char *)G.inbuf,
src/bin/unzip/process.c
942
for (G.inptr = G.inbuf+(int)tail_len-(ECREC_SIZE+4);
src/bin/unzip/process.c
943
G.inptr >= G.inbuf;
src/bin/unzip/process.c
944
--G.inptr) {
src/bin/unzip/process.c
945
if ( (*G.inptr == (uch)0x50) && /* ASCII 'P' */
src/bin/unzip/process.c
946
!strncmp((char *)G.inptr, end_central_sig, 4)) {
src/bin/unzip/process.c
947
G.incnt -= (int)(G.inptr - G.inbuf);
src/bin/unzip/process.c
953
memcpy((char *)G.hold, (char *)G.inbuf, 3);
src/bin/unzip/process.c
955
G.cur_zipfile_bufstart = G.ziplen - tail_len;
src/bin/unzip/process.c
967
G.cur_zipfile_bufstart -= INBUFSIZ;
src/bin/unzip/process.c
968
lseek(G.zipfd, G.cur_zipfile_bufstart, SEEK_SET);
src/bin/unzip/process.c
969
if ((G.incnt = read(G.zipfd,(char *)G.inbuf,INBUFSIZ))
src/bin/unzip/process.c
973
for (G.inptr = G.inbuf+INBUFSIZ-1; G.inptr >= G.inbuf;
src/bin/unzip/process.c
974
--G.inptr)
src/bin/unzip/process.c
975
if ((native(*G.inptr) == 'P') &&
src/bin/unzip/process.c
976
!strncmp((char *)G.inptr, end_central_sig, 4)) {
src/bin/unzip/process.c
977
G.incnt -= (int)(G.inptr - G.inbuf);
src/bin/unzip/process.c
982
memcpy((char *)G.hold, (char *)G.inbuf, 3);
src/bin/unzip/process.c
994
Info(slide, 0x401, ((char *)slide, "[%s]\n", G.zipfn));
src/bin/unzip/ttyio.c
50
# define GLOBAL(g) G.g
src/bin/unzip/unshrink.c
115
uch *realbuf = G.outbuf;
src/bin/unzip/unshrink.c
117
# define realbuf G.outbuf
src/bin/unzip/unshrink.c
131
if (G.pInfo->textmode && !G.outbuf2 &&
src/bin/unzip/unshrink.c
132
(G.outbuf2 = (uch *)malloc(TRANSBUFSIZ)) == (uch *)NULL)
src/bin/unzip/unshrink.c
145
if (G.redirect_slide) { /* use normal outbuf unless we're a DLL routine */
src/bin/unzip/unshrink.c
146
realbuf = G.redirect_buffer;
src/bin/unzip/unshrink.c
147
outbufsiz = (unsigned)G.redirect_size;
src/bin/unzip/unshrink.c
151
if (G.pInfo->textmode && !G.redirect_data)
src/bin/unzip/unshrink.c
153
if (G.pInfo->textmode)
src/bin/unzip/unshrink.c
158
G.outptr = realbuf;
src/bin/unzip/unshrink.c
159
G.outcnt = 0L;
src/bin/unzip/unshrink.c
166
if (!G.zipeof) {
src/bin/unzip/unshrink.c
167
*G.outptr++ = (uch)oldcode;
src/bin/unzip/unshrink.c
169
++G.outcnt;
src/bin/unzip/unshrink.c
174
if (G.zipeof)
src/bin/unzip/unshrink.c
227
*G.outptr++ = *p;
src/bin/unzip/unshrink.c
229
if (++G.outcnt == outbufsiz) {
src/bin/unzip/unshrink.c
230
Trace((stderr, "doing flush(), outcnt = %lu\n", G.outcnt));
src/bin/unzip/unshrink.c
231
if ((error = flush(__G__ realbuf, G.outcnt, TRUE)) != 0) {
src/bin/unzip/unshrink.c
236
G.outptr = realbuf;
src/bin/unzip/unshrink.c
237
G.outcnt = 0L;
src/bin/unzip/unshrink.c
259
} while (!G.zipeof);
src/bin/unzip/unshrink.c
265
if (G.outcnt > 0L) {
src/bin/unzip/unshrink.c
266
Trace((stderr, "doing final flush(), outcnt = %lu\n", G.outcnt));
src/bin/unzip/unshrink.c
267
if ((error = flush(__G__ realbuf, G.outcnt, TRUE)) != 0) {
src/bin/unzip/unshrink.c
91
#define parent G.area.shrink.Parent
src/bin/unzip/unshrink.c
92
#define Value G.area.shrink.value /* "value" conflicts with Pyramid ioctl.h */
src/bin/unzip/unshrink.c
93
#define stack G.area.shrink.Stack
src/bin/unzip/unzip.c
1006
if (G.area.Slide != (uch *)NULL) {
src/bin/unzip/unzip.c
1007
free(G.area.Slide);
src/bin/unzip/unzip.c
1008
G.area.Slide = (uch *)NULL;
src/bin/unzip/unzip.c
1146
if (G.redirect_text)
src/bin/unzip/unzip.c
1147
G.redirect_data = 2;
src/bin/unzip/unzip.c
1276
G.M_flag = FALSE, negative = 0;
src/bin/unzip/unzip.c
1278
G.M_flag = TRUE;
src/bin/unzip/unzip.c
1512
if (G.M_flag && !isatty(1)) /* stdout redirected: "more" func. useless */
src/bin/unzip/unzip.c
1513
G.M_flag = 0;
src/bin/unzip/unzip.c
1529
if (!G.noargs && !error)
src/bin/unzip/unzip.c
1553
G.extract_flag = FALSE;
src/bin/unzip/unzip.c
1555
G.extract_flag = TRUE;
src/bin/unzip/unzip.c
679
G.area.Slide = (uch *)zcalloc(UZ_NUMOF_CHUNKS, UZ_SLIDE_CHUNK);
src/bin/unzip/unzip.c
682
G.area.shrink.Parent = (shrint *)G.area.Slide;
src/bin/unzip/unzip.c
683
G.area.shrink.value = G.area.Slide + (sizeof(shrint)*(HSIZE));
src/bin/unzip/unzip.c
684
G.area.shrink.Stack = G.area.Slide +
src/bin/unzip/unzip.c
720
G.rghCursor[a] = GetCursor(a+128);
src/bin/unzip/unzip.c
721
G.giCursor = 0;
src/bin/unzip/unzip.c
764
G.argv0 = argv[0];
src/bin/unzip/unzip.c
766
G.zipfn = GetLoadPath(__G);/* non-MSC NT puts path into G.filename[] */
src/bin/unzip/unzip.c
768
G.zipfn = G.argv0;
src/bin/unzip/unzip.c
806
G.noargs = (argc == 1); /* no options, no zipfile, no anything */
src/bin/unzip/unzip.c
862
for (G.pfnames = argv, i = argc; i > 0; --i) {
src/bin/unzip/unzip.c
865
for (G.pfnames = argv, i = argc+1; i > 0; --i) {
src/bin/unzip/unzip.c
869
_toslash(*G.pfnames);
src/bin/unzip/unzip.c
873
for (q = *G.pfnames; *q; ++q)
src/bin/unzip/unzip.c
876
++G.pfnames;
src/bin/unzip/unzip.c
882
G.wildzipfn = *argv++;
src/bin/unzip/unzip.c
887
G.filespecs = argc;
src/bin/unzip/unzip.c
888
G.xfilespecs = 0;
src/bin/unzip/unzip.c
893
G.pfnames = argv;
src/bin/unzip/unzip.c
898
G.filespecs = pp - G.pfnames;
src/bin/unzip/unzip.c
900
G.pfnames = (char **)fnames; /* defaults */
src/bin/unzip/unzip.c
901
G.filespecs = 0;
src/bin/unzip/unzip.c
903
G.pxnames = pp + 1; /* excluded-names ptr: _after_ -x */
src/bin/unzip/unzip.c
904
G.xfilespecs = argc - G.filespecs - 1;
src/bin/unzip/unzip.c
907
G.process_all_files = FALSE;
src/bin/unzip/unzip.c
909
G.process_all_files = TRUE; /* for speed */
src/bin/unzip/unzip.c
913
G.filespecs = argc;
src/bin/unzip/unzip.c
914
G.xfilespecs = 0;
src/bin/unzip/unzip.c
920
G.process_all_files = FALSE;
src/bin/unzip/unzip.c
921
G.pfnames = argv;
src/bin/unzip/unzip.c
934
G.filespecs = pp - G.pfnames;
src/bin/unzip/unzip.c
938
G.xfilespecs = pp - G.pxnames;
src/bin/unzip/unzip.c
955
G.pfnames = pp + 1; /* argv+2 */
src/bin/unzip/unzip.c
956
G.filespecs = argc - (G.pfnames-argv); /* for now... */
src/bin/unzip/unzip.c
958
G.process_all_files = TRUE;
src/bin/unzip/unzip.c
959
G.pfnames = (char **)fnames; /* GRR: necessary? */
src/bin/unzip/unzip.c
960
G.filespecs = 0; /* GRR: necessary? */
src/bin/unzip/unzip.c
967
if (pp == G.pfnames) {
src/bin/unzip/unzip.c
968
G.pfnames = (char **)fnames; /* defaults */
src/bin/unzip/unzip.c
969
G.filespecs = 0;
src/bin/unzip/unzip.c
972
G.filespecs = pp - G.pfnames; /* adjust count */
src/bin/unzip/unzip.c
975
G.pxnames = pp + 1; /* excluded-names ptr starts after -x */
src/bin/unzip/unzip.c
976
G.xfilespecs = argc - (G.pxnames-argv); /* anything left */
src/bin/unzip/unzip.c
982
G.process_all_files = TRUE; /* for speed */
src/bin/unzip/unzip.c
984
if (uO.exdir != (char *)NULL && !G.extract_flag) /* -d ignored */
src/bin/unzip/unzpriv.h
1273
#define IS_OVERWRT_ALL (G.overwrite_mode == OVERWRT_ALWAYS)
src/bin/unzip/unzpriv.h
1274
#define IS_OVERWRT_NONE (G.overwrite_mode == OVERWRT_NEVER)
src/bin/unzip/unzpriv.h
1563
#define slide G.area.Slide
src/bin/unzip/unzpriv.h
1566
# define redirSlide G.redirect_sldptr
src/bin/unzip/unzpriv.h
1568
# define redirSlide G.area.Slide
src/bin/unzip/unzpriv.h
1861
# define inflate_free(x) inflateEnd(&((Uz_Globs *)(&G))->dstrm)
src/bin/unzip/unzpriv.h
2141
(*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
src/bin/unzip/unzpriv.h
2144
(*G.message)((zvoid *)&G, (uch *)(buf), \
src/bin/unzip/unzpriv.h
2160
# define MESSAGE(str,len,flag) (*G.message)((zvoid *)&G,(str),(len),(flag))
src/bin/unzip/unzpriv.h
2195
# define NEXTBYTE getc(G.in) /* redefined in crypt.h if full version */
src/bin/unzip/unzpriv.h
2197
# define FLUSH(w) ((G.mem_mode) ? memflush(__G__ redirSlide,(ulg)(w)) \
src/bin/unzip/unzpriv.h
2199
# define NEXTBYTE (--G.incnt >= 0 ? (int)(*G.inptr++) : readbyte(__G))
src/bin/unzip/unzpriv.h
2203
#define READBITS(nbits,zdest) {if(nbits>G.bits_left) {int temp; G.zipeof=1;\
src/bin/unzip/unzpriv.h
2204
while (G.bits_left<=8*(int)(sizeof(G.bitbuf)-1) && (temp=NEXTBYTE)!=EOF) {\
src/bin/unzip/unzpriv.h
2205
G.bitbuf|=(ulg)temp<<G.bits_left; G.bits_left+=8; G.zipeof=0;}}\
src/bin/unzip/unzpriv.h
2206
zdest=(shrint)((ush)G.bitbuf&mask_bits[nbits]);G.bitbuf>>=nbits;\
src/bin/unzip/unzpriv.h
2207
G.bits_left-=nbits;}
src/bin/unzip/unzpriv.h
449
# define close_outfile() fclose(G.outfile) /* can't set time on files */
src/bin/unzip/unzpriv.h
716
# define CLOSE_INFILE() close(G.zipfd)
src/bin/unzip/zipinfo.c
1000
hostnum = (unsigned)(G.pInfo->hostnum);
src/bin/unzip/zipinfo.c
1001
hostver = (unsigned)(G.pInfo->hostver);
src/bin/unzip/zipinfo.c
1002
extnum = (unsigned)MIN(G.crec.version_needed_to_extract[1], NUM_HOSTS);
src/bin/unzip/zipinfo.c
1003
extver = (unsigned)G.crec.version_needed_to_extract[0];
src/bin/unzip/zipinfo.c
1004
methnum = (unsigned)MIN(G.crec.compression_method, NUM_METHODS);
src/bin/unzip/zipinfo.c
1006
(*G.message)((zvoid *)&G, (uch *)" ", 2L, 0); fnprint(__G);
src/bin/unzip/zipinfo.c
1009
G.crec.relative_offset_local_header,
src/bin/unzip/zipinfo.c
1010
G.crec.relative_offset_local_header));
src/bin/unzip/zipinfo.c
1014
(int)G.crec.version_made_by[1]);
src/bin/unzip/zipinfo.c
1031
(int)G.crec.version_needed_to_extract[1]);
src/bin/unzip/zipinfo.c
1041
sprintf(unkn, LoadFarString(UnknownNo), G.crec.compression_method);
src/bin/unzip/zipinfo.c
1049
(G.crec.general_purpose_bit_flag & 2)? '8' : '4'));
src/bin/unzip/zipinfo.c
1051
(G.crec.general_purpose_bit_flag & 4)? '3' : '2'));
src/bin/unzip/zipinfo.c
1053
ush dnum=(ush)((G.crec.general_purpose_bit_flag>>1) & 3);
src/bin/unzip/zipinfo.c
1060
(G.crec.general_purpose_bit_flag & 1) ? nullStr : "not "));
src/bin/unzip/zipinfo.c
1062
(G.crec.general_purpose_bit_flag & 8) ? "yes" : "no"));
src/bin/unzip/zipinfo.c
1071
zi_time(__G__ &G.crec.last_mod_dos_datetime, NULL, d_t_buf);
src/bin/unzip/zipinfo.c
1074
if (G.extra_field &&
src/bin/unzip/zipinfo.c
1076
G.tz_is_valid &&
src/bin/unzip/zipinfo.c
1078
(ef_scan_for_izux(G.extra_field, G.crec.extra_field_length, 1,
src/bin/unzip/zipinfo.c
1079
G.crec.last_mod_dos_datetime, &z_utime, NULL)
src/bin/unzip/zipinfo.c
1084
zi_time(__G__ &G.crec.last_mod_dos_datetime, &(z_utime.mtime), d_t_buf);
src/bin/unzip/zipinfo.c
1089
zi_time(__G__ &G.crec.last_mod_dos_datetime, &(z_utime.mtime), d_t_buf);
src/bin/unzip/zipinfo.c
1096
Info(slide, 0, ((char *)slide, LoadFarString(CRC32Value), G.crec.crc32));
src/bin/unzip/zipinfo.c
1098
G.crec.csize));
src/bin/unzip/zipinfo.c
1100
G.crec.ucsize));
src/bin/unzip/zipinfo.c
1102
G.crec.filename_length));
src/bin/unzip/zipinfo.c
1104
G.crec.extra_field_length));
src/bin/unzip/zipinfo.c
1106
G.crec.file_comment_length));
src/bin/unzip/zipinfo.c
1108
G.crec.disk_number_start + 1));
src/bin/unzip/zipinfo.c
1110
(G.crec.internal_file_attributes & 1)? "text"
src/bin/unzip/zipinfo.c
1111
: (G.crec.internal_file_attributes & 2)? "ebcdic"
src/bin/unzip/zipinfo.c
1115
G.crec.external_file_attributes);
src/bin/unzip/zipinfo.c
1117
xattr = (unsigned)((G.crec.external_file_attributes >> 16) & 0xFFFF);
src/bin/unzip/zipinfo.c
1283
G.crec.external_file_attributes >> 8));
src/bin/unzip/zipinfo.c
1287
if ((xattr=(unsigned)(G.crec.external_file_attributes & 0xFF)) == 0)
src/bin/unzip/zipinfo.c
1310
if (G.crec.extra_field_length > 0) {
src/bin/unzip/zipinfo.c
1311
uch *ef_ptr = G.extra_field;
src/bin/unzip/zipinfo.c
1312
ush ef_len = G.crec.extra_field_length;
src/bin/unzip/zipinfo.c
1319
if (G.extra_field == (uch *)NULL)
src/bin/unzip/zipinfo.c
1691
(*G.message)((zvoid *)&G, (uch *)".", 1L, 0);
src/bin/unzip/zipinfo.c
1696
(*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0);
src/bin/unzip/zipinfo.c
1700
if ((xattr = (unsigned)((G.crec.external_file_attributes & 0xC000) >> 12))
src/bin/unzip/zipinfo.c
1717
if (!G.crec.file_comment_length)
src/bin/unzip/zipinfo.c
1721
if ((error = do_string(__G__ G.crec.file_comment_length, DISPL_8)) !=
src/bin/unzip/zipinfo.c
1773
methnum = (unsigned)MIN(G.crec.compression_method, NUM_METHODS);
src/bin/unzip/zipinfo.c
1774
hostnum = (unsigned)(G.pInfo->hostnum);
src/bin/unzip/zipinfo.c
1775
hostver = (unsigned)(G.pInfo->hostver);
src/bin/unzip/zipinfo.c
1783
methbuf[1] = (char)((G.crec.general_purpose_bit_flag & 2)? '8' : '4');
src/bin/unzip/zipinfo.c
1784
methbuf[3] = (char)((G.crec.general_purpose_bit_flag & 4)? '3' : '2');
src/bin/unzip/zipinfo.c
1786
ush dnum=(ush)((G.crec.general_purpose_bit_flag>>1) & 3);
src/bin/unzip/zipinfo.c
1789
sprintf(&methbuf[1], "%03u", G.crec.compression_method);
src/bin/unzip/zipinfo.c
1796
xattr = (unsigned)((G.crec.external_file_attributes >> 16) & 0xFFFF);
src/bin/unzip/zipinfo.c
1921
((unsigned)!(G.crec.external_file_attributes & 1) << 7) |
src/bin/unzip/zipinfo.c
1922
((unsigned)(G.crec.external_file_attributes & 0x10) << 2))
src/bin/unzip/zipinfo.c
1925
xattr = (unsigned)(G.crec.external_file_attributes & 0xFF);
src/bin/unzip/zipinfo.c
1938
else if ((p = MBSRCHR(G.filename, '.')) != (char *)NULL) {
src/bin/unzip/zipinfo.c
1992
G.crec.ucsize));
src/bin/unzip/zipinfo.c
1996
G.crec.ucsize));
src/bin/unzip/zipinfo.c
1999
(G.crec.general_purpose_bit_flag & 1)?
src/bin/unzip/zipinfo.c
2000
((G.crec.internal_file_attributes & 1)? 'T' : 'B') : /* encrypted */
src/bin/unzip/zipinfo.c
2001
((G.crec.internal_file_attributes & 1)? 't' : 'b'))); /* plaintext */
src/bin/unzip/zipinfo.c
2002
k = (G.crec.extra_field_length ||
src/bin/unzip/zipinfo.c
2004
((G.crec.external_file_attributes & 0x8000) &&
src/bin/unzip/zipinfo.c
2007
((G.crec.general_purpose_bit_flag & 8)? 'X' : 'x') : /* extra field */
src/bin/unzip/zipinfo.c
2008
((G.crec.general_purpose_bit_flag & 8)? 'l' : '-'))); /* no extra field */
src/bin/unzip/zipinfo.c
2012
ulg csiz = G.crec.csize;
src/bin/unzip/zipinfo.c
2014
if (G.crec.general_purpose_bit_flag & 1)
src/bin/unzip/zipinfo.c
2017
(ratio(G.crec.ucsize,csiz)+5)/10));
src/bin/unzip/zipinfo.c
2019
Info(slide, 0, ((char *)slide, " %8lu", G.crec.csize));
src/bin/unzip/zipinfo.c
2024
if ((error = do_string(__G__ G.crec.extra_field_length, EXTRA_FIELD)) != 0)
src/bin/unzip/zipinfo.c
2026
if (G.extra_field != NULL) {
src/bin/unzip/zipinfo.c
2027
free(G.extra_field);
src/bin/unzip/zipinfo.c
2028
G.extra_field = NULL;
src/bin/unzip/zipinfo.c
2043
z_modtim = G.extra_field &&
src/bin/unzip/zipinfo.c
2045
G.tz_is_valid &&
src/bin/unzip/zipinfo.c
2047
(ef_scan_for_izux(G.extra_field, G.crec.extra_field_length, 1,
src/bin/unzip/zipinfo.c
2048
G.crec.last_mod_dos_datetime, &z_utime, NULL)
src/bin/unzip/zipinfo.c
2057
zi_time(__G__ &G.crec.last_mod_dos_datetime, z_modtim, d_t_buf)));
src/bin/unzip/zipinfo.c
2065
SKIP_(G.crec.file_comment_length)
src/bin/unzip/zipinfo.c
447
G.extract_flag = FALSE; /* zipinfo does not extract to disk */
src/bin/unzip/zipinfo.c
502
G.M_flag = FALSE, negative = 0;
src/bin/unzip/zipinfo.c
504
G.M_flag = TRUE;
src/bin/unzip/zipinfo.c
555
if (G.M_flag && !isatty(1)) /* stdout redirected: "more" func useless */
src/bin/unzip/zipinfo.c
556
G.M_flag = 0;
src/bin/unzip/zipinfo.c
616
Info(slide, 0, ((char *)slide, ((int)strlen(G.zipfn) < 39)?
src/bin/unzip/zipinfo.c
617
LoadFarString(LongHeader) : LoadFarString(ShortHeader), G.zipfn,
src/bin/unzip/zipinfo.c
618
(long)G.ziplen, G.ecrec.total_entries_central_dir,
src/bin/unzip/zipinfo.c
619
(G.ecrec.total_entries_central_dir==1)?
src/bin/unzip/zipinfo.c
628
(long)G.real_ecrec_offset, (long)G.real_ecrec_offset,
src/bin/unzip/zipinfo.c
629
(long)G.expect_ecrec_offset, (long)G.expect_ecrec_offset));
src/bin/unzip/zipinfo.c
631
if (G.ecrec.number_this_disk == 0) {
src/bin/unzip/zipinfo.c
633
G.ecrec.total_entries_central_dir,
src/bin/unzip/zipinfo.c
634
(G.ecrec.total_entries_central_dir == 1)? "entry" : "entries",
src/bin/unzip/zipinfo.c
635
G.ecrec.size_central_directory,
src/bin/unzip/zipinfo.c
636
G.ecrec.size_central_directory));
src/bin/unzip/zipinfo.c
638
G.ecrec.offset_start_central_directory,
src/bin/unzip/zipinfo.c
639
G.ecrec.offset_start_central_directory));
src/bin/unzip/zipinfo.c
642
G.ecrec.number_this_disk + 1,
src/bin/unzip/zipinfo.c
643
G.ecrec.num_disk_start_cdir + 1,
src/bin/unzip/zipinfo.c
644
G.ecrec.num_entries_centrl_dir_ths_disk,
src/bin/unzip/zipinfo.c
645
(G.ecrec.num_entries_centrl_dir_ths_disk == 1)? "is" : "are"));
src/bin/unzip/zipinfo.c
647
G.ecrec.total_entries_central_dir,
src/bin/unzip/zipinfo.c
648
(G.ecrec.total_entries_central_dir == 1) ? "entry" : "entries",
src/bin/unzip/zipinfo.c
649
G.ecrec.size_central_directory,
src/bin/unzip/zipinfo.c
650
G.ecrec.size_central_directory));
src/bin/unzip/zipinfo.c
652
G.ecrec.offset_start_central_directory,
src/bin/unzip/zipinfo.c
653
G.ecrec.offset_start_central_directory));
src/bin/unzip/zipinfo.c
662
if (!G.ecrec.zipfile_comment_length)
src/bin/unzip/zipinfo.c
666
G.ecrec.zipfile_comment_length));
src/bin/unzip/zipinfo.c
668
if (do_string(__G__ G.ecrec.zipfile_comment_length, DISPLAY))
src/bin/unzip/zipinfo.c
677
} else if (uO.zflag && G.ecrec.zipfile_comment_length) {
src/bin/unzip/zipinfo.c
678
if (do_string(__G__ G.ecrec.zipfile_comment_length, DISPLAY)) {
src/bin/unzip/zipinfo.c
713
if (G.filespecs > 0 &&
src/bin/unzip/zipinfo.c
714
(fn_matched=(int *)malloc(G.filespecs*sizeof(int))) != NULL)
src/bin/unzip/zipinfo.c
715
for (j = 0; j < G.filespecs; ++j)
src/bin/unzip/zipinfo.c
718
if (G.xfilespecs > 0 &&
src/bin/unzip/zipinfo.c
719
(xn_matched=(int *)malloc(G.xfilespecs*sizeof(int))) != NULL)
src/bin/unzip/zipinfo.c
720
for (j = 0; j < G.xfilespecs; ++j)
src/bin/unzip/zipinfo.c
736
G.pInfo = G.info; /* (re-)initialize, (just to make sure) */
src/bin/unzip/zipinfo.c
737
G.pInfo->textmode = 0; /* so one can read on screen (is this ever used?) */
src/bin/unzip/zipinfo.c
740
endprev = (G.crec.relative_offset_local_header == 4L)? 4L : 0L;
src/bin/unzip/zipinfo.c
744
if (readbuf(__G__ G.sig, 4) == 0)
src/bin/unzip/zipinfo.c
746
if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */
src/bin/unzip/zipinfo.c
748
(unsigned)G.ecrec.total_entries_central_dir) {
src/bin/unzip/zipinfo.c
766
if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) !=
src/bin/unzip/zipinfo.c
774
if (!G.process_all_files) { /* check if specified on command line */
src/bin/unzip/zipinfo.c
778
for (i = 0; i < G.filespecs; i++)
src/bin/unzip/zipinfo.c
779
if (match(G.filename, G.pfnames[i], uO.C_flag)) {
src/bin/unzip/zipinfo.c
786
for (i = 0; i < G.xfilespecs; i++)
src/bin/unzip/zipinfo.c
787
if (match(G.filename, G.pxnames[i], uO.C_flag)) {
src/bin/unzip/zipinfo.c
802
if (G.process_all_files || do_this_file) {
src/bin/unzip/zipinfo.c
808
SKIP_(G.crec.extra_field_length)
src/bin/unzip/zipinfo.c
809
SKIP_(G.crec.file_comment_length)
src/bin/unzip/zipinfo.c
833
SKIP_(G.crec.extra_field_length)
src/bin/unzip/zipinfo.c
834
SKIP_(G.crec.file_comment_length)
src/bin/unzip/zipinfo.c
839
tot_csize += G.crec.csize;
src/bin/unzip/zipinfo.c
840
tot_ucsize += G.crec.ucsize;
src/bin/unzip/zipinfo.c
841
if (G.crec.general_purpose_bit_flag & 1)
src/bin/unzip/zipinfo.c
846
if ((G.statreportcb != NULL) &&
src/bin/unzip/zipinfo.c
847
(*G.statreportcb)(__G__ UZ_ST_FINISH_MEMBER, G.zipfn,
src/bin/unzip/zipinfo.c
848
G.filename, (zvoid *)&G.crec.ucsize)) {
src/bin/unzip/zipinfo.c
861
SKIP_(G.crec.extra_field_length)
src/bin/unzip/zipinfo.c
862
SKIP_(G.crec.file_comment_length)
src/bin/unzip/zipinfo.c
891
for (j = 0; j < G.filespecs; ++j)
src/bin/unzip/zipinfo.c
894
LoadFarString(FilenameNotMatched), G.pfnames[j]));
src/bin/unzip/zipinfo.c
898
for (j = 0; j < G.xfilespecs; ++j)
src/bin/unzip/zipinfo.c
901
LoadFarString(ExclFilenameNotMatched), G.pxnames[j]));
src/bin/unzip/zipinfo.c
909
if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
src/bin/unzip/zipinfo.c
917
(*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0);
src/bin/unzip/zipinfo.c
963
if (G.crec.relative_offset_local_header != *pEndprev && *pEndprev > 0L) {
src/bin/unzip/zipinfo.c
970
(long)G.crec.relative_offset_local_header - (long)(*pEndprev)));
src/bin/unzip/zipinfo.c
975
*pEndprev = G.crec.relative_offset_local_header + (4L + LREC_SIZE) +
src/bin/unzip/zipinfo.c
976
G.crec.filename_length + G.crec.extra_field_length + G.crec.csize;
src/bin/unzip/zipinfo.c
982
if ((error = do_string(__G__ G.crec.extra_field_length, EXTRA_FIELD)) != 0)
src/bin/unzip/zipinfo.c
984
if (G.extra_field != NULL) {
src/bin/unzip/zipinfo.c
985
free(G.extra_field);
src/bin/unzip/zipinfo.c
986
G.extra_field = NULL;
src/kits/shared/md5.cpp
133
STEP(G, a, b, c, d, GET(1), 0xf61e2562, 5)
src/kits/shared/md5.cpp
134
STEP(G, d, a, b, c, GET(6), 0xc040b340, 9)
src/kits/shared/md5.cpp
135
STEP(G, c, d, a, b, GET(11), 0x265e5a51, 14)
src/kits/shared/md5.cpp
136
STEP(G, b, c, d, a, GET(0), 0xe9b6c7aa, 20)
src/kits/shared/md5.cpp
137
STEP(G, a, b, c, d, GET(5), 0xd62f105d, 5)
src/kits/shared/md5.cpp
138
STEP(G, d, a, b, c, GET(10), 0x02441453, 9)
src/kits/shared/md5.cpp
139
STEP(G, c, d, a, b, GET(15), 0xd8a1e681, 14)
src/kits/shared/md5.cpp
140
STEP(G, b, c, d, a, GET(4), 0xe7d3fbc8, 20)
src/kits/shared/md5.cpp
141
STEP(G, a, b, c, d, GET(9), 0x21e1cde6, 5)
src/kits/shared/md5.cpp
142
STEP(G, d, a, b, c, GET(14), 0xc33707d6, 9)
src/kits/shared/md5.cpp
143
STEP(G, c, d, a, b, GET(3), 0xf4d50d87, 14)
src/kits/shared/md5.cpp
144
STEP(G, b, c, d, a, GET(8), 0x455a14ed, 20)
src/kits/shared/md5.cpp
145
STEP(G, a, b, c, d, GET(13), 0xa9e3e905, 5)
src/kits/shared/md5.cpp
146
STEP(G, d, a, b, c, GET(2), 0xfcefa3f8, 9)
src/kits/shared/md5.cpp
147
STEP(G, c, d, a, b, GET(7), 0x676f02d9, 14)
src/kits/shared/md5.cpp
148
STEP(G, b, c, d, a, GET(12), 0x8d2a4c8a, 20)
src/libs/compat/freebsd_iflib/md5c.c
116
(a) += G ((b), (c), (d)) + (x) + (u_int32_t)(ac); \
src/libs/libsolv/solv/md5.c
107
STEP(G, a, b, c, d, GET(1), 0xf61e2562, 5)
src/libs/libsolv/solv/md5.c
108
STEP(G, d, a, b, c, GET(6), 0xc040b340, 9)
src/libs/libsolv/solv/md5.c
109
STEP(G, c, d, a, b, GET(11), 0x265e5a51, 14)
src/libs/libsolv/solv/md5.c
110
STEP(G, b, c, d, a, GET(0), 0xe9b6c7aa, 20)
src/libs/libsolv/solv/md5.c
111
STEP(G, a, b, c, d, GET(5), 0xd62f105d, 5)
src/libs/libsolv/solv/md5.c
112
STEP(G, d, a, b, c, GET(10), 0x02441453, 9)
src/libs/libsolv/solv/md5.c
113
STEP(G, c, d, a, b, GET(15), 0xd8a1e681, 14)
src/libs/libsolv/solv/md5.c
114
STEP(G, b, c, d, a, GET(4), 0xe7d3fbc8, 20)
src/libs/libsolv/solv/md5.c
115
STEP(G, a, b, c, d, GET(9), 0x21e1cde6, 5)
src/libs/libsolv/solv/md5.c
116
STEP(G, d, a, b, c, GET(14), 0xc33707d6, 9)
src/libs/libsolv/solv/md5.c
117
STEP(G, c, d, a, b, GET(3), 0xf4d50d87, 14)
src/libs/libsolv/solv/md5.c
118
STEP(G, b, c, d, a, GET(8), 0x455a14ed, 20)
src/libs/libsolv/solv/md5.c
119
STEP(G, a, b, c, d, GET(13), 0xa9e3e905, 5)
src/libs/libsolv/solv/md5.c
120
STEP(G, d, a, b, c, GET(2), 0xfcefa3f8, 9)
src/libs/libsolv/solv/md5.c
121
STEP(G, c, d, a, b, GET(7), 0x676f02d9, 14)
src/libs/libsolv/solv/md5.c
122
STEP(G, b, c, d, a, GET(12), 0x8d2a4c8a, 20)
src/system/kernel/arch/arm/arch_elf.cpp
333
addr_t G = 0; // GOT address
src/system/kernel/arch/arm/arch_elf.cpp
344
if (G == 0) { \
src/system/kernel/arch/m68k/arch_elf.cpp
154
addr_t G = 0; // GOT address
src/system/kernel/arch/m68k/arch_elf.cpp
163
if (G == 0) { \
src/system/kernel/arch/m68k/arch_elf.cpp
252
write_32(P, (G + A - P));
src/system/kernel/arch/m68k/arch_elf.cpp
257
if (write_16_check(P, (G + A - P)))
src/system/kernel/arch/m68k/arch_elf.cpp
264
if (write_8_check(P, (G + A - P)))
src/system/kernel/arch/m68k/arch_elf.cpp
271
write_32(P, (G + A));
src/system/kernel/arch/m68k/arch_elf.cpp
276
if (write_16_check(P, (G + A)))
src/system/kernel/arch/m68k/arch_elf.cpp
283
if (write_8_check(P, (G + A)))
src/system/kernel/arch/ppc/arch_elf.cpp
133
addr_t G = 0; // GOT address
src/system/kernel/arch/ppc/arch_elf.cpp
142
if (G == 0) { \
src/system/kernel/arch/ppc/arch_elf.cpp
271
if (write_half16_check(P, G + A))
src/system/kernel/arch/ppc/arch_elf.cpp
278
write_half16(P, lo(G + A));
src/system/kernel/arch/ppc/arch_elf.cpp
283
write_half16(P, hi(G + A));
src/system/kernel/arch/ppc/arch_elf.cpp
288
write_half16(P, ha(G + A));
src/system/kernel/arch/sparc/arch_elf.cpp
130
if (G == 0) { \
src/system/kernel/util/Random.cpp
49
STEP(G, a, b, c, d, data[1] + kMD4Round2, 3);
src/system/kernel/util/Random.cpp
50
STEP(G, d, a, b, c, data[5] + kMD4Round2, 5);
src/system/kernel/util/Random.cpp
51
STEP(G, c, d, a, b, data[6] + kMD4Round2, 9);
src/system/kernel/util/Random.cpp
52
STEP(G, b, c, d, a, data[2] + kMD4Round2, 13);
src/system/kernel/util/Random.cpp
53
STEP(G, a, b, c, d, data[3] + kMD4Round2, 3);
src/system/kernel/util/Random.cpp
54
STEP(G, d, a, b, c, data[7] + kMD4Round2, 5);
src/system/kernel/util/Random.cpp
55
STEP(G, c, d, a, b, data[4] + kMD4Round2, 9);
src/system/kernel/util/Random.cpp
56
STEP(G, b, c, d, a, data[0] + kMD4Round2, 13);
src/system/libnetwork/netresolv/dst/md5_locl.h
179
a+=((k)+(t)+G((b),(c),(d))); \
src/system/libroot/posix/musl/math/powl.c
361
G = Fa + w * ya;
src/system/libroot/posix/musl/math/powl.c
362
Ga = reducl(G);
src/system/libroot/posix/musl/math/powl.c
363
Gb = G - Ga;
src/system/runtime_loader/arch/m68k/arch_relocate.cpp
151
write_32(P, (G + A - P));
src/system/runtime_loader/arch/m68k/arch_relocate.cpp
156
if (write_16_check(P, (G + A - P)))
src/system/runtime_loader/arch/m68k/arch_relocate.cpp
163
if (write_8_check(P, (G + A - P)))
src/system/runtime_loader/arch/m68k/arch_relocate.cpp
170
write_32(P, (G + A));
src/system/runtime_loader/arch/m68k/arch_relocate.cpp
175
if (write_16_check(P, (G + A)))
src/system/runtime_loader/arch/m68k/arch_relocate.cpp
182
if (write_8_check(P, (G + A)))
src/system/runtime_loader/arch/m68k/arch_relocate.cpp
225
final_val = G + A;
src/system/runtime_loader/arch/x86/arch_relocate.cpp
61
final_val = G + A;