/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 250 const char *valstr = NULL; local 268 if ((valstr = params.getPreviewFormat()) != NULL) { 269 if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))) { 270 mParameters.setPreviewFormat(valstr); 278 valstr = params.get(TICameraParameters::KEY_VNF); 279 if ( valstr != NULL ) { 281 CAMHAL_LOGDB("VNF set %s", valstr); 284 CAMHAL_LOGEB("ERROR: Invalid VNF: %s", valstr); 289 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { 294 CAMHAL_LOGDB("VSTAB %s",valstr); 1434 const char *valstr = NULL; local 1840 const char *valstr = NULL; local 1943 const char *valstr = NULL; local 2023 const char *valstr = NULL; local 2058 const char *valstr = NULL; local 2474 const char *valstr = NULL; local 2659 const char * valstr = NULL; local [all...] |
CameraHal_Module.cpp | 645 const char *valstr = NULL; local 666 valstr = properties->get(android::CameraProperties::FACING_INDEX); 667 if(valstr != NULL) 669 if (strcmp(valstr, (const char *) android::TICameraParameters::FACING_FRONT) == 0) 673 else if (strcmp(valstr, (const char *) android::TICameraParameters::FACING_BACK) == 0) 679 valstr = properties->get(android::CameraProperties::ORIENTATION_INDEX); 680 if(valstr != NULL) 682 orientation = atoi(valstr);
|
/external/ppp/pppd/plugins/radius/ |
util.c | 33 void rc_str2tm (char *valstr, struct tm *tm) 40 if (strncmp (months[i], valstr, 3) == 0) 48 tm->tm_mday = atoi (&valstr[4]); 51 tm->tm_year = atoi (&valstr[7]) - 1900;
|
dict.c | 41 char valstr[AUTH_ID_LEN]; local 108 n = sscanf(buffer, "%s%s%s%s%s", dummystr, namestr, valstr, typestr, vendorstr); 136 if (!isdigit (*valstr)) 143 value = atoi (valstr); 212 namestr, valstr) != 4) 239 if (!isdigit (*valstr)) 246 value = atoi (valstr);
|
avpair.c | 526 char valstr[AUTH_ID_LEN]; local 578 rc_fieldcpy (valstr, &buffer); 600 strcpy (pair->strvalue, valstr); 601 pair->lvalue = strlen(valstr); 605 if (isdigit (*valstr)) 607 pair->lvalue = atoi (valstr); 611 if ((dval = rc_dict_findval (valstr)) 614 error("rc_avpair_parse: unknown attribute value: %s", valstr); 630 pair->lvalue = rc_get_ipaddr(valstr); 639 rc_str2tm (valstr, tm) [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
miniopt.c | 60 char *p, *eq, *valstr, *endptr = NULL; local 67 t->valstr = NULL; 69 valstr = NULL; 91 valstr = p; 106 valstr = eq + 1; 107 if (*valstr == '\0') { 127 valstr = NULL; 135 valstr = *argv; 141 valstr = p; 144 /* parse valstr as int just in case * [all...] |
dhdu.c | 629 fprintf(stderr, "invalid integer %s\n", opts.valstr); 660 if (!strcmp(opts.valstr, "send")) 662 else if (!strcmp(opts.valstr, "echo")) 664 else if (!strcmp(opts.valstr, "burst")) 666 else if (!strcmp(opts.valstr, "recv")) 670 opts.valstr); 676 fprintf(stderr, "option parsing error (key %s valstr %s)\n", 677 opts.key, opts.valstr); [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXAlgo.cpp | 40 const char *valstr = NULL; local 47 if ( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL ) 49 if (strcmp(valstr, (const char *) TICameraParameters::HIGH_PERFORMANCE_MODE) == 0) 53 else if (strcmp(valstr, (const char *) TICameraParameters::HIGH_QUALITY_MODE) == 0) 57 else if (strcmp(valstr, (const char *) TICameraParameters::HIGH_QUALITY_ZSL_MODE) == 0) 61 else if (strcmp(valstr, (const char *) TICameraParameters::VIDEO_MODE) == 0) 89 if ( (valstr = params.get(TICameraParameters::KEY_IPP)) != NULL ) 91 if (strcmp(valstr, (const char *) TICameraParameters::IPP_LDCNSF) == 0) 95 else if (strcmp(valstr, (const char *) TICameraParameters::IPP_LDC) == 0) 99 else if (strcmp(valstr, (const char *) TICameraParameters::IPP_NSF) == 0 640 const char* valstr = NULL; local [all...] |
OMXExif.cpp | 38 const char *valstr = NULL; local 43 if( ( valstr = params.get(CameraParameters::KEY_GPS_LATITUDE) ) != NULL ) 45 gpsPos = strtod(valstr, NULL); 75 if( ( valstr = params.get(CameraParameters::KEY_GPS_LONGITUDE) ) != NULL ) 77 gpsPos = strtod(valstr, NULL); 107 if( ( valstr = params.get(CameraParameters::KEY_GPS_ALTITUDE) ) != NULL ) 109 gpsPos = strtod(valstr, NULL); 123 if( (valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP)) != NULL ) 125 long gpsTimestamp = strtol(valstr, NULL, 10); 144 if( ( valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP) ) != NULL [all...] |
OMXCapture.cpp | 42 const char *valstr = NULL; local 66 if ((valstr = params.getPictureFormat()) != NULL) { 67 if (strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { 71 } else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { 75 } else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) { 79 } else if (strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_JPEG) == 0) { 84 } else if (strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_JPS) == 0) { 89 } else if (strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_MPO) == 0) { 94 } else if (strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_RAW) == 0) { 112 valstr = params.get(TICameraParameters::KEY_CAP_MODE) [all...] |
OMXCameraAdapter.cpp | 425 const char *valstr = NULL; local 433 if ( (valstr = params.getPreviewFormat()) != NULL ) 435 if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 || 436 strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420P) == 0 || 437 strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) 442 else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) 540 valstr = params.get(TICameraParameters::KEY_RECORDING_HINT); 541 if (!valstr || (valstr && (strcmp(valstr, CameraParameters::FALSE)))) 640 const char *valstr = NULL; local 3085 const char *valstr = NULL; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
leb128_test.c | 78 char *valstr = yasm__xstrdup(test->input); local 79 yasm_intnum *intn = yasm_intnum_create_hex(valstr); 84 yasm_xfree(valstr); 128 char *valstr = yasm__xstrdup(test->input); local 129 yasm_intnum *intn = yasm_intnum_create_hex(valstr); 133 yasm_xfree(valstr);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
miniopt.h | 52 char* valstr; /* positional param, or value for the option, member in struct:miniopt 56 uint uval; /* strtol translation of valstr */ 57 int val; /* strtol translation of valstr */
|
/external/qemu/android/utils/ |
ini.c | 434 const char* valStr = iniFile_getValue(f, key); 437 if (!valStr) 438 valStr = defaultValue; 440 if (valStr != NULL) { 443 value = strtoll(valStr, &end, 10); 457 const char* valStr = iniFile_getValue(f, key); 460 if (valStr != NULL) { 464 d = strtoll(valStr, &end, 10);
|
/device/generic/goldfish/camera/ |
EmulatedCamera.cpp | 220 const char* valstr = NULL; local 222 valstr = mParameters.get(EmulatedCamera::FACING_KEY); 223 if (valstr != NULL) { 224 if (strcmp(valstr, EmulatedCamera::FACING_FRONT) == 0) { 227 else if (strcmp(valstr, EmulatedCamera::FACING_BACK) == 0) { 234 valstr = mParameters.get(EmulatedCamera::ORIENTATION_KEY); 235 if (valstr != NULL) { 236 info->orientation = atoi(valstr); [all...] |
/external/iputils/Modules/ |
pg3.c | 553 char name[16], valstr[32]; local 641 char *v = valstr; 644 len = strn_len(&buffer[i], sizeof(valstr)-1); 645 memset(valstr, 0, sizeof(valstr)); 646 strncpy(valstr, &buffer[i], len);
|
/external/svox/pico/lib/ |
picotok.c | 679 picoos_uchar valStr[VAL_STR_LEN]; 799 tok_getParamStrVal(tok->markupParams, KWProsDomain, (picoos_uchar*)valStr, & paramFound); 801 tok_putItem(this, tok, PICODATA_ITEM_CMD, PICODATA_ITEMINFO1_CMD_PROSDOMAIN, 2, 0, valStr); 811 tok_getParamStrVal(tok->markupParams, KWProsDomain, (picoos_uchar*)valStr, & paramFound); 813 tok_putItem(this, tok, PICODATA_ITEM_CMD, PICODATA_ITEMINFO1_CMD_PROSDOMAIN, 1, 0, valStr); [all...] |
/external/valgrind/main/coregrind/ |
m_libcproc.c | 116 Char *valstr = VG_(arena_malloc)(VG_AR_CORE, "libcproc.es.1", local 120 VG_(sprintf)(valstr, "%s=%s", varname, val); 124 *cpp = valstr; 131 env[0] = valstr; 143 *cpp++ = valstr;
|
/external/chromium_org/third_party/libxml/src/ |
xmlregexp.c | 355 static int xmlRegStrEqualWildcard(const xmlChar *expStr, const xmlChar *valStr); [all...] |
/external/libxml2/ |
xmlregexp.c | 355 static int xmlRegStrEqualWildcard(const xmlChar *expStr, const xmlChar *valStr); [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
gflags.cc | 1313 const char* const valstr = getenv(varname); local [all...] |
/external/open-vcdiff/gflags/src/ |
gflags.cc | 1313 const char* const valstr = getenv(varname); local [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 687 SmallString<64> ValStr; 697 ValStr += Record[i++]; 701 B.addAttribute(KindStr.str(), ValStr.str()); [all...] |
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/tests/pass64/ |
dwarf64_leb128.asm | [all...] |