HomeSort by relevance Sort by last modified time
    Searched full:sizeof (Results 1426 - 1450 of 8781) sorted by null

<<51525354555657585960>>

  /external/wpa_supplicant_6/wpa_supplicant/src/wps/
wps_upnp_ssdp.c 141 uuid_bin2str(a->sm->wps->uuid, uuid_string, sizeof(uuid_string));
250 os_memset(&dest, 0, sizeof(dest));
260 0, (struct sockaddr *) &dest, sizeof(dest)) < 0) {
299 os_memset(&dest, 0, sizeof(dest));
305 (struct sockaddr *) &dest, sizeof(dest)) == -1) {
323 os_get_random((void *) &r, sizeof(r));
435 (struct sockaddr *) &a->client, sizeof(a->client)) < 0) {
489 a = os_zalloc(sizeof(*a));
495 os_memcpy(&a->client, client, sizeof(*client));
613 sizeof(uuid_string))
    [all...]
  /frameworks/base/media/libstagefright/codecs/avc/enc/src/
avcenc_api.cpp 73 avcHandle->AVCObject = (void*)avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncObject), DEFAULT_ATTR);
80 memset(encvid, 0, sizeof(AVCEncObject)); /* reset everything */
86 encvid->common = (AVCCommonObj*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCCommonObj), DEFAULT_ATTR);
93 memset(video, 0, sizeof(AVCCommonObj));
96 encvid->bitstream = (AVCEncBitstream*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncBitstream), DEFAULT_ATTR);
104 video->currSeqParams = (AVCSeqParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSeqParamSet), DEFAULT_ATTR);
109 memset(video->currSeqParams, 0, sizeof(AVCSeqParamSet));
112 video->currPicParams = (AVCPicParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCPicParamSet), DEFAULT_ATTR);
117 memset(video->currPicParams, 0, sizeof(AVCPicParamSet));
120 video->sliceHdr = (AVCSliceHeader*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSliceHeader), DEFAULT_ATTR)
    [all...]
  /external/chromium/third_party/icu/source/tools/genuca/
genuca.cpp 51 sizeof(UDataInfo),
67 sizeof(UDataInfo),
72 sizeof(UChar),
87 sizeof(UDataInfo),
92 sizeof(UChar),
193 memcpy(stringContinue+sContPos, element->cPoints, element->cSize*sizeof(UChar));
208 uint32_t amountToMove = (inversePos - position+1)*sizeof(inverseTable[0]);
221 memcpy(stringContinue+sContPos, element->cPoints, element->cSize*sizeof(UChar));
238 memcpy(stringContinue+sContPos, element->cPoints, element->cSize*sizeof(UChar));
247 memcpy(stringContinue+contIndex+contSize+element->cSize+1, stringContinue+contIndex+contSize, (element->cSize+1)*sizeof(UChar))
    [all...]
  /external/icu4c/tools/genuca/
genuca.cpp 51 sizeof(UDataInfo),
67 sizeof(UDataInfo),
72 sizeof(UChar),
87 sizeof(UDataInfo),
92 sizeof(UChar),
193 memcpy(stringContinue+sContPos, element->cPoints, element->cSize*sizeof(UChar));
208 uint32_t amountToMove = (inversePos - position+1)*sizeof(inverseTable[0]);
221 memcpy(stringContinue+sContPos, element->cPoints, element->cSize*sizeof(UChar));
238 memcpy(stringContinue+sContPos, element->cPoints, element->cSize*sizeof(UChar));
247 memcpy(stringContinue+contIndex+contSize+element->cSize+1, stringContinue+contIndex+contSize, (element->cSize+1)*sizeof(UChar))
    [all...]
  /external/bison/src/
lalr.c 84 goto_map = xcalloc (nvars + 1, sizeof *goto_map);
85 temp_map = xnmalloc (nvars + 1, sizeof *temp_map);
119 from_state = xcalloc (ngotos, sizeof *from_state);
120 to_state = xcalloc (ngotos, sizeof *to_state);
172 goto_number **reads = xnmalloc (ngotos, sizeof *reads);
173 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge);
200 reads[i] = xnmalloc (nedges + 1, sizeof reads[i][0]);
201 memcpy (reads[i], edge, nedges * sizeof edge[0]);
221 goto_list *sp = xmalloc (sizeof *sp);
232 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/include/
SDL_stdinc.h 76 #define SDL_arraysize(array) (sizeof(array)/sizeof(array[0]))
109 SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);
110 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
111 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
112 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
113 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
114 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
115 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
116 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8)
    [all...]
  /external/quake/quake/src/QW/client/
r_sprite.c 83 for (i=0 ; i<nump ; i++, instep += sizeof (vec5_t) / sizeof (float))
90 Q_memcpy (instep, in, sizeof (vec5_t));
97 for (i=0 ; i<nump ; i++, instep += sizeof (vec5_t) / sizeof (float))
101 Q_memcpy (outstep, instep, sizeof (vec5_t));
102 outstep += sizeof (vec5_t) / sizeof (float);
115 vert2 = instep + sizeof (vec5_t) / sizeof (float)
    [all...]
gl_model.c 51 memset (mod_novis, 0xff, sizeof(mod_novis));
266 buf = (unsigned *)COM_LoadStackFile (mod->name, stackbuf, sizeof(stackbuf));
358 loadmodel->textures = Hunk_AllocName (m->nummiptex * sizeof(*loadmodel->textures) , loadname);
374 tx = Hunk_AllocName (sizeof(texture_t) +pixels, loadname );
377 memcpy (tx->name, mt->name, sizeof(tx->name));
381 tx->offsets[j] = mt->offsets[j] + sizeof(texture_t) - sizeof(miptex_t);
408 memset (anims, 0, sizeof(anims));
409 memset (altanims, 0, sizeof(altanims));
553 if (l->filelen % sizeof(*in)
    [all...]
  /external/quake/quake/src/WinQuake/
r_sprite.cpp 83 for (i=0 ; i<nump ; i++, instep += sizeof (vec5_t) / sizeof (float))
90 Q_memcpy (instep, in, sizeof (vec5_t));
97 for (i=0 ; i<nump ; i++, instep += sizeof (vec5_t) / sizeof (float))
101 Q_memcpy (outstep, instep, sizeof (vec5_t));
102 outstep += sizeof (vec5_t) / sizeof (float);
115 vert2 = instep + sizeof (vec5_t) / sizeof (float);
    [all...]
gl_model.cpp 51 memset (mod_novis, 0xff, sizeof(mod_novis));
266 buf = (unsigned *)COM_LoadStackFile (mod->name, stackbuf, sizeof(stackbuf));
277 COM_FileBase (mod->name, loadname, sizeof(loadname));
358 loadmodel->textures = (texture_t**) Hunk_AllocName (m->nummiptex * sizeof(*loadmodel->textures) , loadname);
374 tx = (texture_t*) Hunk_AllocName (sizeof(texture_t) +pixels, loadname );
377 memcpy (tx->name, mt->name, sizeof(tx->name));
381 tx->offsets[j] = mt->offsets[j] + sizeof(texture_t) - sizeof(miptex_t);
408 memset (anims, 0, sizeof(anims));
409 memset (altanims, 0, sizeof(altanims))
    [all...]
  /external/wpa_supplicant/
ctrl_iface_udp.c 65 dst = os_zalloc(sizeof(*dst));
68 os_memcpy(&dst->addr, from, sizeof(struct sockaddr_in));
160 socklen_t fromlen = sizeof(from);
166 res = recvfrom(sock, buf, sizeof(buf) - 1, 0,
276 priv = os_zalloc(sizeof(*priv));
292 os_memset(&addr, 0, sizeof(addr));
296 if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
359 os_snprintf(levelstr, sizeof(levelstr), "<%d>", level);
378 sizeof(dst->addr)) < 0) {
440 socklen_t fromlen = sizeof(from)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/
ctrl_iface_udp.c 65 dst = os_zalloc(sizeof(*dst));
68 os_memcpy(&dst->addr, from, sizeof(struct sockaddr_in));
160 socklen_t fromlen = sizeof(from);
166 res = recvfrom(sock, buf, sizeof(buf) - 1, 0,
276 priv = os_zalloc(sizeof(*priv));
292 os_memset(&addr, 0, sizeof(addr));
296 if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
359 os_snprintf(levelstr, sizeof(levelstr), "<%d>", level);
378 sizeof(dst->addr)) < 0) {
440 socklen_t fromlen = sizeof(from)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_psk.c 42 data = os_zalloc(sizeof(*data));
78 sizeof(*psk) + data->id_s_len,
87 psk = wpabuf_put(req, sizeof(*psk));
107 sizeof(*psk) + 4 + 16 + 1, EAP_CODE_REQUEST, id);
115 psk = wpabuf_put(req, sizeof(*psk));
138 os_memset(nonce, 0, sizeof(nonce));
145 if (aes_128_eax_encrypt(data->tek, nonce, sizeof(nonce),
208 if ((t == 1 && len < sizeof(struct eap_psk_hdr_2)) ||
209 (t == 3 && len < sizeof(struct eap_psk_hdr_4))) {
235 if (cpos == NULL || left < sizeof(*resp))
    [all...]
  /frameworks/base/media/libdrm/mobile1/src/objmng/
drm_rights_manager.c 293 if (DRM_FILE_FAILURE == DRM_file_read(handle, (uint8_t*)RoAmount, sizeof(int32_t))) {
299 DRM_file_setPosition(handle, sizeof(int32_t));
301 if (DRM_FILE_FAILURE == DRM_file_read(handle, (uint8_t*)Ro, (*RoAmount) * sizeof(T_DRM_Rights))) {
307 if (DRM_FILE_FAILURE == DRM_file_write(handle, (uint8_t*)RoAmount, sizeof(int32_t))) {
313 if (DRM_FILE_FAILURE == DRM_file_write(handle, (uint8_t*) Ro, (*RoAmount) * sizeof(T_DRM_Rights))) {
320 DRM_file_setPosition(handle, sizeof(int32_t) + (*RoAmount - 1) * sizeof(T_DRM_Rights));
322 if (DRM_FILE_FAILURE == DRM_file_read(handle, (uint8_t*)Ro, sizeof(T_DRM_Rights))) {
328 DRM_file_setPosition(handle, sizeof(int32_t) + (*RoAmount - 1) * sizeof(T_DRM_Rights))
    [all...]
  /hardware/broadcom/wlan/bcm4329/src/dhd/sys/
dhd_cdc.c 76 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t);
105 ret = dhd_bus_rxctl(dhd->bus, (uchar*)&prot->msg, len+sizeof(cdc_ioctl_t));
141 memset(msg, 0, sizeof(cdc_ioctl_t));
208 memset(msg, 0, sizeof(cdc_ioctl_t));
284 ioc->used = ret - sizeof(cdc_ioctl_t);
300 if (len >= (int)(slen + sizeof(int)))
301 bcopy(((char *)buf + slen), &val, sizeof(int));
431 if (!(cdc = (dhd_prot_t *)MALLOC(dhd->osh, sizeof(dhd_prot_t)))) {
436 if (!(cdc = (dhd_prot_t *)dhd_os_prealloc(DHD_PREALLOC_PROT, sizeof(dhd_prot_t)))) {
441 memset(cdc, 0, sizeof(dhd_prot_t))
    [all...]
  /hardware/ti/omap3/dspbridge/libbridge/
DSPProcessor.c 103 if (!DSP_ValidWritePtr(phProcessor, sizeof(DSP_HPROCESSOR))) {
169 if (!DSP_ValidWritePtr(puNumNodes, sizeof(UINT)) &&
170 !DSP_ValidWritePtr(puAllocated, sizeof(UINT)) &&
172 (sizeof(DSP_HNODE)*uNodeTabSize)))) {
186 !DSP_ValidWritePtr(puNumNodes, sizeof(UINT)) &&
187 !DSP_ValidWritePtr(puAllocated, sizeof(UINT)) &&
188 !DSP_ValidWritePtr(aNodeTab, sizeof(DSP_HNODE)*1)) {
310 sizeof(struct DSP_RESOURCEINFO))) {
312 sizeof(struct DSP_RESOURCEINFO)) {
361 sizeof(struct DSP_PROCESSORSTATE)))
    [all...]
  /packages/inputmethods/LatinIME/native/src/
dictionary.cpp 192 memmove((char*) mFrequencies + (insertAt + 1) * sizeof(mFrequencies[0]),
193 (char*) mFrequencies + insertAt * sizeof(mFrequencies[0]),
194 (mMaxWords - insertAt - 1) * sizeof(mFrequencies[0]));
196 memmove((char*) mOutputChars + (insertAt + 1) * mMaxWordLength * sizeof(short),
197 (char*) mOutputChars + (insertAt ) * mMaxWordLength * sizeof(short),
198 (mMaxWords - insertAt - 1) * sizeof(short) * mMaxWordLength);
232 memmove((char*) mBigramFreq + (insertAt + 1) * sizeof(mBigramFreq[0]),
233 (char*) mBigramFreq + insertAt * sizeof(mBigramFreq[0]),
234 (mMaxBigrams - insertAt - 1) * sizeof(mBigramFreq[0]));
236 memmove((char*) mBigramChars + (insertAt + 1) * mMaxWordLength * sizeof(short)
    [all...]
  /prebuilt/darwin-x86/sdl/include/SDL/
SDL_stdinc.h 76 #define SDL_arraysize(array) (sizeof(array)/sizeof(array[0]))
109 SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);
110 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
111 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
112 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
113 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
114 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
115 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
116 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8)
    [all...]
  /prebuilt/linux-x86/sdl/include/SDL/
SDL_stdinc.h 76 #define SDL_arraysize(array) (sizeof(array)/sizeof(array[0]))
109 SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);
110 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
111 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
112 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
113 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
114 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
115 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
116 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8)
    [all...]
  /prebuilt/windows/sdl/include/SDL/
SDL_stdinc.h 76 #define SDL_arraysize(array) (sizeof(array)/sizeof(array[0]))
109 SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);
110 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
111 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
112 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
113 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
114 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
115 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
116 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8)
    [all...]
  /external/icu4c/test/cintltst/
custrtrn.c 30 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
515 int32_t uSrcLen = sizeof(src16)/2;
529 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1));
568 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1));
611 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1));
643 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1));
    [all...]
  /frameworks/base/media/libstagefright/
OMXCodec.cpp 109 i < sizeof(kFactoryInfo) / sizeof(kFactoryInfo[0]); ++i) {
137 i < sizeof(kFactoryInfo) / sizeof(kFactoryInfo[0]); ++i) {
302 params->nSize = sizeof(T);
439 sizeof(kEncoderInfo) / sizeof(kEncoderInfo[0]),
444 sizeof(kDecoderInfo) / sizeof(kDecoderInfo[0]),
723 err = mOMX->setConfig(mNode, index, &enable, sizeof(enable))
    [all...]
  /build/tools/apriori/
rangesort.c 17 range_list_t *ranges = (range_list_t *)MALLOC(sizeof(range_list_t));
19 ranges->array = (range_t *)MALLOC(PARALLEL_ARRAY_SIZE*sizeof(range_t));
112 ranges->array_length*sizeof(range_t));
124 qsort(ranges->array, ranges->num_ranges, sizeof(range_t), range_cmp);
145 ranges->array, ranges->num_ranges, sizeof(range_t),
251 (contiguous_range_info_t *)MALLOC(sizeof(contiguous_range_info_t));
253 user->ranges = (range_t *)MALLOC(user->num_ranges * sizeof(range_t));
  /external/blktrace/
blkrawverify.c 54 #define N_TRACES (sizeof(traces) / sizeof(struct trace_info))
80 #define N_ACTS (sizeof(acts) / sizeof(struct act_info))
131 bit = malloc(sizeof(struct blk_io_trace)); \
148 struct blk_io_trace *bit = malloc(sizeof(struct blk_io_trace));
174 while ((n = fread(bit, sizeof(struct blk_io_trace), 1, ifp)) == 1) {
  /external/blktrace/btt/
seek.c 81 sbp = malloc(sizeof(struct seek_bkt));
170 mp->modes = malloc(sizeof(long long));
176 sizeof(long long));
210 struct seeki *sip = malloc(sizeof(struct seeki));
218 memset(&sip->root, 0, sizeof(sip->root));
223 memset(&sip->sps, 0, sizeof(sip->sps));
300 memset(mp, 0, sizeof(struct mode));

Completed in 898 milliseconds

<<51525354555657585960>>