Searched refs:ptr (Results 201 - 225 of 3627) sorted by last modified time

1234567891011>>

/external/speex/libspeex/
H A Dpreprocess.c1048 EXPORT int speex_preprocess_ctl(SpeexPreprocessState *state, int request, void *ptr) argument
1056 st->denoise_enabled = (*(spx_int32_t*)ptr);
1059 (*(spx_int32_t*)ptr) = st->denoise_enabled;
1063 st->agc_enabled = (*(spx_int32_t*)ptr);
1066 (*(spx_int32_t*)ptr) = st->agc_enabled;
1070 st->agc_level = (*(float*)ptr);
1077 (*(float*)ptr) = st->agc_level;
1081 st->max_increase_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate);
1084 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_increase_step)*st->sampling_rate/st->frame_size);
1087 st->max_decrease_step = exp(0.11513f * (*(spx_int32_t*)ptr)*s
[all...]
H A Dquant_lsp.c105 const signed char *ptr=cdbk; local
111 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5));
137 const signed char *ptr=cdbk; local
143 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5));
H A Dresample.c67 static void *speex_realloc (void *ptr, int size) {return realloc(ptr, size);} argument
68 static void speex_free (void *ptr) {free(ptr);} argument
812 /* Call the right resampler through the function ptr */
H A Dsb_celp.c94 int sb_encoder_ctl(void *state, int request, void *ptr) argument
99 int sb_decoder_ctl(void *state, int request, void *ptr) argument
1101 int sb_encoder_ctl(void *state, int request, void *ptr) argument
1108 (*(spx_int32_t*)ptr) = st->full_frame_size;
1111 st->submodeSelect = st->submodeID = (*(spx_int32_t*)ptr);
1114 speex_encoder_ctl(st->st_low, SPEEX_SET_LOW_MODE, ptr);
1117 speex_encoder_ctl(st->st_low, SPEEX_SET_DTX, ptr);
1120 speex_encoder_ctl(st->st_low, SPEEX_GET_DTX, ptr);
1123 speex_encoder_ctl(st->st_low, SPEEX_GET_LOW_MODE, ptr);
1126 speex_encoder_ctl(st, SPEEX_SET_QUALITY, ptr);
1360 sb_decoder_ctl(void *state, int request, void *ptr) argument
[all...]
H A Dsb_celp.h151 int sb_encoder_ctl(void *state, int request, void *ptr);
153 int sb_decoder_ctl(void *state, int request, void *ptr);
H A Dspeex.c180 EXPORT int speex_encoder_ctl(void *state, int request, void *ptr) argument
182 return (*((SpeexMode**)state))->enc_ctl(state, request, ptr);
185 EXPORT int speex_decoder_ctl(void *state, int request, void *ptr) argument
187 return (*((SpeexMode**)state))->dec_ctl(state, request, ptr);
192 int nb_mode_query(const void *mode, int request, void *ptr) argument
199 *((int*)ptr)=m->frameSize;
202 if (*((int*)ptr)==0)
203 *((int*)ptr) = NB_SUBMODE_BITS+1;
204 else if (m->submodes[*((int*)ptr)]==NULL)
205 *((int*)ptr)
218 speex_lib_ctl(int request, void *ptr) argument
[all...]
H A Dspeex_header.c197 EXPORT void speex_header_free(void *ptr) argument
199 speex_free(ptr);
/external/sqlite/dist/orig/
H A Dsqlite3.c57215 u8 *ptr; /* Used to move bytes around within data[] */ local
123385 sqliteDefaultBusyCallback( void *ptr, int count ) argument
[all...]
/external/sqlite/dist/
H A Dsqlite3.c57235 u8 *ptr; /* Used to move bytes around within data[] */ local
123405 sqliteDefaultBusyCallback( void *ptr, int count ) argument
[all...]
/external/srec/portable/include/
H A Dpmalloc.h104 void(PortFree)(void *ptr);
H A Dpmemory.h127 #define REALLOC(ptr, newSize) (prealloc(ptr, newSize, L(__FILE__), __LINE__))
132 #define REALLOC(ptr, newSize) (prealloc(ptr, newSize))
149 #define FREE(ptr) pfree(ptr, L(__FILE__), __LINE__)
154 #define FREE(ptr) pfree(ptr)
206 * @param ptr A pointer previously allocated by pmalloc, pcalloc or prealloc.
218 PORTABLE_API void *prealloc(void* ptr, size_
[all...]
/external/srec/portable/src/
H A Dpmalloc.c439 void(PortFree)(void *ptr) argument
455 if (ptr == 0)
457 q = (_Cell *)((char *)ptr - CELL_OFF);
H A Dpmemfixed.c187 void myFree(void* ptr);
H A Dpmemory.c386 ESR_ReturnCode PMemLogFree(void* ptr) argument
396 if (ptr == NULL || gNbInit == 0)
401 data = (MemoryData*)(((unsigned char*) ptr) - sizeof(MemoryData));
442 pfprintf(gFile, L("pmem|free|%s|%s|%d|0x%x|%s|\n"), e->tag, data->stackTrace, data->size, ptr, stackTrace);
444 pfprintf(gFile, L("pmem|free|%s|%d|0x%x\n"), e->tag, data->size, ptr);
723 The realloc() function changes the size of the memory object pointed to by ptr to the size specified by size. The contents of the object will remain unchanged up to the lesser of the new and old sizes. If the new size of the memory object would require movement of the object, the space for the previous instantiation of the object is freed. If the new size is larger, the contents of the newly allocated portion of the object are unspecified. If size is 0 and ptr is not a null pointer, the object pointed to is freed. If the space cannot be allocated, the object remains unchanged.
724 If ptr is a null pointer, realloc() behaves like malloc() for the specified size.
726 If ptr does not match a pointer returned earlier by calloc(), malloc() or realloc() or if the space has previously been deallocated by a call to free() or realloc(), the behaviour is undefined.
734 void *prealloc(void *ptr, size_ argument
886 pfree(void* ptr, const LCHAR* file, int line) argument
[all...]
H A Dpmemory_ext.c43 void operator delete(void* ptr) argument
45 PortDelete(ptr);
91 #define GUARD_PTR_FIELD(ptr,off) (unsigned int *)((char *)(ptr) + (off))
92 #define GUARD_ALLOC_PTR(ptr) (void*) ((char *)(ptr) - GUARD_OFF_PTR)
114 #define ADD_TO_ALLOC_LIST(ptr) AddToAllocList(ptr)
115 #define REMOVE_FROM_ALLOC_LIST(ptr) RemoveFromAllocList(ptr)
[all...]
/external/srec/srec/EventLog/src/
H A Driff.c952 unsigned char *ptr, *workbuf; local
1016 ptr = workbuf;
1039 memcpy(ptr, &header, headerSize);
1041 memcpy(ptr + headerSize, waveform, header.dataLength);
1043 short_byte_swap((short *)(ptr + headerSize), num_samples);
1057 memcpy(ptr, &header, headerSize);
1058 memcpy(ptr + headerSize, waveform, header.dataLength);
1060 ptr += headerSize + header.dataLength;
1067 memcpy(ptr, &ck, chunkInfoSize); /* copy LIST */
1068 ptr
[all...]
/external/srec/srec/Semproc/src/
H A DSemanticGraphImpl.c35 #define PTR_TO_IDX(ptr, base) ((asr_uint32_t) (ptr == NULL ? 0xFFFFFFFFu : \
36 (asr_uint32_t)(ptr - base)))
H A DSymbolTable.c27 ESR_ReturnCode ST_Init(SymbolTable **ptr) argument
31 if (ptr == NULL)
36 *ptr = NEW(SymbolTable, MTAG);
38 if (*ptr == NULL)
43 CHKLOG(rc, HashMapCreate(&(*ptr)->hashmap));
45 (*ptr)->num_special_symbols = 0;
48 return ST_reset(*ptr);
196 ESR_ReturnCode ST_getSymbolSlot(SymbolTable* ptr, Symbol** slot) argument
200 if (ptr == NULL || slot == NULL)
206 *slot = ptr
213 ST_reset(SymbolTable *ptr) argument
235 ST_reset_all(SymbolTable *ptr) argument
[all...]
/external/srec/srec/clib/
H A Dsrec_arb.c200 int i, ptr; local
209 pfread(&ptr, sizeof(asr_int16_t), 1, fp);
212 pfread(&ptr, sizeof(asr_int16_t), 1, fp);
238 int i, offset, num_atoms, num_hmms = allotree->num_hmms, ptr; local
247 pfread(&ptr, sizeof(asr_int16_t), 1, fp);
287 int ptr; local
316 pfread(&ptr, sizeof(asr_int16_t), 1, fp); /* alignment problem */
/external/srec/srec/crec/
H A Dsrec_context.c91 #define PTR_TO_IDX(ptr, base) ((asr_uint32_t) (ptr == NULL ? 0xFFFFFFFFu : (asr_uint32_t)(ptr - base)))
733 PLogError("error: word ptr overflow in wmap %d max %d\n", (int)wmap->num_words, wmap->max_words);
747 PLogError("error: word ptr overflow in wmap %d max %d\n", (int)wmap->num_words, wmap->max_words);
833 PLogError("error: word ptr overflow in wmap %d max %d\n", (int)wmap->num_words, wmap->max_words);
848 PLogError("error: word ptr overflow in wmap %d max %d\n", (int)wmap->num_words, wmap->max_words);
/external/srec/srec/include/
H A Dsizes.h36 FOUR_BYTE_PTR(char*, ptr, dummy) tmp;
/external/srtp/crypto/include/
H A Dalloc.h55 crypto_free(void *ptr);
/external/srtp/crypto/kernel/
H A Dalloc.c70 void *ptr; local
72 ptr = kmalloc(size, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
74 if (ptr) {
75 debug_print(mod_alloc, "(location: %p) allocated", ptr);
79 return ptr;
83 crypto_free(void *ptr) { argument
85 debug_print(mod_alloc, "(location: %p) freed", ptr);
87 kfree(ptr);
95 void *ptr; local
97 ptr
108 crypto_free(void *ptr) argument
[all...]
/external/skia/samplecode/
H A DSampleFilterFuzz.cpp395 const unsigned char* ptr = static_cast<const unsigned char*>(data->data()); local
398 unsigned char* p = const_cast<unsigned char*>(ptr);
419 SkFlattenable* flattenable = SkValidatingDeserializeFlattenable(ptr, len,
H A DSampleOvalTest.cpp63 SkPMColor* ptr = fBitmap.getAddr32(x, y); local
65 if (dist <= rad && !*ptr) {
67 *ptr = fInsideColor;
68 } else if (dist > rad && *ptr) {
70 *ptr = fOutsideColor;

Completed in 2054 milliseconds

1234567891011>>