/system/extras/tests/bionic/libc/other/ |
H A D | test_vfprintf_leak.c | 39 char temp[64]; local 43 snprintf( temp, sizeof(temp), "%g", n*0.647287623 );
|
/system/core/toolbox/ |
H A D | getprop.c | 12 char temp[PROP_VALUE_MAX + PROP_NAME_MAX + 16]; local 13 snprintf(temp, sizeof temp, "[%s]: [%s]", key, name); 14 strlist_append_dup(list, temp);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | blending.cpp | 32 component_t& temp, // incomming fragment / output 40 integer_t fragment(temp.reg, temp.h, temp.flags); 41 if (!(temp.flags & CORRUPTIBLE)) { 42 temp.reg = regs.obtain(); 43 temp.flags |= CORRUPTIBLE; 59 build_blendFOneMinusF(temp, factor, fragment, fogColor); 64 component_t& temp, // incomming fragment / output 77 if (!temp 31 build_fog( component_t& temp, int component, Scratch& regs) argument 63 build_blending( component_t& temp, const pixel_t& pixel, int component, Scratch& regs) argument [all...] |
H A D | texturing.cpp | 910 int temp = scratches.obtain(); local 934 UXTB16(AL, temp, pixel, 0); 940 MUL(AL, 0, dh, temp, u); 941 UXTB16(AL, temp, pixel, 8); 942 MUL(AL, 0, dl, temp, u); 951 UXTB16(AL, temp, pixellb, 0); 956 MLA(AL, 0, dh, temp, u, dh); 957 UXTB16(AL, temp, pixellb, 8); 958 MLA(AL, 0, dl, temp, u, dl); 969 UXTB16(AL, temp, pixe 1009 int temp = scratches.obtain(); local [all...] |
H A D | GGLAssembler.h | 413 component_t& temp, 467 void build_fog( component_t& temp, 483 void build_blendFOneMinusF( component_t& temp, 488 void build_blendOneMinusFF( component_t& temp,
|
H A D | GGLAssembler.cpp | 467 component_t temp(-1); 468 build_incoming_component( temp, dst_component_size, 474 build_blending( temp, mDstPixel, component, scratches ); 477 downshift(pixel, component, temp, parts.dither); 482 component_t& temp, 597 temp = fragment; 604 temp = component_t(parts.iterated, component); 610 temp = component_t(parts.texel[i], component); 1020 // register 1 has a traditional use as a temp). 481 build_incoming_component( component_t& temp, int dst_size, const fragment_parts_t& parts, int component, Scratch& scratches, Scratch& global_regs) argument
|
H A D | MIPSAssembler.cpp | 567 // move them to dedicated temp regs. This is ugly, and inefficient, 1285 // works with strings of limited size (makes a temp copy) 1290 char temp[100]; local 1291 char *t = temp; 1307 strcpy(os, temp);
|
/system/core/libcutils/ |
H A D | fs.c | 110 char temp[PATH_MAX]; local 111 if (snprintf(temp, PATH_MAX, "%s.XXXXXX", path) >= PATH_MAX) { 116 int fd = TEMP_FAILURE_RETRY(mkstemp(temp)); 118 ALOGE("Failed to open %s: %s", temp, strerror(errno)); 129 ALOGE("Failed to write %s: %s", temp, strerror(errno)); 133 ALOGE("Failed to close %s: %s", temp, strerror(errno)); 137 if (rename(temp, path) == -1) { 138 ALOGE("Failed to rename %s to %s: %s", temp, path, strerror(errno)); 147 unlink(temp);
|
H A D | properties.c | 320 char temp[256]; local 321 snprintf( temp, sizeof(temp), "%s=%s", ename, value); 322 putenv(temp);
|
/system/core/adb/ |
H A D | usb_vendors.c | 250 char temp[PATH_MAX]; local 251 if (get_adb_usb_ini(temp, sizeof(temp)) == 0) { 252 FILE * f = fopen(temp, "rt"); 257 while (fgets(temp, sizeof(temp), f) != NULL) { 258 if (temp[0] == '#') 261 long value = strtol(temp, NULL, 0);
|
H A D | adb.c | 917 char temp[ MAX_PATH ]; local 921 GetTempPath( sizeof(temp) - 8, temp ); 922 strcat( temp, "adb.log" ); 929 flog = fopen( temp, "at" ); 1109 char temp[3]; local 1112 ret = ReadFile( pipe_read, temp, 3, &count, NULL ); 1118 if (count != 3 || temp[0] != 'O' || temp[1] != 'K' || temp[ [all...] |
H A D | jdwp_service.c | 244 char temp[5]; local 267 memcpy(temp, proc->in_buff, 4); 268 temp[4] = 0; 270 if (sscanf( temp, "%04x", &proc->pid ) != 1) { 271 D("could not decode JDWP %p PID number: '%s'\n", proc, temp);
|
/system/core/libnetutils/ |
H A D | packet.c | 96 uint16_t temp; local 121 temp = htons(IPPROTO_UDP); 122 udpsum = checksum(&temp, sizeof(temp), udpsum); 123 temp = udp.len; 124 udpsum = checksum(&temp, sizeof(temp), udpsum); 167 uint16_t temp; local 229 temp = packet.udp.check; 232 packet.udp.check = temp; [all...] |
/system/media/audio_utils/ |
H A D | primitives.c | 84 int32_t temp = *src++; local 85 dst[0] = temp; 86 dst[1] = temp;
|
H A D | tinysndfile.c | 29 uint8_t *temp; // realloc buffer used for shrinking 16 bits to 8 bits and byte-swapping member in struct:SNDFILE_ 72 handle->temp = NULL; 299 handle->temp = NULL; 328 free(handle->temp); 356 void *temp = NULL; local 359 temp = malloc(desiredBytes); 360 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream); 375 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels); 376 free(temp); 379 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrame [all...] |
/system/extras/tests/bionic/libc/common/ |
H A D | test_libgen.c | 12 char temp[256], *input = _input; local 17 strcpy(temp, _input); 18 input = temp; 128 char temp[256], *input = _input; local 133 strcpy(temp, _input); 134 input = temp;
|
/system/core/libutils/ |
H A D | VectorImpl.cpp | 173 void* temp = 0; local 180 if (!temp) { 184 temp = malloc(mItemSize); 185 if (!temp) return NO_MEMORY; 189 _do_destroy(temp, 1); 192 _do_copy(temp, item, 1); 202 } while (j>=0 && (cmp(curr, temp, state) > 0)); 205 _do_copy(next, temp, 1); 210 if (temp) { 211 _do_destroy(temp, [all...] |
/system/core/libpixelflinger/ |
H A D | fixed.cpp | 115 GGLfixed temp = bit + (r<<1); local 116 if (bshift >= 8) temp <<= (bshift-8); 117 else temp >>= (8-bshift); 118 if (a >= temp) { 120 a -= temp;
|
/system/core/sh/ |
H A D | output.c | 291 char temp[TEMPSIZE]; 407 p = temp + TEMPSIZE - 1; 413 len = (temp + TEMPSIZE - 1) - p;
|
H A D | expand.c | 1520 char temp[32]; local 1522 char *p = temp + 31; 1524 temp[31] = '\0';
|
/system/extras/showslab/ |
H A D | showslab.c | 163 struct slab_info *temp = list->next; local 165 list = temp;
|