Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 2053) sorted by relevance

12345678910>>...83

/external/bluetooth/bluez/audio/
Dsource.c59 struct source { struct
103 struct source *source = dev->source; in source_set_state() local
105 source_state_t old_state = source->state; in source_set_state()
108 source->state = new_state; in source_set_state()
128 struct source *source = dev->source; in avdtp_state_callback() local
130 if (source == NULL) in avdtp_state_callback()
135 if (source->state != SOURCE_STATE_CONNECTING && in avdtp_state_callback()
136 source->dc_id) { in avdtp_state_callback()
138 source->dc_id); in avdtp_state_callback()
139 source->dc_id = 0; in avdtp_state_callback()
[all …]
/external/icu4c/common/
Ducnvlat1.c33 const uint8_t *source; in _Latin1ToUnicodeWithOffsets() local
41 source=(const uint8_t *)pArgs->source; in _Latin1ToUnicodeWithOffsets()
52 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets()
68 target[0]=source[0]; in _Latin1ToUnicodeWithOffsets()
69 target[1]=source[1]; in _Latin1ToUnicodeWithOffsets()
70 target[2]=source[2]; in _Latin1ToUnicodeWithOffsets()
71 target[3]=source[3]; in _Latin1ToUnicodeWithOffsets()
72 target[4]=source[4]; in _Latin1ToUnicodeWithOffsets()
73 target[5]=source[5]; in _Latin1ToUnicodeWithOffsets()
74 target[6]=source[6]; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.c43 const UChar *source; in _UTF16BEFromUnicodeWithOffsets() local
51 source=pArgs->source; in _UTF16BEFromUnicodeWithOffsets()
52 length=(int32_t)(pArgs->sourceLimit-source); in _UTF16BEFromUnicodeWithOffsets()
83 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets()
85 ++source; in _UTF16BEFromUnicodeWithOffsets()
116 c=*source++; in _UTF16BEFromUnicodeWithOffsets()
121 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets()
122 ++source; in _UTF16BEFromUnicodeWithOffsets()
136 c=*source++; in _UTF16BEFromUnicodeWithOffsets()
143 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnv_u8.c91 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8()
212 args->source = (const char *) mySource; in ucnv_toUnicode_UTF8()
219 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
341 args->source = (const char *) mySource; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
349 const UChar *mySource = args->source; in ucnv_fromUnicode_UTF8()
456 args->source = mySource; in ucnv_fromUnicode_UTF8()
463 const UChar *mySource = args->source; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
594 args->source = mySource; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
602 const uint8_t *source; in ucnv_getNextUChar_UTF8() local
611 sourceInitial = source = (const uint8_t *)args->source; in ucnv_getNextUChar_UTF8()
[all …]
Ducnvmbcs.c890 const UChar **source, const UChar *sourceLimit, in _extFromU() argument
902 cp, source, sourceLimit, in _extFromU()
957 const uint8_t **source, const uint8_t *sourceLimit, in _extToU() argument
967 length, (const char **)source, (const char *)sourceLimit, in _extToU()
1785 const uint8_t *source, *sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets() local
1800 source=(const uint8_t *)pArgs->source; in ucnv_MBCSSingleToUnicodeWithOffsets()
1816 while(source<sourceLimit) { in ucnv_MBCSSingleToUnicodeWithOffsets()
1831 entry=stateTable[0][*source++]; in ucnv_MBCSSingleToUnicodeWithOffsets()
1904 pArgs->source=(const char *)source; in ucnv_MBCSSingleToUnicodeWithOffsets()
1905 cnv->toUBytes[0]=*(source-1); in ucnv_MBCSSingleToUnicodeWithOffsets()
[all …]
Ducnvbocu.c388 const UChar *source, *sourceLimit; in _Bocu1FromUnicodeWithOffsets() local
401 source=pArgs->source; in _Bocu1FromUnicodeWithOffsets()
426 diff=(int32_t)(sourceLimit-source); in _Bocu1FromUnicodeWithOffsets()
430 while(targetCapacity>0 && (c=*source)<0x3000) { in _Bocu1FromUnicodeWithOffsets()
437 ++source; in _Bocu1FromUnicodeWithOffsets()
445 ++source; in _Bocu1FromUnicodeWithOffsets()
457 while(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
459 c=*source++; in _Bocu1FromUnicodeWithOffsets()
481 if(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
483 UChar trail=*source; in _Bocu1FromUnicodeWithOffsets()
[all …]
/external/jpeg/
Drdrle.c83 rle_source_ptr source = (rle_source_ptr) sinfo; in start_input_rle() local
90 source->header = *rle_hdr_init(NULL); in start_input_rle()
91 source->header.rle_file = source->pub.input_file; in start_input_rle()
92 switch (rle_get_setup(&(source->header))) { in start_input_rle()
115 width = source->header.xmax - source->header.xmin + 1; in start_input_rle()
116 height = source->header.ymax - source->header.ymin + 1; in start_input_rle()
117 source->header.xmin = 0; /* realign horizontally */ in start_input_rle()
118 source->header.xmax = width-1; in start_input_rle()
124 if (source->header.ncolors == 1 && source->header.ncmap == 0) { in start_input_rle()
125 source->visual = GRAYSCALE; in start_input_rle()
[all …]
Drdppm.c144 ppm_source_ptr source = (ppm_source_ptr) sinfo; in get_text_gray_row() local
145 FILE * infile = source->pub.input_file; in get_text_gray_row()
147 register JSAMPLE *rescale = source->rescale; in get_text_gray_row()
150 ptr = source->pub.buffer[0]; in get_text_gray_row()
162 ppm_source_ptr source = (ppm_source_ptr) sinfo; in get_text_rgb_row() local
163 FILE * infile = source->pub.input_file; in get_text_rgb_row()
165 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row()
168 ptr = source->pub.buffer[0]; in get_text_rgb_row()
182 ppm_source_ptr source = (ppm_source_ptr) sinfo; in get_scaled_gray_row() local
185 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row()
[all …]
Drdtarga.c177 tga_source_ptr source = (tga_source_ptr) sinfo; in get_8bit_gray_row() local
181 ptr = source->pub.buffer[0]; in get_8bit_gray_row()
183 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */ in get_8bit_gray_row()
184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row()
193 tga_source_ptr source = (tga_source_ptr) sinfo; in get_8bit_row() local
197 register JSAMPARRAY colormap = source->colormap; in get_8bit_row()
199 ptr = source->pub.buffer[0]; in get_8bit_row()
201 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */ in get_8bit_row()
202 t = UCH(source->tga_pixel[0]); in get_8bit_row()
214 tga_source_ptr source = (tga_source_ptr) sinfo; in get_16bit_row() local
[all …]
Drdbmp.c122 bmp_source_ptr source = (bmp_source_ptr) sinfo; in get_8bit_row() local
123 register JSAMPARRAY colormap = source->colormap; in get_8bit_row()
130 source->source_row--; in get_8bit_row()
132 ((j_common_ptr) cinfo, source->whole_image, in get_8bit_row()
133 source->source_row, (JDIMENSION) 1, FALSE); in get_8bit_row()
137 outptr = source->pub.buffer[0]; in get_8bit_row()
153 bmp_source_ptr source = (bmp_source_ptr) sinfo; in get_24bit_row() local
159 source->source_row--; in get_24bit_row()
161 ((j_common_ptr) cinfo, source->whole_image, in get_24bit_row()
162 source->source_row, (JDIMENSION) 1, FALSE); in get_24bit_row()
[all …]
/external/bluetooth/glib/glib/
Dgmain.c181 GSource source; member
189 GSource source; member
217 #define SOURCE_DESTROYED(source) (((source)->flags & G_HOOK_FLAG_ACTIVE) == 0) argument
218 #define SOURCE_BLOCKED(source) (((source)->flags & G_HOOK_FLAG_IN_CALL) != 0 && \ argument
219 ((source)->flags & G_SOURCE_CAN_RECURSE) == 0)
221 #define SOURCE_UNREF(source, context) \ argument
223 if ((source)->ref_count > 1) \
224 (source)->ref_count--; \
226 g_source_unref_internal ((source), (context), TRUE); \
232 static void g_source_unref_internal (GSource *source,
[all …]
/external/bluetooth/glib/gio/xdgmime/
Dxdgmimeint.c61 _xdg_utf8_to_ucs4(const char *source) in _xdg_utf8_to_ucs4() argument
64 if( ! ( *source & 0x80 ) ) in _xdg_utf8_to_ucs4()
66 ucs32 = *source; in _xdg_utf8_to_ucs4()
72 if ( ! (*source & 0x40) ) in _xdg_utf8_to_ucs4()
74 ucs32 = *source; in _xdg_utf8_to_ucs4()
78 if ( ! (*source & 0x20) ) in _xdg_utf8_to_ucs4()
80 result = *source++ & 0x1F; in _xdg_utf8_to_ucs4()
83 else if ( ! (*source & 0x10) ) in _xdg_utf8_to_ucs4()
85 result = *source++ & 0x0F; in _xdg_utf8_to_ucs4()
88 else if ( ! (*source & 0x08) ) in _xdg_utf8_to_ucs4()
[all …]
/external/webkit/JavaScriptCore/wtf/unicode/
DUTF8.cpp127 const UChar* source = *sourceStart; in convertUTF16ToUTF8() local
129 while (source < sourceEnd) { in convertUTF16ToUTF8()
134 const UChar* oldSource = source; // In case we have to back up because of target overflow. in convertUTF16ToUTF8()
135 ch = static_cast<unsigned short>(*source++); in convertUTF16ToUTF8()
139 if (source < sourceEnd) { in convertUTF16ToUTF8()
140 UChar32 ch2 = static_cast<unsigned short>(*source); in convertUTF16ToUTF8()
144 ++source; in convertUTF16ToUTF8()
146 --source; // return to the illegal value itself in convertUTF16ToUTF8()
151 --source; // return to the high surrogate in convertUTF16ToUTF8()
158 --source; // return to the illegal value itself in convertUTF16ToUTF8()
[all …]
/external/webkit/V8Binding/v8/test/mjsunit/
Dconst-eval-init.js34 var source =
41 eval(source);
48 var source =
55 eval(source);
63 var source = "delete x; const x = 7; assertEquals(7, x)";
64 eval(source);
77 var source = "delete x; const x = 8";
78 eval(source);
84 var source = "const x = 9; assertEquals(9, x); x = 10; assertEquals(9, x)";
85 eval(source);
[all …]
/external/tesseract/ccstruct/
Dpageres.cpp134 const WERD_RES & source //from this in operator =() argument
136 this->ELIST_LINK::operator= (source); in operator =()
137 if (source.combination) { in operator =()
139 *word = *(source.word); //deep copy in operator =()
142 word = source.word; //pt to same word in operator =()
144 if (source.outword != NULL) { in operator =()
146 *outword = *(source.outword);//deep copy in operator =()
151 denorm = source.denorm; in operator =()
152 if (source.best_choice != NULL) { in operator =()
154 *best_choice = *(source.best_choice); in operator =()
[all …]
/external/bluetooth/glib/gio/
Dgasynchelper.c59 GSource *source; in _g_queue_async_result() local
67 source = g_idle_source_new (); in _g_queue_async_result()
68 g_source_set_priority (source, G_PRIORITY_DEFAULT); in _g_queue_async_result()
69 g_source_set_callback (source, source_func, result, async_result_free); in _g_queue_async_result()
70 g_source_attach (source, NULL); in _g_queue_async_result()
71 g_source_unref (source); in _g_queue_async_result()
80 GSource source; member
87 fd_source_prepare (GSource *source, in fd_source_prepare() argument
90 FDSource *fd_source = (FDSource *)source; in fd_source_prepare()
97 fd_source_check (GSource *source) in fd_source_check() argument
[all …]
/external/icu4c/tools/cpysearch/
Dcpyskip.txt55 icu/source/config.guess
56 icu/source/config.sub
57 icu/source/configure
58 icu/source/data/brkitr/thaidict.brk
59 icu/source/data/misc/NamePrepProfile.txt
60 icu/source/data/unidata/UnicodeData.txt
61 icu/source/data/unidata/FractionalUCA.txt
62 icu/source/data/unidata/UCARules.txt
63 icu/source/extra/uconv/pkgdatain.txt
64 icu/source/extra/uconv/samples/danish-ISO-8859-1.txt
[all …]
/external/libpng/scripts/
Dlibpng.icc20 source type(c) "png.c"
21 source type(c) "pngerror.c"
22 source type(c) "pngget.c"
23 source type(c) "pngmem.c"
24 source type(c) "pngpread.c"
25 source type(c) "pngread.c"
26 source type(c) "pngrio.c"
27 source type(c) "pngrtran.c"
28 source type(c) "pngrutil.c"
29 source type(c) "pngset.c"
[all …]
/external/tesseract/image/
Dimgs.cpp90 IMAGE & source //source image in operator =() argument
93 bpp = source.bpp; in operator =()
94 photo_interp = source.photo_interp; in operator =()
95 bps = source.bps; in operator =()
97 lineskip = source.lineskip; //copy everything in operator =()
98 captured = source.captured; in operator =()
99 xsize = source.xsize; in operator =()
100 ysize = source.ysize; in operator =()
101 res = source.res; in operator =()
102 image = source.image; in operator =()
[all …]
/external/webkit/V8Binding/v8/src/
Dcompilation-cache.cc98 Handle<JSFunction> Lookup(Handle<String> source,
102 void Put(Handle<String> source, Handle<JSFunction> boilerplate);
120 Handle<JSFunction> Lookup(Handle<String> source, Handle<Context> context);
122 void Put(Handle<String> source,
136 Handle<FixedArray> Lookup(Handle<String> source, JSRegExp::Flags flags);
138 void Put(Handle<String> source,
234 Handle<JSFunction> CompilationCacheScript::Lookup(Handle<String> source, in Lookup() argument
246 Handle<Object> probe(table->Lookup(*source)); in Lookup()
278 if (generation != 0) Put(source, boilerplate); in Lookup()
288 void CompilationCacheScript::Put(Handle<String> source, in Put() argument
[all …]
/external/freetype/src/base/
Dftdbgmem.c96 FT_MemSource source; member
373 FT_FILENAME( node->source->file_name ), in ft_mem_table_destroy()
374 node->source->line_no ); in ft_mem_table_destroy()
400 FT_MemSource source, next; in ft_mem_table_destroy() local
403 for ( source = table->sources[i]; source != NULL; source = next ) in ft_mem_table_destroy()
405 next = source->link; in ft_mem_table_destroy()
406 ft_mem_table_free( table, source ); in ft_mem_table_destroy()
519 FT_MemSource source; in ft_mem_table_set() local
543 FT_FILENAME( node->source->file_name ), node->source->line_no, in ft_mem_table_set()
555 node->source = source = ft_mem_table_get_source( table ); in ft_mem_table_set()
[all …]
Dftbitmap.c42 const FT_Bitmap *source, in FT_Bitmap_Copy() argument
47 FT_Int pitch = source->pitch; in FT_Bitmap_Copy()
51 if ( source == target ) in FT_Bitmap_Copy()
54 if ( source->buffer == NULL ) in FT_Bitmap_Copy()
56 *target = *source; in FT_Bitmap_Copy()
63 size = (FT_ULong)( pitch * source->rows ); in FT_Bitmap_Copy()
87 *target = *source; in FT_Bitmap_Copy()
90 FT_MEM_COPY( target->buffer, source->buffer, size ); in FT_Bitmap_Copy()
372 const FT_Bitmap *source, in FT_Bitmap_Convert() argument
385 switch ( source->pixel_mode ) in FT_Bitmap_Convert()
[all …]
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/se/src/
Dblc.cpp145 S_Source source ; in _0303_0010() local
152 source.index = 0 ; /* user */ in _0303_0010()
155 MsgCloseSend((uint16) forwardLcn, &source) ; in _0303_0010()
178 S_Source source ; in _0303_0020() local
181 source.index = 0 ; /* user */ in _0303_0020()
186 MsgCloseSend((uint16) forwardLcn, &source) ; in _0303_0020()
293 S_Source source ; in _0306_0010() local
300 source.index = 0 ; /* user */ in _0306_0010()
303 …PtvRlsIdcSend(forwardLcn, &source , &p_OpenLogicalChannelReject->olcRejectCause, S_InfHeader::OUTG… in _0306_0010()
326 S_Source source ; in _0306_0020() local
[all …]
Dlc.cpp144 S_Source source ; in _0203_0010() local
157 source.index = 0; in _0203_0010()
160 MsgCloseSend((uint16) forwardLcn, &source) ; in _0203_0010()
183 S_Source source ; in _0203_0020() local
191 source.index = 0; in _0203_0020()
196 MsgCloseSend((uint16) forwardLcn, &source) ; in _0203_0020()
294 S_Source source ; in _0206_0010() local
300 source.index = 0; /* user */ in _0206_0010()
303 …PtvRlsIdcSend(forwardLcn, &source , &p_OpenLogicalChannelReject->olcRejectCause, S_InfHeader::OUTG… in _0206_0010()
326 S_Source source ; in _0206_0020() local
[all …]
/external/bluetooth/glib/gobject/
Dgsourceclosure.c136 GSource *source, in closure_callback_get() argument
140 GSourceFunc closure_callback = source->source_funcs->closure_callback; in closure_callback_get()
144 if (source->source_funcs == &g_io_watch_funcs) in closure_callback_get()
146 else if (source->source_funcs == &g_timeout_funcs || in closure_callback_get()
147 source->source_funcs == &g_idle_funcs) in closure_callback_get()
173 g_source_set_closure (GSource *source, in g_source_set_closure() argument
176 g_return_if_fail (source != NULL); in g_source_set_closure()
179 if (!source->source_funcs->closure_callback && in g_source_set_closure()
180 source->source_funcs != &g_io_watch_funcs && in g_source_set_closure()
181 source->source_funcs != &g_timeout_funcs && in g_source_set_closure()
[all …]

12345678910>>...83