Lines Matching refs:strlen

952         level_conf->max_level = atoi(buf + strlen(OPT_CHARGE_ANIM_LEVEL_CONF));
959 level_conf->num = atoi(buf + strlen(OPT_CHARGE_ANIM_LEVEL_NUM));
969 level_conf->delay = atoi(buf + strlen(OPT_CHARGE_ANIM_DELAY));
973 snprintf(level_conf->prefix, sizeof(level_conf->prefix), "%s", buf + strlen(OPT_CHARGE_ANIM_LEVEL_PFX));
1010 char *line = (char *)memchr(buf + pos, '\n', strlen(buf + pos));
1016 pos += (strlen(buf + pos) + 1);
1030 buf += (strlen(buf) + 1);
1033 if (!memcmp(arg, OPT_CHARGE_ANIM_LEVEL_CONF, strlen(OPT_CHARGE_ANIM_LEVEL_CONF))) {
1047 } else if (!memcmp(arg, OPT_CHARGE_ANIM_DELAY, strlen(OPT_CHARGE_ANIM_DELAY))) {
1048 delay = atoi(arg + strlen(OPT_CHARGE_ANIM_DELAY));
1050 } else if (!memcmp(arg, OPT_CHARGE_ANIM_LOOP_CUR, strlen(OPT_CHARGE_ANIM_LOOP_CUR))) {
1051 only_current_level = !memcmp(arg + strlen(OPT_CHARGE_ANIM_LOOP_CUR), "true", 0x04);
1053 } else if (!memcmp(arg, OPT_CHARGE_ANIM_LEVELS, strlen(OPT_CHARGE_ANIM_LEVELS))) {
1057 level_conf_num = atoi(arg + strlen(OPT_CHARGE_ANIM_LEVELS));
1179 } else if (!memcmp(OPT_IMAGE, arg, strlen(OPT_IMAGE))) {
1180 snprintf(image_path, sizeof(image_path), "%s", arg + strlen(OPT_IMAGE));
1181 } else if (!memcmp(OPT_ROOT, arg, strlen(OPT_ROOT))) {
1182 snprintf(root_path, sizeof(root_path), "%s", arg + strlen(OPT_ROOT));
1226 while ((pos = memchr(tmp, '/', strlen(tmp)))) {
1303 if (!strlen(unpack_dir)) {
1305 } else if (unpack_dir[strlen(unpack_dir) - 1] == '/') {
1306 unpack_dir[strlen(unpack_dir) - 1] = '\0';
1490 if (!strncmp(path, root_path, strlen(root_path))) {
1491 path += strlen(root_path);
1498 if (!strcmp(files[i] + strlen(files[i]) - strlen(DTD_SUBFIX), DTD_SUBFIX)) {
1532 if (!strcmp(files[i] + strlen(files[i]) - strlen(DTD_SUBFIX), DTD_SUBFIX)) {