/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | infcodes.c | 47 } sub; /* submode */ member 95 inflate_codes_statef *c = s->sub.decode.codes; /* codes state */ in inflate_codes() 117 c->sub.code.need = c->lbits; in inflate_codes() 118 c->sub.code.tree = c->ltree; in inflate_codes() 122 j = c->sub.code.need; in inflate_codes() 124 t = c->sub.code.tree + ((uInt)b & inflate_mask[j]); in inflate_codes() 129 c->sub.lit = t->base; in inflate_codes() 138 c->sub.copy.get = e & 15; in inflate_codes() 145 c->sub.code.need = e; in inflate_codes() 146 c->sub in inflate_codes() [all...] |
H A D | inflate.c | 43 } sub; /* submode */ member 162 if (((z->state->sub.method = NEXTBYTE) & 0xf) != Z_DEFLATED) in inflate() 166 z->state->sub.marker = 5; /* can't try inflateSync */ in inflate() 169 if ((z->state->sub.method >> 4) + 8 > z->state->wbits) in inflate() 173 z->state->sub.marker = 5; /* can't try inflateSync */ in inflate() 181 if (((z->state->sub.method << 8) + b) % 31) in inflate() 185 z->state->sub.marker = 5; /* can't try inflateSync */ in inflate() 198 z->state->sub.check.need = (uLong)NEXTBYTE << 24; in inflate() 203 z->state->sub.check.need += (uLong)NEXTBYTE << 16; in inflate() 208 z->state->sub in inflate() [all...] |
/third_party/typescript/tests/baselines/reference/tsbuild/javascriptProjectEmit/ |
H A D | modifies-outfile-js-projects-and-concatenates-them-correctly.js | 44 //// [/src/sub-project/index.js]
51 //// [/src/sub-project/tsconfig.json]
56 "outFile": "sub-project.js", 65 //// [/src/sub-project-2/index.js]
78 //// [/src/sub-project-2/tsconfig.json]
83 "outFile": "sub-project-2.js", 87 { "path": "../sub-project", "prepend": true } 110 { "path": "./sub-project", "prepend": true }, 111 { "path": "./sub-project-2", "prepend": true } 206 //// [/src/sub [all...] |
/third_party/skia/third_party/externals/freetype/src/smooth/ |
H A D | ftsmooth.c | 92 FT_Vector* sub = render->root.library->lcd_geometry; in ft_smooth_init() local 96 sub[0].x = -21; in ft_smooth_init() 97 sub[0].y = 0; in ft_smooth_init() 98 sub[1].x = 0; in ft_smooth_init() 99 sub[1].y = 0; in ft_smooth_init() 100 sub[2].x = 21; in ft_smooth_init() 101 sub[2].y = 0; in ft_smooth_init() 133 FT_Vector* sub = render->root.library->lcd_geometry; in ft_smooth_raster_lcd() local 161 -sub[0].x, in ft_smooth_raster_lcd() 162 -sub[ in ft_smooth_raster_lcd() 201 FT_Vector* sub = render->root.library->lcd_geometry; ft_smooth_raster_lcdv() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_pkg.py | 103 ("t2 sub", None), 104 ("t2 sub __init__.py", ""), 105 ("t2 sub subsub", None), 106 ("t2 sub subsub __init__.py", "spam = 1"), 110 import t2.sub namespace 111 import t2.sub.subsub namespace 113 self.assertEqual(t2.sub.__name__, "t2.sub") 114 self.assertEqual(t2.sub.subsub.__name__, "t2.sub 125 from t2 import sub global() namespace 134 import t2.sub global() namespace 135 import t2.sub.subsub global() namespace 157 import t3.sub.subsub global() namespace [all...] |
/third_party/rust/crates/memchr/src/memchr/x86/ |
H A D | sse2.rs | 118 return Some(sub(ptr, start_ptr)); in memchr() 130 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr() 131 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr() 146 let mut at = sub(ptr, start_ptr); in memchr() 171 while ptr <= end_ptr.sub(VECTOR_SIZE) { in memchr() 172 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr() 180 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr() 181 ptr = ptr.sub(VECTOR_SIZE - sub(end_ptr, ptr)); in memchr() 182 debug_assert_eq!(sub(end_pt in memchr() 788 fn sub(a: *const u8, b: *const u8) -> usize { sub() functions [all...] |
H A D | avx.rs | 41 let mut at = sub(ptr, start_ptr); in memchr() 82 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr() 83 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr() 103 while ptr <= end_ptr.sub(VECTOR_SIZE) { in memchr() 104 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr() 112 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr() 113 ptr = ptr.sub(VECTOR_SIZE - sub(end_ptr, ptr)); in memchr() 114 debug_assert_eq!(sub(end_ptr, ptr), VECTOR_SIZE); in memchr() 134 let mut at = sub(pt in memchr2() 752 fn sub(a: *const u8, b: *const u8) -> usize { sub() functions [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | subpicture.c | 11 * distribute, sub license, and/or sell copies of the Software, and to 69 vlVaSubpicture *sub; in vlVaCreateSubpicture() local 83 sub = CALLOC(1, sizeof(*sub)); in vlVaCreateSubpicture() 84 if (!sub) { in vlVaCreateSubpicture() 89 sub->image = img; in vlVaCreateSubpicture() 90 *subpicture = handle_table_add(VL_VA_DRIVER(ctx)->htab, sub); in vlVaCreateSubpicture() 100 vlVaSubpicture *sub; in vlVaDestroySubpicture() local 108 sub = handle_table_get(drv->htab, subpicture); in vlVaDestroySubpicture() 109 if (!sub) { in vlVaDestroySubpicture() 125 vlVaSubpicture *sub; vlVaSubpictureImage() local 177 vlVaSubpicture *sub; vlVaAssociateSubpicture() local 253 vlVaSubpicture *sub, **array; vlVaDeassociateSubpicture() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | aqtitledec.c | 56 AVPacket *sub = NULL; in aqt_read_header() local 76 if (sub) { in aqt_read_header() 77 if (frame >= sub->pts && (uint64_t)frame - sub->pts < INT64_MAX) in aqt_read_header() 78 sub->duration = frame - sub->pts; in aqt_read_header() 79 sub = NULL; in aqt_read_header() 83 sub = ff_subtitles_queue_insert(&aqt->q, "\n", 1, 1); in aqt_read_header() 84 if (!sub) in aqt_read_header() 87 sub in aqt_read_header() [all...] |
H A D | sccdec.c | 66 AVPacket *sub = NULL; in scc_read_header() local 96 if (sub) in scc_read_header() 97 sub->duration = ts - sub->pts; in scc_read_header() 120 sub = ff_subtitles_queue_insert(&scc->q, out, i, 0); in scc_read_header() 121 if (!sub) in scc_read_header() 124 sub->pos = pos; in scc_read_header() 126 sub->pts = ts; in scc_read_header() 127 sub->duration = i * 11; in scc_read_header() 128 ts += sub in scc_read_header() [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | string_memmem.c | 7 #define N(s, tail, sub) { \ 9 char *q = memmem(p, strlen(s), sub, strlen(sub)); \ 11 t_error("memmem("#s" "#tail", %d, "#sub", %d) returned str+%d, wanted 0\n",\ 12 strlen(s), strlen(sub), q-p); \ 15 #define T(s, sub, n) { \ 17 char *q = memmem(p, strlen(p), sub, strlen(sub)); \ 19 t_error("memmem(%s,%s) returned 0, wanted str+%d\n", #s, #sub, n); \ 21 t_error("memmem(%s,%s) returned str+%d, wanted str+%d\n", #s, #sub, [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | assdec.c | 43 static int ass_decode_frame(AVCodecContext *avctx, AVSubtitle *sub, in ass_decode_frame() argument 49 sub->rects = av_malloc(sizeof(*sub->rects)); in ass_decode_frame() 50 if (!sub->rects) in ass_decode_frame() 52 sub->rects[0] = av_mallocz(sizeof(*sub->rects[0])); in ass_decode_frame() 53 if (!sub->rects[0]) in ass_decode_frame() 55 sub->num_rects = 1; in ass_decode_frame() 56 sub->rects[0]->type = SUBTITLE_ASS; in ass_decode_frame() 57 sub in ass_decode_frame() [all...] |
H A D | ass.c | 117 int ff_ass_add_rect2(AVSubtitle *sub, const char *dialog, in ff_ass_add_rect2() argument 121 AVSubtitleRect **rects = sub->rects, *rect; in ff_ass_add_rect2() 125 if (sub->num_rects >= UINT_MAX) in ff_ass_add_rect2() 128 if (nb_rect_allocated && *nb_rect_allocated <= sub->num_rects) { in ff_ass_add_rect2() 129 if (sub->num_rects < UINT_MAX / 17 * 16) { in ff_ass_add_rect2() 130 new_nb = sub->num_rects + sub->num_rects/16 + 1; in ff_ass_add_rect2() 134 new_nb = sub->num_rects + 1; in ff_ass_add_rect2() 137 rects = av_realloc_array(rects, new_nb, sizeof(*sub->rects)); in ff_ass_add_rect2() 142 sub in ff_ass_add_rect2() 157 ff_ass_add_rect(AVSubtitle *sub, const char *dialog, int readorder, int layer, const char *style, const char *speaker) ff_ass_add_rect() argument [all...] |
H A D | flacenc.c | 464 FlacSubframe *sub = &frame->subframes[ch]; in init_frame() local 466 sub->wasted = 0; in init_frame() 467 sub->obits = s->avctx->bits_per_raw_sample; in init_frame() 469 if (sub->obits > 16) in init_frame() 470 sub->rc.coding_mode = CODING_MODE_RICE2; in init_frame() 472 sub->rc.coding_mode = CODING_MODE_RICE; in init_frame() 518 static uint64_t subframe_count_exact(FlacEncodeContext *s, FlacSubframe *sub, in subframe_count_exact() argument 528 if (sub->wasted) in subframe_count_exact() 529 count += sub->wasted; in subframe_count_exact() 532 if (sub in subframe_count_exact() 721 find_subframe_rice_params(FlacEncodeContext *s, FlacSubframe *sub, int pred_order) find_subframe_rice_params() argument 794 FlacSubframe *sub; encode_residual_ch() local 1049 FlacSubframe *sub = &s->frame.subframes[ch]; remove_wasted_bits() local 1214 FlacSubframe *sub = &s->frame.subframes[ch]; write_subframes() local [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | TrieTest.java | 36 foo.with("two", sub -> sub.putPrefixAndValue(3)); in testHierarchyAndOrdering() 37 foo.with("one", sub -> sub.putPrefixAndValue(2)); in testHierarchyAndOrdering() 38 foo.with("*", sub -> sub.putPrefixAndValue(1)); in testHierarchyAndOrdering() 61 foo.with("$", sub -> sub.putPrefixAndValue(5)); in testStarOrdering() 63 foo.with("$$", sub -> sub in testStarOrdering() [all...] |
/third_party/curl/lib/ |
H A D | ftplistparser.c | 158 pl_unix_substate sub; member 163 pl_winNT_substate sub; member 421 switch(parser->state.UNIX.sub.total_dirsize) { in Curl_ftp_parselist() 424 parser->state.UNIX.sub.total_dirsize = PL_UNIX_TOTALSIZE_READING; in Curl_ftp_parselist() 525 parser->state.UNIX.sub.hlinks = PL_UNIX_HLINKS_PRESPACE; in Curl_ftp_parselist() 529 switch(parser->state.UNIX.sub.hlinks) { in Curl_ftp_parselist() 535 parser->state.UNIX.sub.hlinks = PL_UNIX_HLINKS_NUMBER; in Curl_ftp_parselist() 557 parser->state.UNIX.sub.user = PL_UNIX_USER_PRESPACE; in Curl_ftp_parselist() 567 switch(parser->state.UNIX.sub.user) { in Curl_ftp_parselist() 572 parser->state.UNIX.sub in Curl_ftp_parselist() [all...] |
/third_party/protobuf/ |
H A D | update_version.py | 94 lambda line : re.sub( 105 line = re.sub( 109 line = re.sub( 114 line = re.sub( 118 line = re.sub( 122 line = re.sub( 126 line = re.sub( 133 line = re.sub( 138 line = re.sub( 142 line = re.sub( [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftlcdfil.c | 360 FT_Vector sub[3] ) in FT_EXPORT_DEF() 363 FT_UNUSED( sub ); in FT_EXPORT_DEF() 376 FT_Vector* sub = slot->library->lcd_geometry; in ft_lcd_padding() local 380 cbox->xMin -= FT_MAX( FT_MAX( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding() 381 cbox->xMax -= FT_MIN( FT_MIN( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding() 382 cbox->yMin -= FT_MAX( FT_MAX( sub[ in ft_lcd_padding() [all...] |
/kernel/linux/linux-5.10/sound/usb/caiaq/ |
H A D | audio.c | 52 struct snd_pcm_substream *sub) in activate_substream() 56 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in activate_substream() 57 cdev->sub_playback[sub->number] = sub; in activate_substream() 59 cdev->sub_capture[sub->number] = sub; in activate_substream() 66 struct snd_pcm_substream *sub) in deactivate_substream() 71 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in deactivate_substream() 72 cdev->sub_playback[sub->number] = NULL; in deactivate_substream() 74 cdev->sub_capture[sub in deactivate_substream() 51 activate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) activate_substream() argument 65 deactivate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) deactivate_substream() argument 170 snd_usb_caiaq_pcm_hw_free(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_hw_free() argument 271 snd_usb_caiaq_pcm_trigger(struct snd_pcm_substream *sub, int cmd) snd_usb_caiaq_pcm_trigger() argument 295 snd_usb_caiaq_pcm_pointer(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_pointer() argument 334 struct snd_pcm_substream *sub; check_for_elapsed_periods() local 358 struct snd_pcm_substream *sub; read_in_urb_mode0() local 387 struct snd_pcm_substream *sub; read_in_urb_mode2() local 442 struct snd_pcm_substream *sub = cdev->sub_capture[stream]; read_in_urb_mode3() local 521 struct snd_pcm_substream *sub; fill_out_urb_mode_0() local 559 struct snd_pcm_substream *sub = cdev->sub_playback[stream]; fill_out_urb_mode_3() local [all...] |
/kernel/linux/linux-6.6/sound/usb/caiaq/ |
H A D | audio.c | 52 struct snd_pcm_substream *sub) in activate_substream() 56 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in activate_substream() 57 cdev->sub_playback[sub->number] = sub; in activate_substream() 59 cdev->sub_capture[sub->number] = sub; in activate_substream() 66 struct snd_pcm_substream *sub) in deactivate_substream() 71 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in deactivate_substream() 72 cdev->sub_playback[sub->number] = NULL; in deactivate_substream() 74 cdev->sub_capture[sub in deactivate_substream() 51 activate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) activate_substream() argument 65 deactivate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) deactivate_substream() argument 170 snd_usb_caiaq_pcm_hw_free(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_hw_free() argument 271 snd_usb_caiaq_pcm_trigger(struct snd_pcm_substream *sub, int cmd) snd_usb_caiaq_pcm_trigger() argument 295 snd_usb_caiaq_pcm_pointer(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_pointer() argument 334 struct snd_pcm_substream *sub; check_for_elapsed_periods() local 358 struct snd_pcm_substream *sub; read_in_urb_mode0() local 387 struct snd_pcm_substream *sub; read_in_urb_mode2() local 442 struct snd_pcm_substream *sub = cdev->sub_capture[stream]; read_in_urb_mode3() local 521 struct snd_pcm_substream *sub; fill_out_urb_mode_0() local 559 struct snd_pcm_substream *sub = cdev->sub_playback[stream]; fill_out_urb_mode_3() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
H A D | vmci_event.c | 134 struct vmci_subscription *sub; in vmci_event_subscribe() local 150 sub = kzalloc(sizeof(*sub), GFP_KERNEL); in vmci_event_subscribe() 151 if (!sub) in vmci_event_subscribe() 154 sub->id = VMCI_EVENT_MAX; in vmci_event_subscribe() 155 sub->event = event; in vmci_event_subscribe() 156 sub->callback = callback; in vmci_event_subscribe() 157 sub->callback_data = callback_data; in vmci_event_subscribe() 158 INIT_LIST_HEAD(&sub->node); in vmci_event_subscribe() 172 sub in vmci_event_subscribe() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ 54 static ssize_t sub## _ ##name## _read(struct file *file, \ 64 stats->sub.name); \ 67 static const struct file_operations sub## _ ##name## _ops = { \ 68 .read = sub## _ ##name## _read, \ 73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ 74 static ssize_t sub## _ ##name## _read(struct file *file, \ 88 "[%d] = %d\n", i, stats->sub.name[i]); \ 93 static const struct file_operations sub## _ ##name## _ops = { \ 94 .read = sub## [all...] |
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
H A D | vmci_event.c | 134 struct vmci_subscription *sub; in vmci_event_subscribe() local 150 sub = kzalloc(sizeof(*sub), GFP_KERNEL); in vmci_event_subscribe() 151 if (!sub) in vmci_event_subscribe() 154 sub->id = VMCI_EVENT_MAX; in vmci_event_subscribe() 155 sub->event = event; in vmci_event_subscribe() 156 sub->callback = callback; in vmci_event_subscribe() 157 sub->callback_data = callback_data; in vmci_event_subscribe() 158 INIT_LIST_HEAD(&sub->node); in vmci_event_subscribe() 172 sub in vmci_event_subscribe() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ 54 static ssize_t sub## _ ##name## _read(struct file *file, \ 64 stats->sub.name); \ 67 static const struct file_operations sub## _ ##name## _ops = { \ 68 .read = sub## _ ##name## _read, \ 73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ 74 static ssize_t sub## _ ##name## _read(struct file *file, \ 88 "[%d] = %d\n", i, stats->sub.name[i]); \ 93 static const struct file_operations sub## _ ##name## _ops = { \ 94 .read = sub## [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | ICUResourceBundleTest.java | 150 UResourceBundle sub; in TestOpen() 152 sub = obj.get(i); in TestOpen() 153 String temp =sub.getString(); in TestOpen() 167 UResourceBundle sub; in TestOpen() 169 sub = obj.get(i); in TestOpen() 170 String temp =sub.getString(); in TestOpen() 202 UResourceBundle sub = bundle.get("zerotest"); in TestBasicTypes() 203 if(!expected.equals(sub.getString())){ in TestBasicTypes() 206 sub = bundle.get("emptyexplicitstring"); in TestBasicTypes() 208 if(!expected.equals(sub in TestBasicTypes() [all...] |